Package com.google.cloud.storage
Class Storage.UpdateHmacKeyOption
java.lang.Object
com.google.cloud.storage.Option<com.google.cloud.storage.UnifiedOpts.HmacKeyTargetOpt>
com.google.cloud.storage.Storage.UpdateHmacKeyOption
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Storage
public static class Storage.UpdateHmacKeyOption
extends Option<com.google.cloud.storage.UnifiedOpts.HmacKeyTargetOpt>
Class for specifying updateHmacKey options
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Storage.UpdateHmacKeyOption[]Deduplicate any options which are the same parameter.static Storage.UpdateHmacKeyOption[]dedupe(Storage.UpdateHmacKeyOption[] array, Storage.UpdateHmacKeyOption... os) Deduplicate any options which are the same parameter.static Storage.UpdateHmacKeyOption[]dedupe(Collection<Storage.UpdateHmacKeyOption> collection, Storage.UpdateHmacKeyOption... os) Deduplicate any options which are the same parameter.booleanDeprecated.inthashCode()Deprecated.toString()Deprecated.static Storage.UpdateHmacKeyOptionuserProject(@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.UpdateHmacKeyOption userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request. Required for Requester Pays buckets. -
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.UpdateHmacKeyOption[] dedupe(Collection<Storage.UpdateHmacKeyOption> collection, Storage.UpdateHmacKeyOption... 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.UpdateHmacKeyOption[] dedupe(Storage.UpdateHmacKeyOption[] array, Storage.UpdateHmacKeyOption... 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.
-