| 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 |
Network.Google.Resource.Storage.Projects.HmacKeys.Get
Description
Retrieves an HMAC key's metadata
See: Cloud Storage JSON API Reference for storage.projects.hmacKeys.get.
Synopsis
- type ProjectsHmacKeysGetResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (Capture "accessId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] HmacKeyMetadata))))))
- projectsHmacKeysGet :: Text -> Text -> ProjectsHmacKeysGet
- data ProjectsHmacKeysGet
- phkgProjectId :: Lens' ProjectsHmacKeysGet Text
- phkgAccessId :: Lens' ProjectsHmacKeysGet Text
REST Resource
type ProjectsHmacKeysGetResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (Capture "accessId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] HmacKeyMetadata)))))) Source #
A resource alias for storage.projects.hmacKeys.get method which the
ProjectsHmacKeysGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ProjectsHmacKeysGet |
Creates a value of ProjectsHmacKeysGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsHmacKeysGet Source #
Retrieves an HMAC key's metadata
See: projectsHmacKeysGet smart constructor.
Instances
Request Lenses
phkgProjectId :: Lens' ProjectsHmacKeysGet Text Source #
Project ID owning the service account of the requested key.
phkgAccessId :: Lens' ProjectsHmacKeysGet Text Source #
Name of the HMAC key.