public class Iam.Projects.ServiceAccounts.Keys
extends java.lang.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(java.lang.String name,
CreateServiceAccountKeyRequest content)
Creates a ServiceAccountKey and returns it.
|
Iam.Projects.ServiceAccounts.Keys.Delete |
delete(java.lang.String name)
Deletes a ServiceAccountKey.
|
Iam.Projects.ServiceAccounts.Keys.Get |
get(java.lang.String name)
Gets the ServiceAccountKey by key id.
|
Iam.Projects.ServiceAccounts.Keys.List |
list(java.lang.String name)
Lists ServiceAccountKeys.
|
Iam.Projects.ServiceAccounts.Keys.Upload |
upload(java.lang.String name,
UploadServiceAccountKeyRequest content)
Upload public key for a given service account.
|
public Iam.Projects.ServiceAccounts.Keys.Create create(java.lang.String name, CreateServiceAccountKeyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. 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 CreateServiceAccountKeyRequest
java.io.IOException
public Iam.Projects.ServiceAccounts.Keys.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. 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.java.io.IOException
public Iam.Projects.ServiceAccounts.Keys.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. 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.java.io.IOException
public Iam.Projects.ServiceAccounts.Keys.List list(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. 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.java.io.IOException
public Iam.Projects.ServiceAccounts.Keys.Upload upload(java.lang.String name, UploadServiceAccountKeyRequest content) throws java.io.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 UploadServiceAccountKeyRequest
java.io.IOException