Class: Google::Apis::DatafusionV1::CryptoKeyConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1::CryptoKeyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb
Overview
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Instance Attribute Summary collapse
-
#key_reference ⇒ String
The name of the key which is used to encrypt/decrypt customer data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CryptoKeyConfig
constructor
A new instance of CryptoKeyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CryptoKeyConfig
Returns a new instance of CryptoKeyConfig.
351 352 353 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_reference ⇒ String
The name of the key which is used to encrypt/decrypt customer data. For key in
Cloud KMS, the key should be in the format of projects/*/locations/*/keyRings/
*/cryptoKeys/*
.
Corresponds to the JSON property keyReference
349 350 351 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 349 def key_reference @key_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
356 357 358 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 356 def update!(**args) @key_reference = args[:key_reference] if args.key?(:key_reference) end |