Uses of Class
com.google.cloud.storage.ServiceAccount
Packages that use ServiceAccount
-
Uses of ServiceAccount in com.google.cloud.storage
Methods in com.google.cloud.storage that return ServiceAccountModifier and TypeMethodDescriptionHmacKey.HmacKeyMetadata.getServiceAccount()Returns the service account associated with this HMAC key.Storage.getServiceAccount(String projectId) Returns the service account associated with the given project.static ServiceAccountReturns aServiceAccountobject for the provided email.Methods in com.google.cloud.storage with parameters of type ServiceAccountModifier and TypeMethodDescriptionStorage.createHmacKey(ServiceAccount serviceAccount, Storage.CreateHmacKeyOption... options) Creates a new HMAC Key for the provided service account, including the secret key.HmacKey.HmacKeyMetadata.newBuilder(ServiceAccount serviceAccount) static HmacKey.HmacKeyMetadataHmacKey.HmacKeyMetadata.of(ServiceAccount serviceAccount, String accessId, String projectId) static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.serviceAccount(@NonNull ServiceAccount serviceAccount) Returns an option for the Service Account whose keys to list.HmacKey.HmacKeyMetadata.Builder.setServiceAccount(ServiceAccount serviceAccount)