- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch
Update a CryptoKeyVersion
's metadata.
state
may be changed between ENABLED
and DISABLED
using this method. See cryptoKeyVersions.destroy
and cryptoKeyVersions.restore
to move between other states.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
crypto |
Output only. The resource name for this |
Query parameters
Parameters | |
---|---|
update |
Required. List of fields to be updated in this request. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of CryptoKeyVersion
.
Response body
If successful, the response body contains an instance of CryptoKeyVersion
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudkms
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.