Class: Google::Apis::DataprocV1::EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::EncryptionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Encryption settings for the cluster.
Instance Attribute Summary collapse
-
#gce_pd_kms_key_name ⇒ String
Optional.
-
#kms_key ⇒ 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.
1251 1252 1253 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gce_pd_kms_key_name ⇒ String
Optional. The Cloud KMS key name to use for PD disk encryption for all
instances in the cluster.
Corresponds to the JSON property gcePdKmsKeyName
1243 1244 1245 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1243 def gce_pd_kms_key_name @gce_pd_kms_key_name end |
#kms_key ⇒ String
Optional. The Cloud KMS key name to use for encrypting customer core content
in spanner and cluster PD disk for all instances in the cluster.
Corresponds to the JSON property kmsKey
1249 1250 1251 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1249 def kms_key @kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1256 1257 1258 1259 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1256 def update!(**args) @gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name) @kms_key = args[:kms_key] if args.key?(:kms_key) end |