Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
ServiceAccount |
HmacKey.HmacKeyMetadata.getServiceAccount()
Returns the service account associated with this HMAC key.
|
ServiceAccount |
Storage.getServiceAccount(String projectId)
Returns the service account associated with the given project.
|
static ServiceAccount |
ServiceAccount.of(String email)
Returns a
ServiceAccount object for the provided email. |
Modifier and Type | Method and Description |
---|---|
HmacKey |
Storage.createHmacKey(ServiceAccount serviceAccount,
Storage.CreateHmacKeyOption... options)
Creates a new HMAC Key for the provided service account, including the secret key.
|
static HmacKey.HmacKeyMetadata.Builder |
HmacKey.HmacKeyMetadata.newBuilder(ServiceAccount serviceAccount) |
static HmacKey.HmacKeyMetadata |
HmacKey.HmacKeyMetadata.of(ServiceAccount serviceAccount,
String accessId,
String projectId) |
static Storage.ListHmacKeysOption |
Storage.ListHmacKeysOption.serviceAccount(ServiceAccount serviceAccount)
Returns an option for the Service Account whose keys to list.
|
HmacKey.HmacKeyMetadata.Builder |
HmacKey.HmacKeyMetadata.Builder.setServiceAccount(ServiceAccount serviceAccount) |
Copyright © 2019 Google LLC. All rights reserved.