Class EncryptionSpec (1.20.0)

  EncryptionSpec 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Represents a customer-managed encryption key spec that can be applied to a top-level resource.

Attribute

Name Description
kms_key_name str
Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key . The key needs to be in the same region as where the compute resource is created.

Inheritance

builtins.object > proto.message.Message > EncryptionSpec