Class: Google::Apis::DataprocV1::GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig

Inherits:
Object
  • Object
show all
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 encrypting customer core content. NEXT ID: 2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig

Returns a new instance of GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig.



1959
1960
1961
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1959

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

Instance Attribute Details

#kms_keyString

Optional. The Cloud KMS key name to use for encrypting customer core content. Corresponds to the JSON property kmsKey

Returns:

  • (String)


1957
1958
1959
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1957

def kms_key
  @kms_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1964
1965
1966
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1964

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