Class: Google::Cloud::Dataproc::V1::WorkflowTemplate
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::WorkflowTemplate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/workflow_templates.rb
Overview
A Dataproc workflow template resource.
Defined Under Namespace
Classes: EncryptionConfig, LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#dag_timeout ⇒ ::Google::Protobuf::Duration
Optional.
-
#encryption_config ⇒ ::Google::Cloud::Dataproc::V1::WorkflowTemplate::EncryptionConfig
Optional.
- #id ⇒ ::String
-
#jobs ⇒ ::Array<::Google::Cloud::Dataproc::V1::OrderedJob>
Required.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#parameters ⇒ ::Array<::Google::Cloud::Dataproc::V1::TemplateParameter>
Optional.
-
#placement ⇒ ::Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement
Required.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#version ⇒ ::Integer
Optional.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time template was created.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#dag_timeout ⇒ ::Google::Protobuf::Duration
Returns Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration). The timeout duration must be from 10 minutes ("600s") to 24 hours ("86400s"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#encryption_config ⇒ ::Google::Cloud::Dataproc::V1::WorkflowTemplate::EncryptionConfig
Returns Optional. Encryption settings for encrypting workflow template job arguments.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#id ⇒ ::String
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#jobs ⇒ ::Array<::Google::Cloud::Dataproc::V1::OrderedJob>
Returns Required. The Directed Acyclic Graph of Jobs to submit.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.
Label keys must contain 1 to 63 characters, and must conform to RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035.
No more than 32 labels can be associated with a template.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.
For
projects.regions.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For
projects.locations.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parameters ⇒ ::Array<::Google::Cloud::Dataproc::V1::TemplateParameter>
Returns Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#placement ⇒ ::Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement
Returns Required. WorkflowTemplate scheduling information.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time template was last updated.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#version ⇒ ::Integer
Returns Optional. Used to perform a consistent read-modify-write.
This field should be left blank for a CreateWorkflowTemplate
request. It
is required for an UpdateWorkflowTemplate
request, and must match the
current server version. A typical update template flow would fetch the
current template with a GetWorkflowTemplate
request, which will return
the current template with the version
field filled in with the
current server version. The user updates other fields in the template,
then returns it as part of the UpdateWorkflowTemplate
request.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 97 class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption settings for encrypting workflow template job arguments. # @!attribute [rw] kms_key # @return [::String] # 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 class EncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |