Class Storage.DeleteHmacKeyOption (2.29.0)

public static class Storage.DeleteHmacKeyOption extends Option<UnifiedOpts.HmacKeyTargetOpt>

Class for specifying deleteHmacKey options

Inheritance

java.lang.Object > com.google.cloud.storage.UnifiedOpts.OptionShim > Option > Storage.DeleteHmacKeyOption

Static Methods

dedupe(Storage.DeleteHmacKeyOption[] os)

public static Storage.DeleteHmacKeyOption[] dedupe(Storage.DeleteHmacKeyOption[] os)

Deduplicate any options which are the same parameter. The value which comes last in os will be the value included in the return.

Parameter
NameDescription
osDeleteHmacKeyOption[]
Returns
TypeDescription
DeleteHmacKeyOption[]

dedupe(Storage.DeleteHmacKeyOption[] array, Storage.DeleteHmacKeyOption[] os)

public static Storage.DeleteHmacKeyOption[] dedupe(Storage.DeleteHmacKeyOption[] array, Storage.DeleteHmacKeyOption[] os)

Deduplicate any options which are the same parameter.

The value which comes last in collection and os will be the value included in the return. All options from os will override their counterparts in collection.

Parameters
NameDescription
arrayDeleteHmacKeyOption[]
osDeleteHmacKeyOption[]
Returns
TypeDescription
DeleteHmacKeyOption[]

dedupe(Collection<Storage.DeleteHmacKeyOption> collection, Storage.DeleteHmacKeyOption[] os)

public static Storage.DeleteHmacKeyOption[] dedupe(Collection<Storage.DeleteHmacKeyOption> collection, Storage.DeleteHmacKeyOption[] os)

Deduplicate any options which are the same parameter.

The value which comes last in collection and os will be the value included in the return. All options from os will override their counterparts in collection.

Parameters
NameDescription
collectionCollection<DeleteHmacKeyOption>
osDeleteHmacKeyOption[]
Returns
TypeDescription
DeleteHmacKeyOption[]

userProject(@NonNull String userProject)

public static Storage.DeleteHmacKeyOption userProject(@NonNull String userProject)

Returns an option to specify the project to be billed for this request. Required for Requester Pays buckets.

Parameter
NameDescription
userProject@org.checkerframework.checker.nullness.qual.NonNull java.lang.String
Returns
TypeDescription
Storage.DeleteHmacKeyOption