Class: Google::Apis::DataprocV1beta2::EncryptionConfig

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

Overview

Encryption settings for the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EncryptionConfig

Returns a new instance of EncryptionConfig



627
628
629
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 627

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

Instance Attribute Details

#gce_pd_kms_key_nameString

Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. Corresponds to the JSON property gcePdKmsKeyName

Returns:

  • (String)


625
626
627
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 625

def gce_pd_kms_key_name
  @gce_pd_kms_key_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 632

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