Class: Google::Apis::MetastoreV1::EncryptionConfig

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

Overview

Encryption settings for the service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncryptionConfig

Returns a new instance of EncryptionConfig.



442
443
444
# File 'lib/google/apis/metastore_v1/classes.rb', line 442

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

Instance Attribute Details

#kms_keyString

The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/project_number/locations/ location_id/keyRings/key_ring_id/cryptoKeys/crypto_key_id. Corresponds to the JSON property kmsKey

Returns:

  • (String)


440
441
442
# File 'lib/google/apis/metastore_v1/classes.rb', line 440

def kms_key
  @kms_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



447
448
449
# File 'lib/google/apis/metastore_v1/classes.rb', line 447

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