public class Storage.Projects.HmacKeys extends 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(String projectId,
String serviceAccountEmail)
Creates a new HMAC key for the specified service account.
|
Storage.Projects.HmacKeys.Delete |
delete(String projectId,
String accessId)
Deletes an HMAC key.
|
Storage.Projects.HmacKeys.Get |
get(String projectId,
String accessId)
Retrieves an HMAC key's metadata
Create a request for the method "hmacKeys.get".
|
Storage.Projects.HmacKeys.List |
list(String projectId)
Retrieves a list of HMAC keys matching the criteria.
|
Storage.Projects.HmacKeys.Update |
update(String projectId,
String accessId,
HmacKeyMetadata content)
Updates the state of an HMAC key.
|
public Storage.Projects.HmacKeys.Create create(String projectId, String serviceAccountEmail) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the service account.serviceAccountEmail - Email address of the service account.IOExceptionpublic Storage.Projects.HmacKeys.Delete delete(String projectId, String accessId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Project ID owning the requested keyaccessId - Name of the HMAC key to be deleted.IOExceptionpublic Storage.Projects.HmacKeys.Get get(String projectId, String accessId) throws 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.IOExceptionpublic Storage.Projects.HmacKeys.List list(String projectId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Name of the project in which to look for HMAC keys.IOExceptionpublic Storage.Projects.HmacKeys.Update update(String projectId, String accessId, HmacKeyMetadata content) throws 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 HmacKeyMetadataIOExceptionCopyright © 2011–2025 Google. All rights reserved.