Class Storage.UpdateHmacKeyOption (2.18.0)

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
Name Description
userProject @org.checkerframework.checker.nullness.qual.NonNull java.lang.String
Returns
Type Description
Storage.UpdateHmacKeyOption