Package com.google.cloud.storage
Class Storage.GetHmacKeyOption
java.lang.Object
com.google.cloud.storage.Option<com.google.cloud.storage.UnifiedOpts.HmacKeySourceOpt>
com.google.cloud.storage.Storage.GetHmacKeyOption
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Storage
public static class Storage.GetHmacKeyOption
extends Option<com.google.cloud.storage.UnifiedOpts.HmacKeySourceOpt>
Class for specifying getHmacKey options
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Storage.GetHmacKeyOption[]dedupe(Storage.GetHmacKeyOption... os) Deduplicate any options which are the same parameter.static Storage.GetHmacKeyOption[]dedupe(Storage.GetHmacKeyOption[] array, Storage.GetHmacKeyOption... os) Deduplicate any options which are the same parameter.static Storage.GetHmacKeyOption[]dedupe(Collection<Storage.GetHmacKeyOption> collection, Storage.GetHmacKeyOption... os) Deduplicate any options which are the same parameter.booleanDeprecated.inthashCode()Deprecated.static Storage.GetHmacKeyOptionReturns an option to specify the Project ID for this request.toString()Deprecated.static Storage.GetHmacKeyOptionuserProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.
-
Method Details
-
userProject
@TransportCompatibility({HTTP,GRPC}) public static Storage.GetHmacKeyOption userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request. Required for Requester Pays buckets. -
projectId
@TransportCompatibility({HTTP,GRPC}) public static Storage.GetHmacKeyOption projectId(@NonNull String projectId) Returns an option to specify the Project ID for this request. If not specified, defaults to Application Default Credentials. -
dedupe
Deduplicate any options which are the same parameter. The value which comes last inoswill be the value included in the return. -
dedupe
public static Storage.GetHmacKeyOption[] dedupe(Collection<Storage.GetHmacKeyOption> collection, Storage.GetHmacKeyOption... os) Deduplicate any options which are the same parameter.The value which comes last in
collectionandoswill be the value included in the return. All options fromoswill override their counterparts incollection. -
dedupe
public static Storage.GetHmacKeyOption[] dedupe(Storage.GetHmacKeyOption[] array, Storage.GetHmacKeyOption... os) Deduplicate any options which are the same parameter.The value which comes last in
collectionandoswill be the value included in the return. All options fromoswill override their counterparts incollection. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-