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.



351
352
353
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 351

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)


349
350
351
# File 'lib/google/apis/datafusion_v1beta1/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_v1beta1/classes.rb', line 356

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