v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138134216.7 KB
projects

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

put/projects/{projectId}/hmacKeys/{accessId}

Path parameters

projectIdstring required

Project ID owning the service account of the updated key.

accessIdstring required

Name of the HMAC key being updated.

Query parameters

userProjectstring

The project to be billed for this request.

Request body

accessIdstring

The ID of the HMAC Key.

etagstring

HTTP 1.1 Entity tag for the HMAC key.

idstring

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

kindstring

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

projectIdstring

Project ID owning the service account to which the key authenticates.

selfLinkstring

The link to this resource.

serviceAccountEmailstring

The email address of the key's associated service account.

statestring

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

timeCreatedstring date-time

The creation time of the HMAC key in RFC 3339 format.

updatedstring date-time

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

Response

Successful response