Class: Google::Apis::ComposerV1beta1::EncryptionConfig

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

Overview

The encryption options for the Composer environment and its dependencies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncryptionConfig

Returns a new instance of EncryptionConfig.



145
146
147
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 145

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)


143
144
145
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 143

def kms_key_name
  @kms_key_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



150
151
152
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 150

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