Class: Google::Apis::TpuV2alpha1::CustomerEncryptionKey
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::CustomerEncryptionKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
Customer's encryption key.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
The name of the encryption key that is stored in Google Cloud KMS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerEncryptionKey
constructor
A new instance of CustomerEncryptionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerEncryptionKey
Returns a new instance of CustomerEncryptionKey.
218 219 220 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
The name of the encryption key that is stored in Google Cloud KMS. For example:
"kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
cryptoKeys/key The fully-qualifed key name may be returned for resource GET
requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
Corresponds to the JSON property kmsKeyName
216 217 218 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 216 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 223 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |