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 list of HMAC keys matching the criteria.
See: Cloud Storage JSON API Reference for storage.projects.hmacKeys.list
.
Synopsis
- type ProjectsHmacKeysListResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (QueryParam "showDeletedKeys" Bool :> (QueryParam "serviceAccountEmail" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] HmacKeysMetadata)))))))))
- projectsHmacKeysList :: Text -> ProjectsHmacKeysList
- data ProjectsHmacKeysList
- phklShowDeletedKeys :: Lens' ProjectsHmacKeysList (Maybe Bool)
- phklServiceAccountEmail :: Lens' ProjectsHmacKeysList (Maybe Text)
- phklPageToken :: Lens' ProjectsHmacKeysList (Maybe Text)
- phklProjectId :: Lens' ProjectsHmacKeysList Text
- phklMaxResults :: Lens' ProjectsHmacKeysList Word32
REST Resource
type ProjectsHmacKeysListResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (QueryParam "showDeletedKeys" Bool :> (QueryParam "serviceAccountEmail" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] HmacKeysMetadata))))))))) Source #
A resource alias for storage.projects.hmacKeys.list
method which the
ProjectsHmacKeysList
request conforms to.
Creating a Request
Creates a value of ProjectsHmacKeysList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsHmacKeysList Source #
Retrieves a list of HMAC keys matching the criteria.
See: projectsHmacKeysList
smart constructor.
Instances
Request Lenses
phklShowDeletedKeys :: Lens' ProjectsHmacKeysList (Maybe Bool) Source #
Whether or not to show keys in the DELETED state.
phklServiceAccountEmail :: Lens' ProjectsHmacKeysList (Maybe Text) Source #
If present, only keys for the given service account are returned.
phklPageToken :: Lens' ProjectsHmacKeysList (Maybe Text) Source #
A previously-returned page token representing part of the larger set of results to view.
phklProjectId :: Lens' ProjectsHmacKeysList Text Source #
Name of the project in which to look for HMAC keys.
phklMaxResults :: Lens' ProjectsHmacKeysList Word32 Source #
Maximum number of items plus prefixes to return in a single page of responses. Because duplicate prefixes are omitted, fewer total results may be returned than requested. The service uses this parameter or 1,000 items, whichever is smaller.