public class Storage.Projects.HmacKeys
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Storage.Projects.HmacKeys.Create |
class |
Storage.Projects.HmacKeys.Delete |
class |
Storage.Projects.HmacKeys.Get |
class |
Storage.Projects.HmacKeys.List |
class |
Storage.Projects.HmacKeys.Update |
| Constructor and Description |
|---|
HmacKeys() |
| Modifier and Type | Method and Description |
|---|---|
Storage.Projects.HmacKeys.Create |
create(java.lang.String projectId,
java.lang.String serviceAccountEmail)
Creates a new HMAC key for the specified service account.
|
Storage.Projects.HmacKeys.Delete |
delete(java.lang.String projectId,
java.lang.String accessId)
Deletes an HMAC key.
|
Storage.Projects.HmacKeys.Get |
get(java.lang.String projectId,
java.lang.String accessId)
Retrieves an HMAC key's metadata
Create a request for the method "hmacKeys.get".
|
Storage.Projects.HmacKeys.List |
list(java.lang.String projectId)
Retrieves a list of HMAC keys matching the criteria.
|
Storage.Projects.HmacKeys.Update |
update(java.lang.String projectId,
java.lang.String accessId,
HmacKeyMetadata content)
Updates the state of an HMAC key.
|
public Storage.Projects.HmacKeys.Create create(java.lang.String projectId, java.lang.String serviceAccountEmail) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the service account.serviceAccountEmail - Email address of the service account.java.io.IOExceptionpublic Storage.Projects.HmacKeys.Delete delete(java.lang.String projectId, java.lang.String accessId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the requested keyaccessId - Name of the HMAC key to be deleted.java.io.IOExceptionpublic Storage.Projects.HmacKeys.Get get(java.lang.String projectId, java.lang.String accessId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the service account of the requested key.accessId - Name of the HMAC key.java.io.IOExceptionpublic Storage.Projects.HmacKeys.List list(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Name of the project in which to look for HMAC keys.java.io.IOExceptionpublic Storage.Projects.HmacKeys.Update update(java.lang.String projectId, java.lang.String accessId, HmacKeyMetadata content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the service account of the updated key.accessId - Name of the HMAC key being updated.content - the HmacKeyMetadatajava.io.IOException