Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder.
See: Cloud Resource Manager API Reference for cloudresourcemanager.folders.get
.
Synopsis
- type FoldersGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Folder)))))))
- foldersGet :: Text -> FoldersGet
- data FoldersGet
- fgXgafv :: Lens' FoldersGet (Maybe Xgafv)
- fgUploadProtocol :: Lens' FoldersGet (Maybe Text)
- fgAccessToken :: Lens' FoldersGet (Maybe Text)
- fgUploadType :: Lens' FoldersGet (Maybe Text)
- fgName :: Lens' FoldersGet Text
- fgCallback :: Lens' FoldersGet (Maybe Text)
REST Resource
type FoldersGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Folder))))))) Source #
A resource alias for cloudresourcemanager.folders.get
method which the
FoldersGet
request conforms to.
Creating a Request
:: Text | |
-> FoldersGet |
Creates a value of FoldersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersGet Source #
Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder.
See: foldersGet
smart constructor.
Instances
Request Lenses
fgUploadProtocol :: Lens' FoldersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fgAccessToken :: Lens' FoldersGet (Maybe Text) Source #
OAuth access token.
fgUploadType :: Lens' FoldersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fgName :: Lens' FoldersGet Text Source #
The resource name of the Folder to retrieve. Must be of the form `folders/{folder_id}`.
fgCallback :: Lens' FoldersGet (Maybe Text) Source #
JSONP