Class: Google::Apis::ComposerV1beta1::EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::EncryptionConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/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
-
#kms_key_name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionConfig
constructor
A new instance of EncryptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionConfig
Returns a new instance of EncryptionConfig.
471 472 473 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
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
469 470 471 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 469 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
476 477 478 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 476 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |