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 |
Lists ServiceAccountKeys.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.keys.list
.
Synopsis
- type ProjectsServiceAccountsKeysListResource = "v1" :> (Capture "name" Text :> ("keys" :> (QueryParams "keyTypes" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListServiceAccountKeysResponse)))))))))
- projectsServiceAccountsKeysList :: Text -> ProjectsServiceAccountsKeysList
- data ProjectsServiceAccountsKeysList
- psaklKeyTypes :: Lens' ProjectsServiceAccountsKeysList [Text]
- psaklXgafv :: Lens' ProjectsServiceAccountsKeysList (Maybe Xgafv)
- psaklUploadProtocol :: Lens' ProjectsServiceAccountsKeysList (Maybe Text)
- psaklAccessToken :: Lens' ProjectsServiceAccountsKeysList (Maybe Text)
- psaklUploadType :: Lens' ProjectsServiceAccountsKeysList (Maybe Text)
- psaklName :: Lens' ProjectsServiceAccountsKeysList Text
- psaklCallback :: Lens' ProjectsServiceAccountsKeysList (Maybe Text)
REST Resource
type ProjectsServiceAccountsKeysListResource = "v1" :> (Capture "name" Text :> ("keys" :> (QueryParams "keyTypes" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListServiceAccountKeysResponse))))))))) Source #
A resource alias for iam.projects.serviceAccounts.keys.list
method which the
ProjectsServiceAccountsKeysList
request conforms to.
Creating a Request
projectsServiceAccountsKeysList Source #
Creates a value of ProjectsServiceAccountsKeysList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsKeysList Source #
Lists ServiceAccountKeys.
See: projectsServiceAccountsKeysList
smart constructor.
Instances
Request Lenses
psaklKeyTypes :: Lens' ProjectsServiceAccountsKeysList [Text] Source #
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
psaklXgafv :: Lens' ProjectsServiceAccountsKeysList (Maybe Xgafv) Source #
V1 error format.
psaklUploadProtocol :: Lens' ProjectsServiceAccountsKeysList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psaklAccessToken :: Lens' ProjectsServiceAccountsKeysList (Maybe Text) Source #
OAuth access token.
psaklUploadType :: Lens' ProjectsServiceAccountsKeysList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psaklName :: Lens' ProjectsServiceAccountsKeysList Text Source #
The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.