v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1372300401.5 KB
organizations

Update an EncryptionConfig.

patch/v1/{+name}

Path parameters

namestring required

Identifier. The resource name of the EncryptionConfig. Format: organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config} Global location is not supported.

Query parameters

updateMaskstring

Optional. Mask of fields to update. The service treats an omitted field mask as an implied field mask equivalent to all fields that are populated (have a non-empty value).

validateOnlyboolean

Optional. Only validate the request, but do not perform mutations. The default is false.

deleteMissingAspectsboolean

Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.

updateMaskstring

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request.

Request body

encryptionState'ENCRYPTION_STATE_UNSPECIFIED' | 'ENCRYPTING' | 'COMPLETED' | 'FAILED'

Output only. The state of encryption of the databases.

keystring

Optional. If a key is chosen, it means that the customer is using CMEK. If a key is not chosen, it means that the customer is using Google managed encryption.

namestring

Identifier. The resource name of the EncryptionConfig. Format: organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config} Global location is not supported.

etagstring

Etag of the EncryptionConfig. This is a strong etag.

enableMetastoreEncryptionboolean

Optional. Represent the state of CMEK opt-in for metastore.

updateTimestring google-datetime

Output only. The time when the Encryption configuration was last updated.

createTimestring google-datetime

Output only. The time when the Encryption configuration was created.

Response

Successful response