Update

Updates the state of an HMAC key

13 variables
10 variables

Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • Manage your data and permissions in Google Cloud Storage

Input

This building block consumes 13 input parameters

  = Parameter name
  = Format

projectId STRING Required

Project ID owning the service account of the updated key

accessId STRING Required

Name of the HMAC key being updated

userProject STRING

The project to be billed for this request

accessId STRING

The ID of the HMAC Key

etag STRING

HTTP 1.1 Entity tag for the HMAC key

id STRING

The ID of the HMAC key, including the Project ID and the Access ID

kind STRING

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata

projectId STRING

Project ID owning the service account to which the key authenticates

selfLink STRING

The link to this resource

serviceAccountEmail STRING

The email address of the key's associated service account

state STRING

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED

timeCreated DATE_TIME

The creation time of the HMAC key in RFC 3339 format

updated DATE_TIME

The last modification time of the HMAC key metadata in RFC 3339 format

Output

This building block provides 10 output parameters

  = Parameter name
  = Format

accessId STRING

The ID of the HMAC Key

etag STRING

HTTP 1.1 Entity tag for the HMAC key

id STRING

The ID of the HMAC key, including the Project ID and the Access ID

kind STRING

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata

projectId STRING

Project ID owning the service account to which the key authenticates

selfLink STRING

The link to this resource

serviceAccountEmail STRING

The email address of the key's associated service account

state STRING

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED

timeCreated DATE_TIME

The creation time of the HMAC key in RFC 3339 format

updated DATE_TIME

The last modification time of the HMAC key metadata in RFC 3339 format