google-cloud-dataproc-v1beta2 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/dataproc/v1beta2.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/client.rb +120 -120
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/paths.rb +10 -10
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +171 -171
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/job_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +177 -177
- data/lib/google/cloud/dataproc/v1beta2/job_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +172 -172
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/paths.rb +10 -10
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb +45 -45
- data/proto_docs/google/cloud/dataproc/v1beta2/clusters.rb +203 -203
- data/proto_docs/google/cloud/dataproc/v1beta2/jobs.rb +224 -224
- data/proto_docs/google/cloud/dataproc/v1beta2/operations.rb +20 -20
- data/proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb +145 -145
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -23,20 +23,20 @@ module Google
|
|
23
23
|
module V1beta2
|
24
24
|
# The status of the operation.
|
25
25
|
# @!attribute [rw] state
|
26
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterOperationStatus::State]
|
26
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterOperationStatus::State]
|
27
27
|
# Output only. A message containing the operation state.
|
28
28
|
# @!attribute [rw] inner_state
|
29
|
-
# @return [String]
|
29
|
+
# @return [::String]
|
30
30
|
# Output only. A message containing the detailed operation state.
|
31
31
|
# @!attribute [rw] details
|
32
|
-
# @return [String]
|
32
|
+
# @return [::String]
|
33
33
|
# Output only. A message containing any operation metadata details.
|
34
34
|
# @!attribute [rw] state_start_time
|
35
|
-
# @return [Google::Protobuf::Timestamp]
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
36
|
# Output only. The time this state was entered.
|
37
37
|
class ClusterOperationStatus
|
38
|
-
include Google::Protobuf::MessageExts
|
39
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
40
|
|
41
41
|
# The operation state.
|
42
42
|
module State
|
@@ -56,40 +56,40 @@ module Google
|
|
56
56
|
|
57
57
|
# Metadata describing the operation.
|
58
58
|
# @!attribute [rw] cluster_name
|
59
|
-
# @return [String]
|
59
|
+
# @return [::String]
|
60
60
|
# Output only. Name of the cluster for the operation.
|
61
61
|
# @!attribute [rw] cluster_uuid
|
62
|
-
# @return [String]
|
62
|
+
# @return [::String]
|
63
63
|
# Output only. Cluster UUID for the operation.
|
64
64
|
# @!attribute [rw] status
|
65
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterOperationStatus]
|
65
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterOperationStatus]
|
66
66
|
# Output only. Current operation status.
|
67
67
|
# @!attribute [rw] status_history
|
68
|
-
# @return [Array
|
68
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::ClusterOperationStatus>]
|
69
69
|
# Output only. The previous operation status.
|
70
70
|
# @!attribute [rw] operation_type
|
71
|
-
# @return [String]
|
71
|
+
# @return [::String]
|
72
72
|
# Output only. The operation type.
|
73
73
|
# @!attribute [rw] description
|
74
|
-
# @return [String]
|
74
|
+
# @return [::String]
|
75
75
|
# Output only. Short description of operation.
|
76
76
|
# @!attribute [rw] labels
|
77
|
-
# @return [Google::Protobuf::Map{String => String}]
|
77
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
78
78
|
# Output only. Labels associated with the operation
|
79
79
|
# @!attribute [rw] warnings
|
80
|
-
# @return [Array
|
80
|
+
# @return [::Array<::String>]
|
81
81
|
# Output only. Errors encountered during operation execution.
|
82
82
|
class ClusterOperationMetadata
|
83
|
-
include Google::Protobuf::MessageExts
|
84
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
85
|
|
86
86
|
# @!attribute [rw] key
|
87
|
-
# @return [String]
|
87
|
+
# @return [::String]
|
88
88
|
# @!attribute [rw] value
|
89
|
-
# @return [String]
|
89
|
+
# @return [::String]
|
90
90
|
class LabelsEntry
|
91
|
-
include Google::Protobuf::MessageExts
|
92
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
91
|
+
include ::Google::Protobuf::MessageExts
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
93
|
end
|
94
94
|
end
|
95
95
|
end
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
module V1beta2
|
24
24
|
# A Dataproc workflow template resource.
|
25
25
|
# @!attribute [rw] id
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. The template id.
|
28
28
|
#
|
29
29
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
#
|
33
33
|
# .
|
34
34
|
# @!attribute [r] name
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# Output only. The resource name of the workflow template, as described
|
37
37
|
# in https://cloud.google.com/apis/design/resource_names.
|
38
38
|
#
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# template has the following format:
|
45
45
|
# `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
|
46
46
|
# @!attribute [rw] version
|
47
|
-
# @return [Integer]
|
47
|
+
# @return [::Integer]
|
48
48
|
# Optional. Used to perform a consistent read-modify-write.
|
49
49
|
#
|
50
50
|
# This field should be left blank for a `CreateWorkflowTemplate` request. It
|
@@ -55,13 +55,13 @@ module Google
|
|
55
55
|
# current server version. The user updates other fields in the template,
|
56
56
|
# then returns it as part of the `UpdateWorkflowTemplate` request.
|
57
57
|
# @!attribute [r] create_time
|
58
|
-
# @return [Google::Protobuf::Timestamp]
|
58
|
+
# @return [::Google::Protobuf::Timestamp]
|
59
59
|
# Output only. The time template was created.
|
60
60
|
# @!attribute [r] update_time
|
61
|
-
# @return [Google::Protobuf::Timestamp]
|
61
|
+
# @return [::Google::Protobuf::Timestamp]
|
62
62
|
# Output only. The time template was last updated.
|
63
63
|
# @!attribute [rw] labels
|
64
|
-
# @return [Google::Protobuf::Map{String => String}]
|
64
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
65
65
|
# Optional. The labels to associate with this template. These labels
|
66
66
|
# will be propagated to all jobs and clusters created by the workflow
|
67
67
|
# instance.
|
@@ -75,27 +75,27 @@ module Google
|
|
75
75
|
#
|
76
76
|
# No more than 32 labels can be associated with a template.
|
77
77
|
# @!attribute [rw] placement
|
78
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowTemplatePlacement]
|
78
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowTemplatePlacement]
|
79
79
|
# Required. WorkflowTemplate scheduling information.
|
80
80
|
# @!attribute [rw] jobs
|
81
|
-
# @return [Array
|
81
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::OrderedJob>]
|
82
82
|
# Required. The Directed Acyclic Graph of Jobs to submit.
|
83
83
|
# @!attribute [rw] parameters
|
84
|
-
# @return [Array
|
84
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::TemplateParameter>]
|
85
85
|
# Optional. Template parameters whose values are substituted into the
|
86
86
|
# template. Values for parameters must be provided when the template is
|
87
87
|
# instantiated.
|
88
88
|
class WorkflowTemplate
|
89
|
-
include Google::Protobuf::MessageExts
|
90
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
include ::Google::Protobuf::MessageExts
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
91
|
|
92
92
|
# @!attribute [rw] key
|
93
|
-
# @return [String]
|
93
|
+
# @return [::String]
|
94
94
|
# @!attribute [rw] value
|
95
|
-
# @return [String]
|
95
|
+
# @return [::String]
|
96
96
|
class LabelsEntry
|
97
|
-
include Google::Protobuf::MessageExts
|
98
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
include ::Google::Protobuf::MessageExts
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
@@ -103,22 +103,22 @@ module Google
|
|
103
103
|
#
|
104
104
|
# Either `managed_cluster` or `cluster_selector` is required.
|
105
105
|
# @!attribute [rw] managed_cluster
|
106
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ManagedCluster]
|
106
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ManagedCluster]
|
107
107
|
# Optional. A cluster that is managed by the workflow.
|
108
108
|
# @!attribute [rw] cluster_selector
|
109
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterSelector]
|
109
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterSelector]
|
110
110
|
# Optional. A selector that chooses target cluster for jobs based
|
111
111
|
# on metadata.
|
112
112
|
#
|
113
113
|
# The selector is evaluated at the time each job is submitted.
|
114
114
|
class WorkflowTemplatePlacement
|
115
|
-
include Google::Protobuf::MessageExts
|
116
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
include ::Google::Protobuf::MessageExts
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
117
|
end
|
118
118
|
|
119
119
|
# Cluster that is managed by the workflow.
|
120
120
|
# @!attribute [rw] cluster_name
|
121
|
-
# @return [String]
|
121
|
+
# @return [::String]
|
122
122
|
# Required. The cluster name prefix. A unique cluster name will be formed by
|
123
123
|
# appending a random suffix.
|
124
124
|
#
|
@@ -126,10 +126,10 @@ module Google
|
|
126
126
|
# and hyphens (-). Must begin with a letter. Cannot begin or end with
|
127
127
|
# hyphen. Must consist of between 2 and 35 characters.
|
128
128
|
# @!attribute [rw] config
|
129
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterConfig]
|
129
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterConfig]
|
130
130
|
# Required. The cluster configuration.
|
131
131
|
# @!attribute [rw] labels
|
132
|
-
# @return [Google::Protobuf::Map{String => String}]
|
132
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
133
133
|
# Optional. The labels to associate with this cluster.
|
134
134
|
#
|
135
135
|
# Label keys must be between 1 and 63 characters long, and must conform to
|
@@ -141,79 +141,79 @@ module Google
|
|
141
141
|
#
|
142
142
|
# No more than 32 labels can be associated with a given cluster.
|
143
143
|
class ManagedCluster
|
144
|
-
include Google::Protobuf::MessageExts
|
145
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
146
|
|
147
147
|
# @!attribute [rw] key
|
148
|
-
# @return [String]
|
148
|
+
# @return [::String]
|
149
149
|
# @!attribute [rw] value
|
150
|
-
# @return [String]
|
150
|
+
# @return [::String]
|
151
151
|
class LabelsEntry
|
152
|
-
include Google::Protobuf::MessageExts
|
153
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
include ::Google::Protobuf::MessageExts
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
154
|
end
|
155
155
|
end
|
156
156
|
|
157
157
|
# A selector that chooses target cluster for jobs based on metadata.
|
158
158
|
# @!attribute [rw] zone
|
159
|
-
# @return [String]
|
159
|
+
# @return [::String]
|
160
160
|
# Optional. The zone where workflow process executes. This parameter does not
|
161
161
|
# affect the selection of the cluster.
|
162
162
|
#
|
163
163
|
# If unspecified, the zone of the first cluster matching the selector
|
164
164
|
# is used.
|
165
165
|
# @!attribute [rw] cluster_labels
|
166
|
-
# @return [Google::Protobuf::Map{String => String}]
|
166
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
167
167
|
# Required. The cluster labels. Cluster must have all labels
|
168
168
|
# to match.
|
169
169
|
class ClusterSelector
|
170
|
-
include Google::Protobuf::MessageExts
|
171
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
include ::Google::Protobuf::MessageExts
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
172
172
|
|
173
173
|
# @!attribute [rw] key
|
174
|
-
# @return [String]
|
174
|
+
# @return [::String]
|
175
175
|
# @!attribute [rw] value
|
176
|
-
# @return [String]
|
176
|
+
# @return [::String]
|
177
177
|
class ClusterLabelsEntry
|
178
|
-
include Google::Protobuf::MessageExts
|
179
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
183
|
# A job executed by the workflow.
|
184
184
|
# @!attribute [rw] step_id
|
185
|
-
# @return [String]
|
185
|
+
# @return [::String]
|
186
186
|
# Required. The step id. The id must be unique among all jobs
|
187
187
|
# within the template.
|
188
188
|
#
|
189
189
|
# The step id is used as prefix for job id, as job
|
190
190
|
# `goog-dataproc-workflow-step-id` label, and in
|
191
|
-
# {Google::Cloud::Dataproc::V1beta2::OrderedJob#prerequisite_step_ids prerequisiteStepIds} field from other
|
191
|
+
# {::Google::Cloud::Dataproc::V1beta2::OrderedJob#prerequisite_step_ids prerequisiteStepIds} field from other
|
192
192
|
# steps.
|
193
193
|
#
|
194
194
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
195
195
|
# underscores (_), and hyphens (-). Cannot begin or end with underscore
|
196
196
|
# or hyphen. Must consist of between 3 and 50 characters.
|
197
197
|
# @!attribute [rw] hadoop_job
|
198
|
-
# @return [Google::Cloud::Dataproc::V1beta2::HadoopJob]
|
198
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::HadoopJob]
|
199
199
|
# @!attribute [rw] spark_job
|
200
|
-
# @return [Google::Cloud::Dataproc::V1beta2::SparkJob]
|
200
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::SparkJob]
|
201
201
|
# @!attribute [rw] pyspark_job
|
202
|
-
# @return [Google::Cloud::Dataproc::V1beta2::PySparkJob]
|
202
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::PySparkJob]
|
203
203
|
# @!attribute [rw] hive_job
|
204
|
-
# @return [Google::Cloud::Dataproc::V1beta2::HiveJob]
|
204
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::HiveJob]
|
205
205
|
# @!attribute [rw] pig_job
|
206
|
-
# @return [Google::Cloud::Dataproc::V1beta2::PigJob]
|
206
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::PigJob]
|
207
207
|
# @!attribute [rw] spark_r_job
|
208
|
-
# @return [Google::Cloud::Dataproc::V1beta2::SparkRJob]
|
208
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::SparkRJob]
|
209
209
|
# Spark R job
|
210
210
|
# @!attribute [rw] spark_sql_job
|
211
|
-
# @return [Google::Cloud::Dataproc::V1beta2::SparkSqlJob]
|
211
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::SparkSqlJob]
|
212
212
|
# @!attribute [rw] presto_job
|
213
|
-
# @return [Google::Cloud::Dataproc::V1beta2::PrestoJob]
|
213
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::PrestoJob]
|
214
214
|
# Presto job
|
215
215
|
# @!attribute [rw] labels
|
216
|
-
# @return [Google::Protobuf::Map{String => String}]
|
216
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
217
217
|
# Optional. The labels to associate with this job.
|
218
218
|
#
|
219
219
|
# Label keys must be between 1 and 63 characters long, and must conform to
|
@@ -225,23 +225,23 @@ module Google
|
|
225
225
|
#
|
226
226
|
# No more than 32 labels can be associated with a given job.
|
227
227
|
# @!attribute [rw] scheduling
|
228
|
-
# @return [Google::Cloud::Dataproc::V1beta2::JobScheduling]
|
228
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::JobScheduling]
|
229
229
|
# Optional. Job scheduling configuration.
|
230
230
|
# @!attribute [rw] prerequisite_step_ids
|
231
|
-
# @return [Array
|
231
|
+
# @return [::Array<::String>]
|
232
232
|
# Optional. The optional list of prerequisite job step_ids.
|
233
233
|
# If not specified, the job will start at the beginning of workflow.
|
234
234
|
class OrderedJob
|
235
|
-
include Google::Protobuf::MessageExts
|
236
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
235
|
+
include ::Google::Protobuf::MessageExts
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
237
237
|
|
238
238
|
# @!attribute [rw] key
|
239
|
-
# @return [String]
|
239
|
+
# @return [::String]
|
240
240
|
# @!attribute [rw] value
|
241
|
-
# @return [String]
|
241
|
+
# @return [::String]
|
242
242
|
class LabelsEntry
|
243
|
-
include Google::Protobuf::MessageExts
|
244
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
245
|
end
|
246
246
|
end
|
247
247
|
|
@@ -255,7 +255,7 @@ module Google
|
|
255
255
|
# - Main class (in HadoopJob and SparkJob)
|
256
256
|
# - Zone (in ClusterSelector)
|
257
257
|
# @!attribute [rw] name
|
258
|
-
# @return [String]
|
258
|
+
# @return [::String]
|
259
259
|
# Required. Parameter name.
|
260
260
|
# The parameter name is used as the key, and paired with the
|
261
261
|
# parameter value, which are passed to the template when the template
|
@@ -264,12 +264,12 @@ module Google
|
|
264
264
|
# underscores (_), and must not start with a number. The maximum length is
|
265
265
|
# 40 characters.
|
266
266
|
# @!attribute [rw] fields
|
267
|
-
# @return [Array
|
267
|
+
# @return [::Array<::String>]
|
268
268
|
# Required. Paths to all fields that the parameter replaces.
|
269
269
|
# A field is allowed to appear in at most one parameter's list of field
|
270
270
|
# paths.
|
271
271
|
#
|
272
|
-
# A field path is similar in syntax to a {Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
272
|
+
# A field path is similar in syntax to a {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
273
273
|
# For example, a field path that references the zone field of a workflow
|
274
274
|
# template's cluster selector would be specified as
|
275
275
|
# `placement.clusterSelector.zone`.
|
@@ -310,52 +310,52 @@ module Google
|
|
310
310
|
# - placement.clusterSelector.clusterLabels
|
311
311
|
# - jobs['step-id'].sparkJob.args
|
312
312
|
# @!attribute [rw] description
|
313
|
-
# @return [String]
|
313
|
+
# @return [::String]
|
314
314
|
# Optional. Brief description of the parameter.
|
315
315
|
# Must not exceed 1024 characters.
|
316
316
|
# @!attribute [rw] validation
|
317
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ParameterValidation]
|
317
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ParameterValidation]
|
318
318
|
# Optional. Validation rules to be applied to this parameter's value.
|
319
319
|
class TemplateParameter
|
320
|
-
include Google::Protobuf::MessageExts
|
321
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
320
|
+
include ::Google::Protobuf::MessageExts
|
321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
322
|
end
|
323
323
|
|
324
324
|
# Configuration for parameter validation.
|
325
325
|
# @!attribute [rw] regex
|
326
|
-
# @return [Google::Cloud::Dataproc::V1beta2::RegexValidation]
|
326
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::RegexValidation]
|
327
327
|
# Validation based on regular expressions.
|
328
328
|
# @!attribute [rw] values
|
329
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ValueValidation]
|
329
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ValueValidation]
|
330
330
|
# Validation based on a list of allowed values.
|
331
331
|
class ParameterValidation
|
332
|
-
include Google::Protobuf::MessageExts
|
333
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
332
|
+
include ::Google::Protobuf::MessageExts
|
333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
334
334
|
end
|
335
335
|
|
336
336
|
# Validation based on regular expressions.
|
337
337
|
# @!attribute [rw] regexes
|
338
|
-
# @return [Array
|
338
|
+
# @return [::Array<::String>]
|
339
339
|
# Required. RE2 regular expressions used to validate the parameter's value.
|
340
340
|
# The value must match the regex in its entirety (substring
|
341
341
|
# matches are not sufficient).
|
342
342
|
class RegexValidation
|
343
|
-
include Google::Protobuf::MessageExts
|
344
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
343
|
+
include ::Google::Protobuf::MessageExts
|
344
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
345
345
|
end
|
346
346
|
|
347
347
|
# Validation based on a list of allowed values.
|
348
348
|
# @!attribute [rw] values
|
349
|
-
# @return [Array
|
349
|
+
# @return [::Array<::String>]
|
350
350
|
# Required. List of allowed values for the parameter.
|
351
351
|
class ValueValidation
|
352
|
-
include Google::Protobuf::MessageExts
|
353
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
352
|
+
include ::Google::Protobuf::MessageExts
|
353
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
354
354
|
end
|
355
355
|
|
356
356
|
# A Dataproc workflow template resource.
|
357
357
|
# @!attribute [r] template
|
358
|
-
# @return [String]
|
358
|
+
# @return [::String]
|
359
359
|
# Output only. The resource name of the workflow template as described
|
360
360
|
# in https://cloud.google.com/apis/design/resource_names.
|
361
361
|
#
|
@@ -367,47 +367,47 @@ module Google
|
|
367
367
|
# template has the following format:
|
368
368
|
# `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
|
369
369
|
# @!attribute [r] version
|
370
|
-
# @return [Integer]
|
370
|
+
# @return [::Integer]
|
371
371
|
# Output only. The version of template at the time of
|
372
372
|
# workflow instantiation.
|
373
373
|
# @!attribute [r] create_cluster
|
374
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterOperation]
|
374
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterOperation]
|
375
375
|
# Output only. The create cluster operation metadata.
|
376
376
|
# @!attribute [r] graph
|
377
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowGraph]
|
377
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowGraph]
|
378
378
|
# Output only. The workflow graph.
|
379
379
|
# @!attribute [r] delete_cluster
|
380
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterOperation]
|
380
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterOperation]
|
381
381
|
# Output only. The delete cluster operation metadata.
|
382
382
|
# @!attribute [r] state
|
383
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State]
|
383
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State]
|
384
384
|
# Output only. The workflow state.
|
385
385
|
# @!attribute [r] cluster_name
|
386
|
-
# @return [String]
|
386
|
+
# @return [::String]
|
387
387
|
# Output only. The name of the target cluster.
|
388
388
|
# @!attribute [rw] parameters
|
389
|
-
# @return [Google::Protobuf::Map{String => String}]
|
389
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
390
390
|
# Map from parameter names to values that were used for those parameters.
|
391
391
|
# @!attribute [r] start_time
|
392
|
-
# @return [Google::Protobuf::Timestamp]
|
392
|
+
# @return [::Google::Protobuf::Timestamp]
|
393
393
|
# Output only. Workflow start time.
|
394
394
|
# @!attribute [r] end_time
|
395
|
-
# @return [Google::Protobuf::Timestamp]
|
395
|
+
# @return [::Google::Protobuf::Timestamp]
|
396
396
|
# Output only. Workflow end time.
|
397
397
|
# @!attribute [r] cluster_uuid
|
398
|
-
# @return [String]
|
398
|
+
# @return [::String]
|
399
399
|
# Output only. The UUID of target cluster.
|
400
400
|
class WorkflowMetadata
|
401
|
-
include Google::Protobuf::MessageExts
|
402
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
401
|
+
include ::Google::Protobuf::MessageExts
|
402
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
403
403
|
|
404
404
|
# @!attribute [rw] key
|
405
|
-
# @return [String]
|
405
|
+
# @return [::String]
|
406
406
|
# @!attribute [rw] value
|
407
|
-
# @return [String]
|
407
|
+
# @return [::String]
|
408
408
|
class ParametersEntry
|
409
|
-
include Google::Protobuf::MessageExts
|
410
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
409
|
+
include ::Google::Protobuf::MessageExts
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
411
|
end
|
412
412
|
|
413
413
|
# The operation state.
|
@@ -428,47 +428,47 @@ module Google
|
|
428
428
|
|
429
429
|
# The cluster operation triggered by a workflow.
|
430
430
|
# @!attribute [r] operation_id
|
431
|
-
# @return [String]
|
431
|
+
# @return [::String]
|
432
432
|
# Output only. The id of the cluster operation.
|
433
433
|
# @!attribute [r] error
|
434
|
-
# @return [String]
|
434
|
+
# @return [::String]
|
435
435
|
# Output only. Error, if operation failed.
|
436
436
|
# @!attribute [r] done
|
437
|
-
# @return [Boolean]
|
437
|
+
# @return [::Boolean]
|
438
438
|
# Output only. Indicates the operation is done.
|
439
439
|
class ClusterOperation
|
440
|
-
include Google::Protobuf::MessageExts
|
441
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
440
|
+
include ::Google::Protobuf::MessageExts
|
441
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
442
442
|
end
|
443
443
|
|
444
444
|
# The workflow graph.
|
445
445
|
# @!attribute [r] nodes
|
446
|
-
# @return [Array
|
446
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::WorkflowNode>]
|
447
447
|
# Output only. The workflow nodes.
|
448
448
|
class WorkflowGraph
|
449
|
-
include Google::Protobuf::MessageExts
|
450
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
449
|
+
include ::Google::Protobuf::MessageExts
|
450
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
451
451
|
end
|
452
452
|
|
453
453
|
# The workflow node.
|
454
454
|
# @!attribute [r] step_id
|
455
|
-
# @return [String]
|
455
|
+
# @return [::String]
|
456
456
|
# Output only. The name of the node.
|
457
457
|
# @!attribute [r] prerequisite_step_ids
|
458
|
-
# @return [Array
|
458
|
+
# @return [::Array<::String>]
|
459
459
|
# Output only. Node's prerequisite nodes.
|
460
460
|
# @!attribute [r] job_id
|
461
|
-
# @return [String]
|
461
|
+
# @return [::String]
|
462
462
|
# Output only. The job id; populated after the node enters RUNNING state.
|
463
463
|
# @!attribute [r] state
|
464
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowNode::NodeState]
|
464
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowNode::NodeState]
|
465
465
|
# Output only. The node state.
|
466
466
|
# @!attribute [r] error
|
467
|
-
# @return [String]
|
467
|
+
# @return [::String]
|
468
468
|
# Output only. The error detail.
|
469
469
|
class WorkflowNode
|
470
|
-
include Google::Protobuf::MessageExts
|
471
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
470
|
+
include ::Google::Protobuf::MessageExts
|
471
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
472
472
|
|
473
473
|
# The workflow node state.
|
474
474
|
module NodeState
|
@@ -495,7 +495,7 @@ module Google
|
|
495
495
|
|
496
496
|
# A request to create a workflow template.
|
497
497
|
# @!attribute [rw] parent
|
498
|
-
# @return [String]
|
498
|
+
# @return [::String]
|
499
499
|
# Required. The resource name of the region or location, as described
|
500
500
|
# in https://cloud.google.com/apis/design/resource_names.
|
501
501
|
#
|
@@ -507,16 +507,16 @@ module Google
|
|
507
507
|
# the location has the following format:
|
508
508
|
# `projects/{project_id}/locations/{location}`
|
509
509
|
# @!attribute [rw] template
|
510
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
510
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
511
511
|
# Required. The Dataproc workflow template to create.
|
512
512
|
class CreateWorkflowTemplateRequest
|
513
|
-
include Google::Protobuf::MessageExts
|
514
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
513
|
+
include ::Google::Protobuf::MessageExts
|
514
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
515
515
|
end
|
516
516
|
|
517
517
|
# A request to fetch a workflow template.
|
518
518
|
# @!attribute [rw] name
|
519
|
-
# @return [String]
|
519
|
+
# @return [::String]
|
520
520
|
# Required. The resource name of the workflow template, as described
|
521
521
|
# in https://cloud.google.com/apis/design/resource_names.
|
522
522
|
#
|
@@ -528,19 +528,19 @@ module Google
|
|
528
528
|
# template has the following format:
|
529
529
|
# `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
|
530
530
|
# @!attribute [rw] version
|
531
|
-
# @return [Integer]
|
531
|
+
# @return [::Integer]
|
532
532
|
# Optional. The version of workflow template to retrieve. Only previously
|
533
533
|
# instantiated versions can be retrieved.
|
534
534
|
#
|
535
535
|
# If unspecified, retrieves the current version.
|
536
536
|
class GetWorkflowTemplateRequest
|
537
|
-
include Google::Protobuf::MessageExts
|
538
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
537
|
+
include ::Google::Protobuf::MessageExts
|
538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
539
539
|
end
|
540
540
|
|
541
541
|
# A request to instantiate a workflow template.
|
542
542
|
# @!attribute [rw] name
|
543
|
-
# @return [String]
|
543
|
+
# @return [::String]
|
544
544
|
# Required. The resource name of the workflow template, as described
|
545
545
|
# in https://cloud.google.com/apis/design/resource_names.
|
546
546
|
#
|
@@ -552,7 +552,7 @@ module Google
|
|
552
552
|
# of the template has the following format:
|
553
553
|
# `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
|
554
554
|
# @!attribute [rw] version
|
555
|
-
# @return [Integer]
|
555
|
+
# @return [::Integer]
|
556
556
|
# Optional. The version of workflow template to instantiate. If specified,
|
557
557
|
# the workflow will be instantiated only if the current version of
|
558
558
|
# the workflow template has the supplied version.
|
@@ -560,10 +560,10 @@ module Google
|
|
560
560
|
# This option cannot be used to instantiate a previous version of
|
561
561
|
# workflow template.
|
562
562
|
# @!attribute [rw] instance_id
|
563
|
-
# @return [String]
|
563
|
+
# @return [::String]
|
564
564
|
# Deprecated. Please use `request_id` field instead.
|
565
565
|
# @!attribute [rw] request_id
|
566
|
-
# @return [String]
|
566
|
+
# @return [::String]
|
567
567
|
# Optional. A tag that prevents multiple concurrent workflow
|
568
568
|
# instances with the same tag from running. This mitigates risk of
|
569
569
|
# concurrent instances started due to retries.
|
@@ -574,26 +574,26 @@ module Google
|
|
574
574
|
# The tag must contain only letters (a-z, A-Z), numbers (0-9),
|
575
575
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
576
576
|
# @!attribute [rw] parameters
|
577
|
-
# @return [Google::Protobuf::Map{String => String}]
|
577
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
578
578
|
# Optional. Map from parameter names to values that should be used for those
|
579
579
|
# parameters. Values may not exceed 100 characters.
|
580
580
|
class InstantiateWorkflowTemplateRequest
|
581
|
-
include Google::Protobuf::MessageExts
|
582
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
581
|
+
include ::Google::Protobuf::MessageExts
|
582
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
583
583
|
|
584
584
|
# @!attribute [rw] key
|
585
|
-
# @return [String]
|
585
|
+
# @return [::String]
|
586
586
|
# @!attribute [rw] value
|
587
|
-
# @return [String]
|
587
|
+
# @return [::String]
|
588
588
|
class ParametersEntry
|
589
|
-
include Google::Protobuf::MessageExts
|
590
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
589
|
+
include ::Google::Protobuf::MessageExts
|
590
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
591
591
|
end
|
592
592
|
end
|
593
593
|
|
594
594
|
# A request to instantiate an inline workflow template.
|
595
595
|
# @!attribute [rw] parent
|
596
|
-
# @return [String]
|
596
|
+
# @return [::String]
|
597
597
|
# Required. The resource name of the region or location, as described
|
598
598
|
# in https://cloud.google.com/apis/design/resource_names.
|
599
599
|
#
|
@@ -605,13 +605,13 @@ module Google
|
|
605
605
|
# resource name of the location has the following format:
|
606
606
|
# `projects/{project_id}/locations/{location}`
|
607
607
|
# @!attribute [rw] template
|
608
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
608
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
609
609
|
# Required. The workflow template to instantiate.
|
610
610
|
# @!attribute [rw] instance_id
|
611
|
-
# @return [String]
|
611
|
+
# @return [::String]
|
612
612
|
# Deprecated. Please use `request_id` field instead.
|
613
613
|
# @!attribute [rw] request_id
|
614
|
-
# @return [String]
|
614
|
+
# @return [::String]
|
615
615
|
# Optional. A tag that prevents multiple concurrent workflow
|
616
616
|
# instances with the same tag from running. This mitigates risk of
|
617
617
|
# concurrent instances started due to retries.
|
@@ -622,24 +622,24 @@ module Google
|
|
622
622
|
# The tag must contain only letters (a-z, A-Z), numbers (0-9),
|
623
623
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
624
624
|
class InstantiateInlineWorkflowTemplateRequest
|
625
|
-
include Google::Protobuf::MessageExts
|
626
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
625
|
+
include ::Google::Protobuf::MessageExts
|
626
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
627
627
|
end
|
628
628
|
|
629
629
|
# A request to update a workflow template.
|
630
630
|
# @!attribute [rw] template
|
631
|
-
# @return [Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
631
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate]
|
632
632
|
# Required. The updated workflow template.
|
633
633
|
#
|
634
634
|
# The `template.version` field must match the current version.
|
635
635
|
class UpdateWorkflowTemplateRequest
|
636
|
-
include Google::Protobuf::MessageExts
|
637
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
636
|
+
include ::Google::Protobuf::MessageExts
|
637
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
638
638
|
end
|
639
639
|
|
640
640
|
# A request to list workflow templates in a project.
|
641
641
|
# @!attribute [rw] parent
|
642
|
-
# @return [String]
|
642
|
+
# @return [::String]
|
643
643
|
# Required. The resource name of the region or location, as described
|
644
644
|
# in https://cloud.google.com/apis/design/resource_names.
|
645
645
|
#
|
@@ -651,36 +651,36 @@ module Google
|
|
651
651
|
# resource name of the location has the following format:
|
652
652
|
# `projects/{project_id}/locations/{location}`
|
653
653
|
# @!attribute [rw] page_size
|
654
|
-
# @return [Integer]
|
654
|
+
# @return [::Integer]
|
655
655
|
# Optional. The maximum number of results to return in each response.
|
656
656
|
# @!attribute [rw] page_token
|
657
|
-
# @return [String]
|
657
|
+
# @return [::String]
|
658
658
|
# Optional. The page token, returned by a previous call, to request the
|
659
659
|
# next page of results.
|
660
660
|
class ListWorkflowTemplatesRequest
|
661
|
-
include Google::Protobuf::MessageExts
|
662
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
661
|
+
include ::Google::Protobuf::MessageExts
|
662
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
663
663
|
end
|
664
664
|
|
665
665
|
# A response to a request to list workflow templates in a project.
|
666
666
|
# @!attribute [r] templates
|
667
|
-
# @return [Array
|
667
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate>]
|
668
668
|
# Output only. WorkflowTemplates list.
|
669
669
|
# @!attribute [r] next_page_token
|
670
|
-
# @return [String]
|
670
|
+
# @return [::String]
|
671
671
|
# Output only. This token is included in the response if there are more
|
672
672
|
# results to fetch. To fetch additional results, provide this value as the
|
673
673
|
# page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
|
674
674
|
class ListWorkflowTemplatesResponse
|
675
|
-
include Google::Protobuf::MessageExts
|
676
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
675
|
+
include ::Google::Protobuf::MessageExts
|
676
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
677
677
|
end
|
678
678
|
|
679
679
|
# A request to delete a workflow template.
|
680
680
|
#
|
681
681
|
# Currently started workflows will remain running.
|
682
682
|
# @!attribute [rw] name
|
683
|
-
# @return [String]
|
683
|
+
# @return [::String]
|
684
684
|
# Required. The resource name of the workflow template, as described
|
685
685
|
# in https://cloud.google.com/apis/design/resource_names.
|
686
686
|
#
|
@@ -692,13 +692,13 @@ module Google
|
|
692
692
|
# of the template has the following format:
|
693
693
|
# `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
|
694
694
|
# @!attribute [rw] version
|
695
|
-
# @return [Integer]
|
695
|
+
# @return [::Integer]
|
696
696
|
# Optional. The version of workflow template to delete. If specified,
|
697
697
|
# will only delete the template if the current server version matches
|
698
698
|
# specified version.
|
699
699
|
class DeleteWorkflowTemplateRequest
|
700
|
-
include Google::Protobuf::MessageExts
|
701
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
700
|
+
include ::Google::Protobuf::MessageExts
|
701
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
702
702
|
end
|
703
703
|
end
|
704
704
|
end
|