Class Storage.UpdateHmacKeyOption (2.22.5)

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

Class for specifying updateHmacKey options

Inheritance

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

Static Methods

userProject(@NonNull String userProject)

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.

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