Class: Google::Apis::DatafusionV1beta1::CryptoKeyConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/representations.rb

Overview

The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CryptoKeyConfig

Returns a new instance of CryptoKeyConfig.



247
248
249
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 247

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#key_referenceString

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

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 245

def key_reference
  @key_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 252

def update!(**args)
  @key_reference = args[:key_reference] if args.key?(:key_reference)
end