v1

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

Create an EncryptionConfig.

post/v1/{+parent}/encryptionConfigs

Path parameters

parentstring required

Required. The location at which the EncryptionConfig is to be created.

Query parameters

encryptionConfigIdstring

Required. The ID of the EncryptionConfig to create. Currently, only a value of "default" is supported.

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