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 encrypting workflow template job arguments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig

Returns a new instance of GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig.



3310
3311
3312
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3310

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

Instance Attribute Details

#kms_keyString

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.When this this key is provided, the following workflow template job arguments (https://cloud.google.com/dataproc/docs/concepts/workflows/use- workflows#adding_jobs_to_a_template), if present, are CMEK encrypted (https:// cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed- encryption#use_cmek_with_workflow_template_data): FlinkJob args (https://cloud. google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https:// cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args ( https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/ PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/ v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud. google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/ rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud. google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries Corresponds to the JSON property kmsKey

Returns:

  • (String)


3308
3309
3310
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3308

def kms_key
  @kms_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3315
3316
3317
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3315

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