REST Resource: projects.locations.cmekConfigs

Resource: CmekConfig

Configurations used to enable CMEK data encryption with Cloud KMS keys.

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "kmsKey" 
 : 
 string 
 , 
 "kmsKeyVersion" 
 : 
 string 
 , 
 "state" 
 : 
 enum (  State 
 
) 
 , 
 "isDefault" 
 : 
 boolean 
 , 
 "lastRotationTimestampMicros" 
 : 
 string 
 , 
 "singleRegionKeys" 
 : 
 [ 
 { 
 object (  SingleRegionKey 
 
) 
 } 
 ] 
 , 
 "notebooklmState" 
 : 
 enum (  NotebookLMState 
 
) 
 } 
Fields
name

string

Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig or projects/{project}/locations/{location}/cmekConfigs/{cmekConfig} .

kmsKey

string

Required. KMS key resource name which will be used to encrypt resources projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId} .

kmsKeyVersion

string

Output only. KMS key version resource name which will be used to encrypt resources <kmsKey>/cryptoKeyVersions/{keyVersion} .

state

enum ( State )

Output only. The states of the CmekConfig.

isDefault

boolean

Output only. The default CmekConfig for the Customer.

lastRotationTimestampMicros

string ( int64 format)

Output only. The timestamp of the last key rotation.

singleRegionKeys[]

object ( SingleRegionKey )

Optional. Single-regional CMEKs that are required for some VAIS features.

notebooklmState

enum ( NotebookLMState )

Output only. Whether the NotebookLM Corpus is ready to be used.

State

States of the CmekConfig.

Enums
STATE_UNSPECIFIED The CmekConfig state is unknown.
CREATING The CmekConfig is creating.
ACTIVE The CmekConfig can be used with DataStores.
KEY_ISSUE The CmekConfig is unavailable, most likely due to the KMS Key being revoked.
DELETING The CmekConfig is deleting.
DELETE_FAILED The CmekConfig deletion process failed.
UNUSABLE The CmekConfig is not usable, most likely due to some internal issue.
ACTIVE_ROTATING The KMS key version is being rotated.
DELETED The KMS key is soft deleted. Some cleanup policy will eventually be applied.

SingleRegionKey

Metadata for single-regional CMEKs.

JSON representation
 { 
 "kmsKey" 
 : 
 string 
 } 
Fields
kmsKey

string

Required. Single-regional kms key resource name which will be used to encrypt resources projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId} .

NotebookLMState

States of NotebookLM.

Enums
NOTEBOOK_LM_STATE_UNSPECIFIED The NotebookLM state is unknown.
NOTEBOOK_LM_NOT_READY The NotebookLM is not ready.
NOTEBOOK_LM_READY The NotebookLM is ready to be used.
NOTEBOOK_LM_NOT_ENABLED The NotebookLM is not enabled.

Methods

delete

De-provisions a CmekConfig.

get

Gets the CmekConfig .

list

Lists all the CmekConfig s with the project.

patch

Provisions a CMEK key for use in a location of a customer's project.
Design a Mobile Site
View Site in Mobile | Classic
Share by: