Class Storage.GetHmacKeyOption (2.9.3)

public static class Storage.GetHmacKeyOption extends Option

Class for specifying getHmacKey options

Inheritance

Object > Option > Storage.GetHmacKeyOption

Static Methods

projectId(String projectId)

public static Storage.GetHmacKeyOption projectId(String projectId)

Returns an option to specify the Project ID for this request. If not specified, defaults to Application Default Credentials.

Parameter
Name Description
projectId String
Returns
Type Description
Storage.GetHmacKeyOption

userProject(String userProject)

public static Storage.GetHmacKeyOption userProject(String userProject)

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

Parameter
Name Description
userProject String
Returns
Type Description
Storage.GetHmacKeyOption