Class Storage.DeleteHmacKeyOption (2.28.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
Name Description
os DeleteHmacKeyOption[]
Returns
Type Description
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
Name Description
array DeleteHmacKeyOption[]
os DeleteHmacKeyOption[]
Returns
Type Description
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
Name Description
collection Collection<DeleteHmacKeyOption>
os DeleteHmacKeyOption[]
Returns
Type Description
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
Name Description
userProject @org.checkerframework.checker.nullness.qual.NonNull java.lang.String
Returns
Type Description
Storage.DeleteHmacKeyOption