google-cloud-dataproc-v1 0.6.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +3 -2
- data/lib/google/cloud/dataproc/v1/autoscaling_policies_services_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +106 -15
- data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +719 -0
- data/lib/google/cloud/dataproc/v1/batch_controller/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +767 -0
- data/lib/google/cloud/dataproc/v1/batch_controller/paths.rb +69 -0
- data/lib/google/cloud/dataproc/v1/batch_controller.rb +50 -0
- data/lib/google/cloud/dataproc/v1/batches_pb.rb +123 -0
- data/lib/google/cloud/dataproc/v1/batches_services_pb.rb +52 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +266 -49
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +115 -12
- data/lib/google/cloud/dataproc/v1/cluster_controller/paths.rb +0 -19
- data/lib/google/cloud/dataproc/v1/clusters_pb.rb +23 -10
- data/lib/google/cloud/dataproc/v1/clusters_services_pb.rb +3 -1
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +187 -32
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +115 -12
- data/lib/google/cloud/dataproc/v1/jobs_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/jobs_services_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/operations_pb.rb +18 -3
- data/lib/google/cloud/dataproc/v1/shared_pb.rb +99 -2
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +163 -24
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +115 -12
- data/lib/google/cloud/dataproc/v1/workflow_template_service/paths.rb +0 -19
- data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/workflow_templates_services_pb.rb +2 -3
- data/lib/google/cloud/dataproc/v1.rb +1 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb +18 -0
- data/proto_docs/google/cloud/dataproc/v1/batches.rb +339 -0
- data/proto_docs/google/cloud/dataproc/v1/clusters.rb +117 -47
- data/proto_docs/google/cloud/dataproc/v1/jobs.rb +20 -9
- data/proto_docs/google/cloud/dataproc/v1/operations.rb +48 -0
- data/proto_docs/google/cloud/dataproc/v1/shared.rb +336 -1
- data/proto_docs/google/cloud/dataproc/v1/workflow_templates.rb +12 -15
- metadata +11 -3
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Dataproc
|
23
23
|
module V1
|
24
24
|
# Describes the identifying information, config, and status of
|
25
|
-
# a cluster
|
25
|
+
# a Dataproc cluster
|
26
26
|
# @!attribute [rw] project_id
|
27
27
|
# @return [::String]
|
28
28
|
# Required. The Google Cloud Platform project ID that the cluster belongs to.
|
@@ -32,8 +32,18 @@ module Google
|
|
32
32
|
# unique. Names of deleted clusters can be reused.
|
33
33
|
# @!attribute [rw] config
|
34
34
|
# @return [::Google::Cloud::Dataproc::V1::ClusterConfig]
|
35
|
-
#
|
36
|
-
# default values, and values may change
|
35
|
+
# Optional. The cluster config for a cluster of Compute Engine Instances.
|
36
|
+
# Note that Dataproc may set default values, and values may change
|
37
|
+
# when clusters are updated.
|
38
|
+
# @!attribute [rw] virtual_cluster_config
|
39
|
+
# @return [::Google::Cloud::Dataproc::V1::VirtualClusterConfig]
|
40
|
+
# Optional. The virtual cluster config, used when creating a Dataproc cluster that
|
41
|
+
# does not directly control the underlying compute resources, for example,
|
42
|
+
# when creating a [Dataproc-on-GKE
|
43
|
+
# cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).
|
44
|
+
# Note that Dataproc may set default values, and values may change when
|
45
|
+
# clusters are updated. Exactly one of config or virtualClusterConfig must be
|
46
|
+
# specified.
|
37
47
|
# @!attribute [rw] labels
|
38
48
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
39
49
|
# Optional. The labels to associate with this cluster.
|
@@ -83,10 +93,10 @@ module Google
|
|
83
93
|
# ASIA, or EU) for your cluster's staging bucket according to the
|
84
94
|
# Compute Engine zone where your cluster is deployed, and then create
|
85
95
|
# and manage this project-level, per-location bucket (see
|
86
|
-
# [Dataproc staging
|
87
|
-
#
|
88
|
-
# **This field requires a Cloud Storage bucket name, not a URI to
|
89
|
-
# Storage bucket.**
|
96
|
+
# [Dataproc staging and temp
|
97
|
+
# buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
|
98
|
+
# **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
|
99
|
+
# a Cloud Storage bucket.**
|
90
100
|
# @!attribute [rw] temp_bucket
|
91
101
|
# @return [::String]
|
92
102
|
# Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
|
@@ -97,9 +107,11 @@ module Google
|
|
97
107
|
# Compute Engine zone where your cluster is deployed, and then create
|
98
108
|
# and manage this project-level, per-location bucket. The default bucket has
|
99
109
|
# a TTL of 90 days, but you can use any TTL (or none) if you specify a
|
100
|
-
# bucket
|
101
|
-
#
|
102
|
-
#
|
110
|
+
# bucket (see
|
111
|
+
# [Dataproc staging and temp
|
112
|
+
# buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
|
113
|
+
# **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
|
114
|
+
# a Cloud Storage bucket.**
|
103
115
|
# @!attribute [rw] gce_cluster_config
|
104
116
|
# @return [::Google::Cloud::Dataproc::V1::GceClusterConfig]
|
105
117
|
# Optional. The shared Compute Engine config settings for
|
@@ -107,18 +119,18 @@ module Google
|
|
107
119
|
# @!attribute [rw] master_config
|
108
120
|
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
109
121
|
# Optional. The Compute Engine config settings for
|
110
|
-
# the master instance
|
122
|
+
# the cluster's master instance.
|
111
123
|
# @!attribute [rw] worker_config
|
112
124
|
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
113
125
|
# Optional. The Compute Engine config settings for
|
114
|
-
# worker instances
|
126
|
+
# the cluster's worker instances.
|
115
127
|
# @!attribute [rw] secondary_worker_config
|
116
128
|
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
117
129
|
# Optional. The Compute Engine config settings for
|
118
|
-
#
|
130
|
+
# a cluster's secondary worker instances
|
119
131
|
# @!attribute [rw] software_config
|
120
132
|
# @return [::Google::Cloud::Dataproc::V1::SoftwareConfig]
|
121
|
-
# Optional. The config settings for software
|
133
|
+
# Optional. The config settings for cluster software.
|
122
134
|
# @!attribute [rw] initialization_actions
|
123
135
|
# @return [::Array<::Google::Cloud::Dataproc::V1::NodeInitializationAction>]
|
124
136
|
# Optional. Commands to execute on each node after config is
|
@@ -153,37 +165,63 @@ module Google
|
|
153
165
|
# @!attribute [rw] metastore_config
|
154
166
|
# @return [::Google::Cloud::Dataproc::V1::MetastoreConfig]
|
155
167
|
# Optional. Metastore configuration.
|
156
|
-
# @!attribute [rw] gke_cluster_config
|
157
|
-
# @return [::Google::Cloud::Dataproc::V1::GkeClusterConfig]
|
158
|
-
# Optional. BETA. The Kubernetes Engine config for Dataproc clusters deployed to
|
159
|
-
# Kubernetes. Setting this is considered mutually exclusive with Compute
|
160
|
-
# Engine-based options such as `gce_cluster_config`, `master_config`,
|
161
|
-
# `worker_config`, `secondary_worker_config`, and `autoscaling_config`.
|
162
168
|
class ClusterConfig
|
163
169
|
include ::Google::Protobuf::MessageExts
|
164
170
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
171
|
end
|
166
172
|
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
|
173
|
+
# Dataproc cluster config for a cluster that does not directly control the
|
174
|
+
# underlying compute resources, such as a [Dataproc-on-GKE
|
175
|
+
# cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).
|
176
|
+
# @!attribute [rw] staging_bucket
|
177
|
+
# @return [::String]
|
178
|
+
# Optional. A Storage bucket used to stage job
|
179
|
+
# dependencies, config files, and job driver console output.
|
180
|
+
# If you do not specify a staging bucket, Cloud
|
181
|
+
# Dataproc will determine a Cloud Storage location (US,
|
182
|
+
# ASIA, or EU) for your cluster's staging bucket according to the
|
183
|
+
# Compute Engine zone where your cluster is deployed, and then create
|
184
|
+
# and manage this project-level, per-location bucket (see
|
185
|
+
# [Dataproc staging and temp
|
186
|
+
# buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
|
187
|
+
# **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
|
188
|
+
# a Cloud Storage bucket.**
|
189
|
+
# @!attribute [rw] temp_bucket
|
190
|
+
# @return [::String]
|
191
|
+
# Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
|
192
|
+
# such as Spark and MapReduce history files.
|
193
|
+
# If you do not specify a temp bucket,
|
194
|
+
# Dataproc will determine a Cloud Storage location (US,
|
195
|
+
# ASIA, or EU) for your cluster's temp bucket according to the
|
196
|
+
# Compute Engine zone where your cluster is deployed, and then create
|
197
|
+
# and manage this project-level, per-location bucket. The default bucket has
|
198
|
+
# a TTL of 90 days, but you can use any TTL (or none) if you specify a
|
199
|
+
# bucket (see
|
200
|
+
# [Dataproc staging and temp
|
201
|
+
# buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
|
202
|
+
# **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
|
203
|
+
# a Cloud Storage bucket.**
|
204
|
+
# @!attribute [rw] kubernetes_cluster_config
|
205
|
+
# @return [::Google::Cloud::Dataproc::V1::KubernetesClusterConfig]
|
206
|
+
# Required. The configuration for running the Dataproc cluster on Kubernetes.
|
207
|
+
# @!attribute [rw] auxiliary_services_config
|
208
|
+
# @return [::Google::Cloud::Dataproc::V1::AuxiliaryServicesConfig]
|
209
|
+
# Optional. Configuration of auxiliary services used by this cluster.
|
210
|
+
class VirtualClusterConfig
|
172
211
|
include ::Google::Protobuf::MessageExts
|
173
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
213
|
+
end
|
174
214
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
-
end
|
215
|
+
# Auxiliary services configuration for a Cluster.
|
216
|
+
# @!attribute [rw] metastore_config
|
217
|
+
# @return [::Google::Cloud::Dataproc::V1::MetastoreConfig]
|
218
|
+
# Optional. The Hive Metastore configuration for this workload.
|
219
|
+
# @!attribute [rw] spark_history_server_config
|
220
|
+
# @return [::Google::Cloud::Dataproc::V1::SparkHistoryServerConfig]
|
221
|
+
# Optional. The Spark History Server configuration for the workload.
|
222
|
+
class AuxiliaryServicesConfig
|
223
|
+
include ::Google::Protobuf::MessageExts
|
224
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
225
|
end
|
188
226
|
|
189
227
|
# Endpoint config for this cluster
|
@@ -334,6 +372,10 @@ module Google
|
|
334
372
|
# @return [::Google::Cloud::Dataproc::V1::ShieldedInstanceConfig]
|
335
373
|
# Optional. Shielded Instance Config for clusters using [Compute Engine Shielded
|
336
374
|
# VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
|
375
|
+
# @!attribute [rw] confidential_instance_config
|
376
|
+
# @return [::Google::Cloud::Dataproc::V1::ConfidentialInstanceConfig]
|
377
|
+
# Optional. Confidential Instance Config for clusters using [Confidential
|
378
|
+
# VMs](https://cloud.google.com/compute/confidential-vm/docs).
|
337
379
|
class GceClusterConfig
|
338
380
|
include ::Google::Protobuf::MessageExts
|
339
381
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -406,6 +448,16 @@ module Google
|
|
406
448
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
407
449
|
end
|
408
450
|
|
451
|
+
# Confidential Instance Config for clusters using [Confidential
|
452
|
+
# VMs](https://cloud.google.com/compute/confidential-vm/docs)
|
453
|
+
# @!attribute [rw] enable_confidential_compute
|
454
|
+
# @return [::Boolean]
|
455
|
+
# Optional. Defines whether the instance should have confidential compute enabled.
|
456
|
+
class ConfidentialInstanceConfig
|
457
|
+
include ::Google::Protobuf::MessageExts
|
458
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
459
|
+
end
|
460
|
+
|
409
461
|
# The config settings for Compute Engine resources in
|
410
462
|
# an instance group, such as a master or worker group.
|
411
463
|
# @!attribute [rw] num_instances
|
@@ -572,6 +624,13 @@ module Google
|
|
572
624
|
# If one or more SSDs are attached, this runtime bulk
|
573
625
|
# data is spread across them, and the boot disk contains only basic
|
574
626
|
# config and installed binaries.
|
627
|
+
# @!attribute [rw] local_ssd_interface
|
628
|
+
# @return [::String]
|
629
|
+
# Optional. Interface type of local SSDs (default is "scsi").
|
630
|
+
# Valid values: "scsi" (Small Computer System Interface),
|
631
|
+
# "nvme" (Non-Volatile Memory Express).
|
632
|
+
# See [local SSD
|
633
|
+
# performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
|
575
634
|
class DiskConfig
|
576
635
|
include ::Google::Protobuf::MessageExts
|
577
636
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -624,11 +683,19 @@ module Google
|
|
624
683
|
CREATING = 1
|
625
684
|
|
626
685
|
# The cluster is currently running and healthy. It is ready for use.
|
686
|
+
#
|
687
|
+
# **Note:** The cluster state changes from "creating" to "running" status
|
688
|
+
# after the master node(s), first two primary worker nodes (and the last
|
689
|
+
# primary worker node if primary workers > 2) are running.
|
627
690
|
RUNNING = 2
|
628
691
|
|
629
692
|
# The cluster encountered an error. It is not ready for use.
|
630
693
|
ERROR = 3
|
631
694
|
|
695
|
+
# The cluster has encountered an error while being updated. Jobs can
|
696
|
+
# be submitted to the cluster, but the cluster cannot be updated.
|
697
|
+
ERROR_DUE_TO_UPDATE = 9
|
698
|
+
|
632
699
|
# The cluster is being deleted. It cannot be used.
|
633
700
|
DELETING = 4
|
634
701
|
|
@@ -905,7 +972,7 @@ module Google
|
|
905
972
|
# Required. The cluster to create.
|
906
973
|
# @!attribute [rw] request_id
|
907
974
|
# @return [::String]
|
908
|
-
# Optional. A unique
|
975
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
909
976
|
# [CreateClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s
|
910
977
|
# with the same id, then the second request will be ignored and the
|
911
978
|
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
|
@@ -914,8 +981,11 @@ module Google
|
|
914
981
|
# It is recommended to always set this value to a
|
915
982
|
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
916
983
|
#
|
917
|
-
# The
|
984
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
918
985
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
986
|
+
# @!attribute [rw] action_on_failed_primary_workers
|
987
|
+
# @return [::Google::Cloud::Dataproc::V1::FailureAction]
|
988
|
+
# Optional. Failure action when primary worker creation fails.
|
919
989
|
class CreateClusterRequest
|
920
990
|
include ::Google::Protobuf::MessageExts
|
921
991
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1001,7 +1071,7 @@ module Google
|
|
1001
1071
|
# </table>
|
1002
1072
|
# @!attribute [rw] request_id
|
1003
1073
|
# @return [::String]
|
1004
|
-
# Optional. A unique
|
1074
|
+
# Optional. A unique ID used to identify the request. If the server
|
1005
1075
|
# receives two
|
1006
1076
|
# [UpdateClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s
|
1007
1077
|
# with the same id, then the second request will be ignored and the
|
@@ -1011,7 +1081,7 @@ module Google
|
|
1011
1081
|
# It is recommended to always set this value to a
|
1012
1082
|
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
1013
1083
|
#
|
1014
|
-
# The
|
1084
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
1015
1085
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
1016
1086
|
class UpdateClusterRequest
|
1017
1087
|
include ::Google::Protobuf::MessageExts
|
@@ -1035,7 +1105,7 @@ module Google
|
|
1035
1105
|
# (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
|
1036
1106
|
# @!attribute [rw] request_id
|
1037
1107
|
# @return [::String]
|
1038
|
-
# Optional. A unique
|
1108
|
+
# Optional. A unique ID used to identify the request. If the server
|
1039
1109
|
# receives two
|
1040
1110
|
# [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s
|
1041
1111
|
# with the same id, then the second request will be ignored and the
|
@@ -1045,7 +1115,7 @@ module Google
|
|
1045
1115
|
# Recommendation: Set this value to a
|
1046
1116
|
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
1047
1117
|
#
|
1048
|
-
# The
|
1118
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
1049
1119
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
1050
1120
|
class StopClusterRequest
|
1051
1121
|
include ::Google::Protobuf::MessageExts
|
@@ -1069,7 +1139,7 @@ module Google
|
|
1069
1139
|
# (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
|
1070
1140
|
# @!attribute [rw] request_id
|
1071
1141
|
# @return [::String]
|
1072
|
-
# Optional. A unique
|
1142
|
+
# Optional. A unique ID used to identify the request. If the server
|
1073
1143
|
# receives two
|
1074
1144
|
# [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s
|
1075
1145
|
# with the same id, then the second request will be ignored and the
|
@@ -1079,7 +1149,7 @@ module Google
|
|
1079
1149
|
# Recommendation: Set this value to a
|
1080
1150
|
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
1081
1151
|
#
|
1082
|
-
# The
|
1152
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
1083
1153
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
1084
1154
|
class StartClusterRequest
|
1085
1155
|
include ::Google::Protobuf::MessageExts
|
@@ -1103,7 +1173,7 @@ module Google
|
|
1103
1173
|
# (with error NOT_FOUND) if cluster with specified UUID does not exist.
|
1104
1174
|
# @!attribute [rw] request_id
|
1105
1175
|
# @return [::String]
|
1106
|
-
# Optional. A unique
|
1176
|
+
# Optional. A unique ID used to identify the request. If the server
|
1107
1177
|
# receives two
|
1108
1178
|
# [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
|
1109
1179
|
# with the same id, then the second request will be ignored and the
|
@@ -1113,7 +1183,7 @@ module Google
|
|
1113
1183
|
# It is recommended to always set this value to a
|
1114
1184
|
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
1115
1185
|
#
|
1116
|
-
# The
|
1186
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
1117
1187
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
1118
1188
|
class DeleteClusterRequest
|
1119
1189
|
include ::Google::Protobuf::MessageExts
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
end
|
43
43
|
|
44
44
|
# The Log4j level for job execution. When running an
|
45
|
-
# [Apache Hive](
|
45
|
+
# [Apache Hive](https://hive.apache.org/) job, Cloud
|
46
46
|
# Dataproc configures the Hive client to an equivalent verbosity level.
|
47
47
|
module Level
|
48
48
|
# Level is unspecified. Use default level for log4j.
|
@@ -507,8 +507,7 @@ module Google
|
|
507
507
|
# the job is submitted.
|
508
508
|
# @!attribute [rw] cluster_labels
|
509
509
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
510
|
-
# Optional. Cluster labels to identify a cluster where the job will be
|
511
|
-
# submitted.
|
510
|
+
# Optional. Cluster labels to identify a cluster where the job will be submitted.
|
512
511
|
class JobPlacement
|
513
512
|
include ::Google::Protobuf::MessageExts
|
514
513
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -609,8 +608,8 @@ module Google
|
|
609
608
|
# Encapsulates the full scoping used to reference a job.
|
610
609
|
# @!attribute [rw] project_id
|
611
610
|
# @return [::String]
|
612
|
-
# Optional. The ID of the Google Cloud Platform project that the job belongs
|
613
|
-
#
|
611
|
+
# Optional. The ID of the Google Cloud Platform project that the job belongs to. If
|
612
|
+
# specified, must match the request project ID.
|
614
613
|
# @!attribute [rw] job_id
|
615
614
|
# @return [::String]
|
616
615
|
# Optional. The job ID, which must be unique within the project.
|
@@ -757,8 +756,8 @@ module Google
|
|
757
756
|
# may be reused over time.
|
758
757
|
# @!attribute [r] done
|
759
758
|
# @return [::Boolean]
|
760
|
-
# Output only. Indicates whether the job is completed. If the value is
|
761
|
-
#
|
759
|
+
# Output only. Indicates whether the job is completed. If the value is `false`,
|
760
|
+
# the job is still in progress. If `true`, the job is completed, and
|
762
761
|
# `status.state` field will indicate if it was successful, failed,
|
763
762
|
# or cancelled.
|
764
763
|
class Job
|
@@ -786,11 +785,23 @@ module Google
|
|
786
785
|
# 4 times within 10 minute window.
|
787
786
|
#
|
788
787
|
# Maximum value is 10.
|
788
|
+
#
|
789
|
+
# **Note:** Currently, this restartable job option is
|
790
|
+
# not supported in Dataproc
|
791
|
+
# [workflow
|
792
|
+
# template](https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template)
|
793
|
+
# jobs.
|
789
794
|
# @!attribute [rw] max_failures_total
|
790
795
|
# @return [::Integer]
|
791
|
-
# Optional. Maximum number of times in total a driver may be restarted as a
|
792
|
-
#
|
796
|
+
# Optional. Maximum number of times in total a driver may be restarted as a result of
|
797
|
+
# driver exiting with non-zero code before job is reported failed.
|
793
798
|
# Maximum value is 240.
|
799
|
+
#
|
800
|
+
# **Note:** Currently, this restartable job option is
|
801
|
+
# not supported in Dataproc
|
802
|
+
# [workflow
|
803
|
+
# template](https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template)
|
804
|
+
# jobs.
|
794
805
|
class JobScheduling
|
795
806
|
include ::Google::Protobuf::MessageExts
|
796
807
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -21,6 +21,54 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Dataproc
|
23
23
|
module V1
|
24
|
+
# Metadata describing the Batch operation.
|
25
|
+
# @!attribute [rw] batch
|
26
|
+
# @return [::String]
|
27
|
+
# Name of the batch for the operation.
|
28
|
+
# @!attribute [rw] batch_uuid
|
29
|
+
# @return [::String]
|
30
|
+
# Batch UUID for the operation.
|
31
|
+
# @!attribute [rw] create_time
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
33
|
+
# The time when the operation was created.
|
34
|
+
# @!attribute [rw] done_time
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
|
+
# The time when the operation finished.
|
37
|
+
# @!attribute [rw] operation_type
|
38
|
+
# @return [::Google::Cloud::Dataproc::V1::BatchOperationMetadata::BatchOperationType]
|
39
|
+
# The operation type.
|
40
|
+
# @!attribute [rw] description
|
41
|
+
# @return [::String]
|
42
|
+
# Short description of the operation.
|
43
|
+
# @!attribute [rw] labels
|
44
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
45
|
+
# Labels associated with the operation.
|
46
|
+
# @!attribute [rw] warnings
|
47
|
+
# @return [::Array<::String>]
|
48
|
+
# Warnings encountered during operation execution.
|
49
|
+
class BatchOperationMetadata
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
|
53
|
+
# @!attribute [rw] key
|
54
|
+
# @return [::String]
|
55
|
+
# @!attribute [rw] value
|
56
|
+
# @return [::String]
|
57
|
+
class LabelsEntry
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
end
|
61
|
+
|
62
|
+
# Operation type for Batch resources
|
63
|
+
module BatchOperationType
|
64
|
+
# Batch operation type is unknown.
|
65
|
+
BATCH_OPERATION_TYPE_UNSPECIFIED = 0
|
66
|
+
|
67
|
+
# Batch operation type.
|
68
|
+
BATCH = 1
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
24
72
|
# The status of the operation.
|
25
73
|
# @!attribute [r] state
|
26
74
|
# @return [::Google::Cloud::Dataproc::V1::ClusterOperationStatus::State]
|