public class Iam.Projects.ServiceAccounts.Keys extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Iam.Projects.ServiceAccounts.Keys.Create |
class |
Iam.Projects.ServiceAccounts.Keys.Delete |
class |
Iam.Projects.ServiceAccounts.Keys.Get |
class |
Iam.Projects.ServiceAccounts.Keys.List |
class |
Iam.Projects.ServiceAccounts.Keys.Upload |
| Constructor and Description |
|---|
Keys() |
| Modifier and Type | Method and Description |
|---|---|
Iam.Projects.ServiceAccounts.Keys.Create |
create(String name,
CreateServiceAccountKeyRequest content)
Creates a ServiceAccountKey and returns it.
|
Iam.Projects.ServiceAccounts.Keys.Delete |
delete(String name)
Deletes a ServiceAccountKey.
|
Iam.Projects.ServiceAccounts.Keys.Get |
get(String name)
Gets the ServiceAccountKey by key id.
|
Iam.Projects.ServiceAccounts.Keys.List |
list(String name)
Lists ServiceAccountKeys.
|
Iam.Projects.ServiceAccounts.Keys.Upload |
upload(String name,
UploadServiceAccountKeyRequest content)
Upload public key for a given service account.
|
public Iam.Projects.ServiceAccounts.Keys.Create create(String name, CreateServiceAccountKeyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - 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.content - the CreateServiceAccountKeyRequestIOExceptionpublic Iam.Projects.ServiceAccounts.Keys.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the service account key in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
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.IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the service account key in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
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.IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.List list(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - 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.IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.Upload upload(String name, UploadServiceAccountKeyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - 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.content - the UploadServiceAccountKeyRequestIOExceptionCopyright © 2011–2019 Google. All rights reserved.