Class: Google::Apis::ComposerV1::EncryptionConfig

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

Overview

The encryption options for the Cloud Composer environment and its dependencies. Supported for Cloud Composer environments in versions composer-1..-airflow-. *..

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncryptionConfig

Returns a new instance of EncryptionConfig.



463
464
465
# File 'lib/google/apis/composer_v1/classes.rb', line 463

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

Instance Attribute Details

#kms_key_nameString

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. Corresponds to the JSON property kmsKeyName

Returns:

  • (String)


461
462
463
# File 'lib/google/apis/composer_v1/classes.rb', line 461

def kms_key_name
  @kms_key_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



468
469
470
# File 'lib/google/apis/composer_v1/classes.rb', line 468

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