google-cloud-dataproc-v1 0.1.0 → 0.2.3
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 +5 -1
- data/lib/google/cloud/dataproc/v1.rb +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +129 -124
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/paths.rb +10 -10
- data/lib/google/cloud/dataproc/v1/cluster_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +179 -174
- data/lib/google/cloud/dataproc/v1/cluster_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +109 -103
- data/lib/google/cloud/dataproc/v1/job_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +186 -181
- data/lib/google/cloud/dataproc/v1/job_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +109 -103
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +179 -174
- data/lib/google/cloud/dataproc/v1/workflow_template_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +109 -103
- data/lib/google/cloud/dataproc/v1/workflow_template_service/paths.rb +10 -10
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb +45 -45
- data/proto_docs/google/cloud/dataproc/v1/clusters.rb +186 -186
- data/proto_docs/google/cloud/dataproc/v1/jobs.rb +226 -225
- data/proto_docs/google/cloud/dataproc/v1/operations.rb +20 -20
- data/proto_docs/google/cloud/dataproc/v1/workflow_templates.rb +143 -143
- 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 +33 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -34,9 +34,9 @@ module Google
|
|
34
34
|
# @param project [String]
|
35
35
|
# @param location [String]
|
36
36
|
#
|
37
|
-
# @return [String]
|
37
|
+
# @return [::String]
|
38
38
|
def location_path project:, location:
|
39
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
39
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
40
40
|
|
41
41
|
"projects/#{project}/locations/#{location}"
|
42
42
|
end
|
@@ -51,9 +51,9 @@ module Google
|
|
51
51
|
# @param project [String]
|
52
52
|
# @param region [String]
|
53
53
|
#
|
54
|
-
# @return [String]
|
54
|
+
# @return [::String]
|
55
55
|
def region_path project:, region:
|
56
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
56
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
57
57
|
|
58
58
|
"projects/#{project}/regions/#{region}"
|
59
59
|
end
|
@@ -79,25 +79,25 @@ module Google
|
|
79
79
|
# @param location [String]
|
80
80
|
# @param workflow_template [String]
|
81
81
|
#
|
82
|
-
# @return [String]
|
82
|
+
# @return [::String]
|
83
83
|
def workflow_template_path **args
|
84
84
|
resources = {
|
85
85
|
"project:region:workflow_template" => (proc do |project:, region:, workflow_template:|
|
86
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
87
|
-
raise ArgumentError, "region cannot contain /" if region.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
87
|
+
raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
|
88
88
|
|
89
89
|
"projects/#{project}/regions/#{region}/workflowTemplates/#{workflow_template}"
|
90
90
|
end),
|
91
91
|
"location:project:workflow_template" => (proc do |project:, location:, workflow_template:|
|
92
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
93
|
-
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
92
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
93
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
94
94
|
|
95
95
|
"projects/#{project}/locations/#{location}/workflowTemplates/#{workflow_template}"
|
96
96
|
end)
|
97
97
|
}
|
98
98
|
|
99
99
|
resource = resources[args.keys.sort.join(":")]
|
100
|
-
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
100
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
101
101
|
resource.call(**args)
|
102
102
|
end
|
103
103
|
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
# - pattern: "shelves/{shelf}"
|
129
129
|
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
130
130
|
# @!attribute [rw] type
|
131
|
-
# @return [String]
|
131
|
+
# @return [::String]
|
132
132
|
# The resource type. It must be in the format of
|
133
133
|
# \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
|
134
134
|
# singular and must not include version numbers.
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
# should use PascalCase (UpperCamelCase). The maximum number of
|
141
141
|
# characters allowed for the `resource_type_kind` is 100.
|
142
142
|
# @!attribute [rw] pattern
|
143
|
-
# @return [Array
|
143
|
+
# @return [::Array<::String>]
|
144
144
|
# Optional. The relative resource name pattern associated with this resource
|
145
145
|
# type. The DNS prefix of the full resource name shouldn't be specified here.
|
146
146
|
#
|
@@ -161,11 +161,11 @@ module Google
|
|
161
161
|
# the same component name (e.g. "project") refers to IDs of the same
|
162
162
|
# type of resource.
|
163
163
|
# @!attribute [rw] name_field
|
164
|
-
# @return [String]
|
164
|
+
# @return [::String]
|
165
165
|
# Optional. The field on the resource that designates the resource name
|
166
166
|
# field. If omitted, this is assumed to be "name".
|
167
167
|
# @!attribute [rw] history
|
168
|
-
# @return [Google::Api::ResourceDescriptor::History]
|
168
|
+
# @return [::Google::Api::ResourceDescriptor::History]
|
169
169
|
# Optional. The historical or future-looking state of the resource pattern.
|
170
170
|
#
|
171
171
|
# Example:
|
@@ -182,19 +182,19 @@ module Google
|
|
182
182
|
# };
|
183
183
|
# }
|
184
184
|
# @!attribute [rw] plural
|
185
|
-
# @return [String]
|
185
|
+
# @return [::String]
|
186
186
|
# The plural name used in the resource name, such as 'projects' for
|
187
187
|
# the name of 'projects/\\{project}'. It is the same concept of the `plural`
|
188
188
|
# field in k8s CRD spec
|
189
189
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
190
190
|
# @!attribute [rw] singular
|
191
|
-
# @return [String]
|
191
|
+
# @return [::String]
|
192
192
|
# The same concept of the `singular` field in k8s CRD spec
|
193
193
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
194
194
|
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
195
195
|
class ResourceDescriptor
|
196
|
-
include Google::Protobuf::MessageExts
|
197
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
198
|
|
199
199
|
# A description of the historical or future-looking state of the
|
200
200
|
# resource pattern.
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# Defines a proto annotation that describes a string field that refers to
|
217
217
|
# an API resource.
|
218
218
|
# @!attribute [rw] type
|
219
|
-
# @return [String]
|
219
|
+
# @return [::String]
|
220
220
|
# The resource type that the annotated field references.
|
221
221
|
#
|
222
222
|
# Example:
|
@@ -227,7 +227,7 @@ module Google
|
|
227
227
|
# }];
|
228
228
|
# }
|
229
229
|
# @!attribute [rw] child_type
|
230
|
-
# @return [String]
|
230
|
+
# @return [::String]
|
231
231
|
# The resource type of a child collection that the annotated field
|
232
232
|
# references. This is useful for annotating the `parent` field that
|
233
233
|
# doesn't have a fixed resource type.
|
@@ -240,8 +240,8 @@ module Google
|
|
240
240
|
# };
|
241
241
|
# }
|
242
242
|
class ResourceReference
|
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
|
end
|
@@ -23,14 +23,14 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# Describes an autoscaling policy for Dataproc cluster autoscaler.
|
25
25
|
# @!attribute [rw] id
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. The policy id.
|
28
28
|
#
|
29
29
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
30
30
|
# underscores (_), and hyphens (-). Cannot begin or end with underscore
|
31
31
|
# or hyphen. Must consist of between 3 and 50 characters.
|
32
32
|
# @!attribute [r] name
|
33
|
-
# @return [String]
|
33
|
+
# @return [::String]
|
34
34
|
# Output only. The "resource name" of the autoscaling policy, as described
|
35
35
|
# in https://cloud.google.com/apis/design/resource_names.
|
36
36
|
#
|
@@ -42,36 +42,36 @@ module Google
|
|
42
42
|
# policy has the following format:
|
43
43
|
# `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`
|
44
44
|
# @!attribute [rw] basic_algorithm
|
45
|
-
# @return [Google::Cloud::Dataproc::V1::BasicAutoscalingAlgorithm]
|
45
|
+
# @return [::Google::Cloud::Dataproc::V1::BasicAutoscalingAlgorithm]
|
46
46
|
# @!attribute [rw] worker_config
|
47
|
-
# @return [Google::Cloud::Dataproc::V1::InstanceGroupAutoscalingPolicyConfig]
|
47
|
+
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupAutoscalingPolicyConfig]
|
48
48
|
# Required. Describes how the autoscaler will operate for primary workers.
|
49
49
|
# @!attribute [rw] secondary_worker_config
|
50
|
-
# @return [Google::Cloud::Dataproc::V1::InstanceGroupAutoscalingPolicyConfig]
|
50
|
+
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupAutoscalingPolicyConfig]
|
51
51
|
# Optional. Describes how the autoscaler will operate for secondary workers.
|
52
52
|
class AutoscalingPolicy
|
53
|
-
include Google::Protobuf::MessageExts
|
54
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
55
|
end
|
56
56
|
|
57
57
|
# Basic algorithm for autoscaling.
|
58
58
|
# @!attribute [rw] yarn_config
|
59
|
-
# @return [Google::Cloud::Dataproc::V1::BasicYarnAutoscalingConfig]
|
59
|
+
# @return [::Google::Cloud::Dataproc::V1::BasicYarnAutoscalingConfig]
|
60
60
|
# Required. YARN autoscaling configuration.
|
61
61
|
# @!attribute [rw] cooldown_period
|
62
|
-
# @return [Google::Protobuf::Duration]
|
62
|
+
# @return [::Google::Protobuf::Duration]
|
63
63
|
# Optional. Duration between scaling events. A scaling period starts after
|
64
64
|
# the update operation from the previous event has completed.
|
65
65
|
#
|
66
66
|
# Bounds: [2m, 1d]. Default: 2m.
|
67
67
|
class BasicAutoscalingAlgorithm
|
68
|
-
include Google::Protobuf::MessageExts
|
69
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
70
|
end
|
71
71
|
|
72
72
|
# Basic autoscaling configurations for YARN.
|
73
73
|
# @!attribute [rw] graceful_decommission_timeout
|
74
|
-
# @return [Google::Protobuf::Duration]
|
74
|
+
# @return [::Google::Protobuf::Duration]
|
75
75
|
# Required. Timeout for YARN graceful decommissioning of Node Managers.
|
76
76
|
# Specifies the duration to wait for jobs to complete before forcefully
|
77
77
|
# removing workers (and potentially interrupting jobs). Only applicable to
|
@@ -79,7 +79,7 @@ module Google
|
|
79
79
|
#
|
80
80
|
# Bounds: [0s, 1d].
|
81
81
|
# @!attribute [rw] scale_up_factor
|
82
|
-
# @return [Float]
|
82
|
+
# @return [::Float]
|
83
83
|
# Required. Fraction of average pending memory in the last cooldown period
|
84
84
|
# for which to add workers. A scale-up factor of 1.0 will result in scaling
|
85
85
|
# up so that there is no pending memory remaining after the update (more
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
#
|
89
89
|
# Bounds: [0.0, 1.0].
|
90
90
|
# @!attribute [rw] scale_down_factor
|
91
|
-
# @return [Float]
|
91
|
+
# @return [::Float]
|
92
92
|
# Required. Fraction of average pending memory in the last cooldown period
|
93
93
|
# for which to remove workers. A scale-down factor of 1 will result in
|
94
94
|
# scaling down so that there is no available memory remaining after the
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
#
|
98
98
|
# Bounds: [0.0, 1.0].
|
99
99
|
# @!attribute [rw] scale_up_min_worker_fraction
|
100
|
-
# @return [Float]
|
100
|
+
# @return [::Float]
|
101
101
|
# Optional. Minimum scale-up threshold as a fraction of total cluster size
|
102
102
|
# before scaling occurs. For example, in a 20-worker cluster, a threshold of
|
103
103
|
# 0.1 means the autoscaler must recommend at least a 2-worker scale-up for
|
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
#
|
107
107
|
# Bounds: [0.0, 1.0]. Default: 0.0.
|
108
108
|
# @!attribute [rw] scale_down_min_worker_fraction
|
109
|
-
# @return [Float]
|
109
|
+
# @return [::Float]
|
110
110
|
# Optional. Minimum scale-down threshold as a fraction of total cluster size
|
111
111
|
# before scaling occurs. For example, in a 20-worker cluster, a threshold of
|
112
112
|
# 0.1 means the autoscaler must recommend at least a 2 worker scale-down for
|
@@ -115,20 +115,20 @@ module Google
|
|
115
115
|
#
|
116
116
|
# Bounds: [0.0, 1.0]. Default: 0.0.
|
117
117
|
class BasicYarnAutoscalingConfig
|
118
|
-
include Google::Protobuf::MessageExts
|
119
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
120
|
end
|
121
121
|
|
122
122
|
# Configuration for the size bounds of an instance group, including its
|
123
123
|
# proportional size to other groups.
|
124
124
|
# @!attribute [rw] min_instances
|
125
|
-
# @return [Integer]
|
125
|
+
# @return [::Integer]
|
126
126
|
# Optional. Minimum number of instances for this group.
|
127
127
|
#
|
128
128
|
# Primary workers - Bounds: [2, max_instances]. Default: 2.
|
129
129
|
# Secondary workers - Bounds: [0, max_instances]. Default: 0.
|
130
130
|
# @!attribute [rw] max_instances
|
131
|
-
# @return [Integer]
|
131
|
+
# @return [::Integer]
|
132
132
|
# Required. Maximum number of instances for this group. Required for primary
|
133
133
|
# workers. Note that by default, clusters will not use secondary workers.
|
134
134
|
# Required for secondary workers if the minimum secondary instances is set.
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# Primary workers - Bounds: [min_instances, ).
|
137
137
|
# Secondary workers - Bounds: [min_instances, ). Default: 0.
|
138
138
|
# @!attribute [rw] weight
|
139
|
-
# @return [Integer]
|
139
|
+
# @return [::Integer]
|
140
140
|
# Optional. Weight for the instance group, which is used to determine the
|
141
141
|
# fraction of total workers in the cluster from this instance group.
|
142
142
|
# For example, if primary workers have weight 2, and secondary workers have
|
@@ -156,13 +156,13 @@ module Google
|
|
156
156
|
# primary workers, the cluster will use primary workers only and no
|
157
157
|
# secondary workers.
|
158
158
|
class InstanceGroupAutoscalingPolicyConfig
|
159
|
-
include Google::Protobuf::MessageExts
|
160
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
161
|
end
|
162
162
|
|
163
163
|
# A request to create an autoscaling policy.
|
164
164
|
# @!attribute [rw] parent
|
165
|
-
# @return [String]
|
165
|
+
# @return [::String]
|
166
166
|
# Required. The "resource name" of the region or location, as described
|
167
167
|
# in https://cloud.google.com/apis/design/resource_names.
|
168
168
|
#
|
@@ -174,16 +174,16 @@ module Google
|
|
174
174
|
# of the location has the following format:
|
175
175
|
# `projects/{project_id}/locations/{location}`
|
176
176
|
# @!attribute [rw] policy
|
177
|
-
# @return [Google::Cloud::Dataproc::V1::AutoscalingPolicy]
|
177
|
+
# @return [::Google::Cloud::Dataproc::V1::AutoscalingPolicy]
|
178
178
|
# Required. The autoscaling policy to create.
|
179
179
|
class CreateAutoscalingPolicyRequest
|
180
|
-
include Google::Protobuf::MessageExts
|
181
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
182
|
end
|
183
183
|
|
184
184
|
# A request to fetch an autoscaling policy.
|
185
185
|
# @!attribute [rw] name
|
186
|
-
# @return [String]
|
186
|
+
# @return [::String]
|
187
187
|
# Required. The "resource name" of the autoscaling policy, as described
|
188
188
|
# in https://cloud.google.com/apis/design/resource_names.
|
189
189
|
#
|
@@ -195,24 +195,24 @@ module Google
|
|
195
195
|
# of the policy has the following format:
|
196
196
|
# `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`
|
197
197
|
class GetAutoscalingPolicyRequest
|
198
|
-
include Google::Protobuf::MessageExts
|
199
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
200
|
end
|
201
201
|
|
202
202
|
# A request to update an autoscaling policy.
|
203
203
|
# @!attribute [rw] policy
|
204
|
-
# @return [Google::Cloud::Dataproc::V1::AutoscalingPolicy]
|
204
|
+
# @return [::Google::Cloud::Dataproc::V1::AutoscalingPolicy]
|
205
205
|
# Required. The updated autoscaling policy.
|
206
206
|
class UpdateAutoscalingPolicyRequest
|
207
|
-
include Google::Protobuf::MessageExts
|
208
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
207
|
+
include ::Google::Protobuf::MessageExts
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
209
|
end
|
210
210
|
|
211
211
|
# A request to delete an autoscaling policy.
|
212
212
|
#
|
213
213
|
# Autoscaling policies in use by one or more clusters will not be deleted.
|
214
214
|
# @!attribute [rw] name
|
215
|
-
# @return [String]
|
215
|
+
# @return [::String]
|
216
216
|
# Required. The "resource name" of the autoscaling policy, as described
|
217
217
|
# in https://cloud.google.com/apis/design/resource_names.
|
218
218
|
#
|
@@ -224,13 +224,13 @@ module Google
|
|
224
224
|
# of the policy has the following format:
|
225
225
|
# `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`
|
226
226
|
class DeleteAutoscalingPolicyRequest
|
227
|
-
include Google::Protobuf::MessageExts
|
228
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
include ::Google::Protobuf::MessageExts
|
228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
229
229
|
end
|
230
230
|
|
231
231
|
# A request to list autoscaling policies in a project.
|
232
232
|
# @!attribute [rw] parent
|
233
|
-
# @return [String]
|
233
|
+
# @return [::String]
|
234
234
|
# Required. The "resource name" of the region or location, as described
|
235
235
|
# in https://cloud.google.com/apis/design/resource_names.
|
236
236
|
#
|
@@ -242,29 +242,29 @@ module Google
|
|
242
242
|
# of the location has the following format:
|
243
243
|
# `projects/{project_id}/locations/{location}`
|
244
244
|
# @!attribute [rw] page_size
|
245
|
-
# @return [Integer]
|
245
|
+
# @return [::Integer]
|
246
246
|
# Optional. The maximum number of results to return in each response.
|
247
247
|
# Must be less than or equal to 1000. Defaults to 100.
|
248
248
|
# @!attribute [rw] page_token
|
249
|
-
# @return [String]
|
249
|
+
# @return [::String]
|
250
250
|
# Optional. The page token, returned by a previous call, to request the
|
251
251
|
# next page of results.
|
252
252
|
class ListAutoscalingPoliciesRequest
|
253
|
-
include Google::Protobuf::MessageExts
|
254
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
include ::Google::Protobuf::MessageExts
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
255
|
end
|
256
256
|
|
257
257
|
# A response to a request to list autoscaling policies in a project.
|
258
258
|
# @!attribute [r] policies
|
259
|
-
# @return [Array
|
259
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::AutoscalingPolicy>]
|
260
260
|
# Output only. Autoscaling policies list.
|
261
261
|
# @!attribute [r] next_page_token
|
262
|
-
# @return [String]
|
262
|
+
# @return [::String]
|
263
263
|
# Output only. This token is included in the response if there are more
|
264
264
|
# results to fetch.
|
265
265
|
class ListAutoscalingPoliciesResponse
|
266
|
-
include Google::Protobuf::MessageExts
|
267
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
268
|
end
|
269
269
|
end
|
270
270
|
end
|
@@ -24,18 +24,18 @@ module Google
|
|
24
24
|
# Describes the identifying information, config, and status of
|
25
25
|
# a cluster of Compute Engine instances.
|
26
26
|
# @!attribute [rw] project_id
|
27
|
-
# @return [String]
|
27
|
+
# @return [::String]
|
28
28
|
# Required. The Google Cloud Platform project ID that the cluster belongs to.
|
29
29
|
# @!attribute [rw] cluster_name
|
30
|
-
# @return [String]
|
30
|
+
# @return [::String]
|
31
31
|
# Required. The cluster name. Cluster names within a project must be
|
32
32
|
# unique. Names of deleted clusters can be reused.
|
33
33
|
# @!attribute [rw] config
|
34
|
-
# @return [Google::Cloud::Dataproc::V1::ClusterConfig]
|
34
|
+
# @return [::Google::Cloud::Dataproc::V1::ClusterConfig]
|
35
35
|
# Required. The cluster config. Note that Dataproc may set
|
36
36
|
# default values, and values may change when clusters are updated.
|
37
37
|
# @!attribute [rw] labels
|
38
|
-
# @return [Google::Protobuf::Map{String => String}]
|
38
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
39
39
|
# Optional. The labels to associate with this cluster.
|
40
40
|
# Label **keys** must contain 1 to 63 characters, and must conform to
|
41
41
|
# [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
|
@@ -44,38 +44,38 @@ module Google
|
|
44
44
|
# 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
|
45
45
|
# associated with a cluster.
|
46
46
|
# @!attribute [r] status
|
47
|
-
# @return [Google::Cloud::Dataproc::V1::ClusterStatus]
|
47
|
+
# @return [::Google::Cloud::Dataproc::V1::ClusterStatus]
|
48
48
|
# Output only. Cluster status.
|
49
49
|
# @!attribute [r] status_history
|
50
|
-
# @return [Array
|
50
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::ClusterStatus>]
|
51
51
|
# Output only. The previous cluster status.
|
52
52
|
# @!attribute [r] cluster_uuid
|
53
|
-
# @return [String]
|
53
|
+
# @return [::String]
|
54
54
|
# Output only. A cluster UUID (Unique Universal Identifier). Dataproc
|
55
55
|
# generates this value when it creates the cluster.
|
56
56
|
# @!attribute [r] metrics
|
57
|
-
# @return [Google::Cloud::Dataproc::V1::ClusterMetrics]
|
57
|
+
# @return [::Google::Cloud::Dataproc::V1::ClusterMetrics]
|
58
58
|
# Output only. Contains cluster daemon metrics such as HDFS and YARN stats.
|
59
59
|
#
|
60
60
|
# **Beta Feature**: This report is available for testing purposes only. It
|
61
61
|
# may be changed before final release.
|
62
62
|
class Cluster
|
63
|
-
include Google::Protobuf::MessageExts
|
64
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
65
|
|
66
66
|
# @!attribute [rw] key
|
67
|
-
# @return [String]
|
67
|
+
# @return [::String]
|
68
68
|
# @!attribute [rw] value
|
69
|
-
# @return [String]
|
69
|
+
# @return [::String]
|
70
70
|
class LabelsEntry
|
71
|
-
include Google::Protobuf::MessageExts
|
72
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
76
|
# The cluster config.
|
77
77
|
# @!attribute [rw] config_bucket
|
78
|
-
# @return [String]
|
78
|
+
# @return [::String]
|
79
79
|
# Optional. A Cloud Storage bucket used to stage job
|
80
80
|
# dependencies, config files, and job driver console output.
|
81
81
|
# If you do not specify a staging bucket, Cloud
|
@@ -86,26 +86,26 @@ module Google
|
|
86
86
|
# [Dataproc staging
|
87
87
|
# bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
|
88
88
|
# @!attribute [rw] gce_cluster_config
|
89
|
-
# @return [Google::Cloud::Dataproc::V1::GceClusterConfig]
|
89
|
+
# @return [::Google::Cloud::Dataproc::V1::GceClusterConfig]
|
90
90
|
# Optional. The shared Compute Engine config settings for
|
91
91
|
# all instances in a cluster.
|
92
92
|
# @!attribute [rw] master_config
|
93
|
-
# @return [Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
93
|
+
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
94
94
|
# Optional. The Compute Engine config settings for
|
95
95
|
# the master instance in a cluster.
|
96
96
|
# @!attribute [rw] worker_config
|
97
|
-
# @return [Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
97
|
+
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
98
98
|
# Optional. The Compute Engine config settings for
|
99
99
|
# worker instances in a cluster.
|
100
100
|
# @!attribute [rw] secondary_worker_config
|
101
|
-
# @return [Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
101
|
+
# @return [::Google::Cloud::Dataproc::V1::InstanceGroupConfig]
|
102
102
|
# Optional. The Compute Engine config settings for
|
103
103
|
# additional worker instances in a cluster.
|
104
104
|
# @!attribute [rw] software_config
|
105
|
-
# @return [Google::Cloud::Dataproc::V1::SoftwareConfig]
|
105
|
+
# @return [::Google::Cloud::Dataproc::V1::SoftwareConfig]
|
106
106
|
# Optional. The config settings for software inside the cluster.
|
107
107
|
# @!attribute [rw] initialization_actions
|
108
|
-
# @return [Array
|
108
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::NodeInitializationAction>]
|
109
109
|
# Optional. Commands to execute on each node after config is
|
110
110
|
# completed. By default, executables are run on master and all worker nodes.
|
111
111
|
# You can test a node's `role` metadata to run an executable on
|
@@ -120,26 +120,26 @@ module Google
|
|
120
120
|
# ... worker specific actions ...
|
121
121
|
# fi
|
122
122
|
# @!attribute [rw] encryption_config
|
123
|
-
# @return [Google::Cloud::Dataproc::V1::EncryptionConfig]
|
123
|
+
# @return [::Google::Cloud::Dataproc::V1::EncryptionConfig]
|
124
124
|
# Optional. Encryption settings for the cluster.
|
125
125
|
# @!attribute [rw] autoscaling_config
|
126
|
-
# @return [Google::Cloud::Dataproc::V1::AutoscalingConfig]
|
126
|
+
# @return [::Google::Cloud::Dataproc::V1::AutoscalingConfig]
|
127
127
|
# Optional. Autoscaling config for the policy associated with the cluster.
|
128
128
|
# Cluster does not autoscale if this field is unset.
|
129
129
|
# @!attribute [rw] security_config
|
130
|
-
# @return [Google::Cloud::Dataproc::V1::SecurityConfig]
|
130
|
+
# @return [::Google::Cloud::Dataproc::V1::SecurityConfig]
|
131
131
|
# Optional. Security settings for the cluster.
|
132
132
|
# @!attribute [rw] lifecycle_config
|
133
|
-
# @return [Google::Cloud::Dataproc::V1::LifecycleConfig]
|
133
|
+
# @return [::Google::Cloud::Dataproc::V1::LifecycleConfig]
|
134
134
|
# Optional. Lifecycle setting for the cluster.
|
135
135
|
class ClusterConfig
|
136
|
-
include Google::Protobuf::MessageExts
|
137
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
include ::Google::Protobuf::MessageExts
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
138
138
|
end
|
139
139
|
|
140
140
|
# Autoscaling Policy config associated with the cluster.
|
141
141
|
# @!attribute [rw] policy_uri
|
142
|
-
# @return [String]
|
142
|
+
# @return [::String]
|
143
143
|
# Optional. The autoscaling policy used by the cluster.
|
144
144
|
#
|
145
145
|
# Only resource names including projectid and location (region) are valid.
|
@@ -150,24 +150,24 @@ module Google
|
|
150
150
|
#
|
151
151
|
# Note that the policy must be in the same project and Dataproc region.
|
152
152
|
class AutoscalingConfig
|
153
|
-
include Google::Protobuf::MessageExts
|
154
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
155
|
end
|
156
156
|
|
157
157
|
# Encryption settings for the cluster.
|
158
158
|
# @!attribute [rw] gce_pd_kms_key_name
|
159
|
-
# @return [String]
|
159
|
+
# @return [::String]
|
160
160
|
# Optional. The Cloud KMS key name to use for PD disk encryption for all
|
161
161
|
# instances in the cluster.
|
162
162
|
class EncryptionConfig
|
163
|
-
include Google::Protobuf::MessageExts
|
164
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
include ::Google::Protobuf::MessageExts
|
164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
165
|
end
|
166
166
|
|
167
167
|
# Common config settings for resources of Compute Engine cluster
|
168
168
|
# instances, applicable to all instances in the cluster.
|
169
169
|
# @!attribute [rw] zone_uri
|
170
|
-
# @return [String]
|
170
|
+
# @return [::String]
|
171
171
|
# Optional. The zone where the Compute Engine cluster will be located.
|
172
172
|
# On a create request, it is required in the "global" region. If omitted
|
173
173
|
# in a non-global Dataproc region, the service will pick a zone in the
|
@@ -180,7 +180,7 @@ module Google
|
|
180
180
|
# * `projects/[project_id]/zones/[zone]`
|
181
181
|
# * `us-central1-f`
|
182
182
|
# @!attribute [rw] network_uri
|
183
|
-
# @return [String]
|
183
|
+
# @return [::String]
|
184
184
|
# Optional. The Compute Engine network to be used for machine
|
185
185
|
# communications. Cannot be specified with subnetwork_uri. If neither
|
186
186
|
# `network_uri` nor `subnetwork_uri` is specified, the "default" network of
|
@@ -194,7 +194,7 @@ module Google
|
|
194
194
|
# * `projects/[project_id]/regions/global/default`
|
195
195
|
# * `default`
|
196
196
|
# @!attribute [rw] subnetwork_uri
|
197
|
-
# @return [String]
|
197
|
+
# @return [::String]
|
198
198
|
# Optional. The Compute Engine subnetwork to be used for machine
|
199
199
|
# communications. Cannot be specified with network_uri.
|
200
200
|
#
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
# * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
|
205
205
|
# * `sub0`
|
206
206
|
# @!attribute [rw] internal_ip_only
|
207
|
-
# @return [Boolean]
|
207
|
+
# @return [::Boolean]
|
208
208
|
# Optional. If true, all instances in the cluster will only have internal IP
|
209
209
|
# addresses. By default, clusters are not restricted to internal IP
|
210
210
|
# addresses, and will have ephemeral external IP addresses assigned to each
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
# subnetwork enabled networks, and all off-cluster dependencies must be
|
213
213
|
# configured to be accessible without external IP addresses.
|
214
214
|
# @!attribute [rw] service_account
|
215
|
-
# @return [String]
|
215
|
+
# @return [::String]
|
216
216
|
# Optional. The [Dataproc service
|
217
217
|
# account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc)
|
218
218
|
# (also see [VM Data Plane
|
@@ -225,7 +225,7 @@ module Google
|
|
225
225
|
# account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
|
226
226
|
# is used.
|
227
227
|
# @!attribute [rw] service_account_scopes
|
228
|
-
# @return [Array
|
228
|
+
# @return [::Array<::String>]
|
229
229
|
# Optional. The URIs of service account scopes to be included in
|
230
230
|
# Compute Engine instances. The following base set of scopes is always
|
231
231
|
# included:
|
@@ -241,43 +241,43 @@ module Google
|
|
241
241
|
# * https://www.googleapis.com/auth/bigtable.data
|
242
242
|
# * https://www.googleapis.com/auth/devstorage.full_control
|
243
243
|
# @!attribute [rw] tags
|
244
|
-
# @return [Array
|
244
|
+
# @return [::Array<::String>]
|
245
245
|
# The Compute Engine tags to add to all instances (see [Tagging
|
246
246
|
# instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
|
247
247
|
# @!attribute [rw] metadata
|
248
|
-
# @return [Google::Protobuf::Map{String => String}]
|
248
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
249
249
|
# The Compute Engine metadata entries to add to all instances (see
|
250
250
|
# [Project and instance
|
251
251
|
# metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
252
252
|
# @!attribute [rw] reservation_affinity
|
253
|
-
# @return [Google::Cloud::Dataproc::V1::ReservationAffinity]
|
253
|
+
# @return [::Google::Cloud::Dataproc::V1::ReservationAffinity]
|
254
254
|
# Optional. Reservation Affinity for consuming Zonal reservation.
|
255
255
|
class GceClusterConfig
|
256
|
-
include Google::Protobuf::MessageExts
|
257
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
256
|
+
include ::Google::Protobuf::MessageExts
|
257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
258
258
|
|
259
259
|
# @!attribute [rw] key
|
260
|
-
# @return [String]
|
260
|
+
# @return [::String]
|
261
261
|
# @!attribute [rw] value
|
262
|
-
# @return [String]
|
262
|
+
# @return [::String]
|
263
263
|
class MetadataEntry
|
264
|
-
include Google::Protobuf::MessageExts
|
265
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
264
|
+
include ::Google::Protobuf::MessageExts
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
266
266
|
end
|
267
267
|
end
|
268
268
|
|
269
269
|
# The config settings for Compute Engine resources in
|
270
270
|
# an instance group, such as a master or worker group.
|
271
271
|
# @!attribute [rw] num_instances
|
272
|
-
# @return [Integer]
|
272
|
+
# @return [::Integer]
|
273
273
|
# Optional. The number of VM instances in the instance group.
|
274
274
|
# For master instance groups, must be set to 1.
|
275
275
|
# @!attribute [r] instance_names
|
276
|
-
# @return [Array
|
276
|
+
# @return [::Array<::String>]
|
277
277
|
# Output only. The list of instance names. Dataproc derives the names
|
278
278
|
# from `cluster_name`, `num_instances`, and the instance group.
|
279
279
|
# @!attribute [rw] image_uri
|
280
|
-
# @return [String]
|
280
|
+
# @return [::String]
|
281
281
|
# Optional. The Compute Engine image resource used for cluster instances.
|
282
282
|
#
|
283
283
|
# The URI can represent an image or image family.
|
@@ -297,7 +297,7 @@ module Google
|
|
297
297
|
# If the URI is unspecified, it will be inferred from
|
298
298
|
# `SoftwareConfig.image_version` or the system default.
|
299
299
|
# @!attribute [rw] machine_type_uri
|
300
|
-
# @return [String]
|
300
|
+
# @return [::String]
|
301
301
|
# Optional. The Compute Engine machine type used for cluster instances.
|
302
302
|
#
|
303
303
|
# A full URL, partial URI, or short name are valid. Examples:
|
@@ -312,49 +312,49 @@ module Google
|
|
312
312
|
# feature, you must use the short name of the machine type
|
313
313
|
# resource, for example, `n1-standard-2`.
|
314
314
|
# @!attribute [rw] disk_config
|
315
|
-
# @return [Google::Cloud::Dataproc::V1::DiskConfig]
|
315
|
+
# @return [::Google::Cloud::Dataproc::V1::DiskConfig]
|
316
316
|
# Optional. Disk option config settings.
|
317
317
|
# @!attribute [r] is_preemptible
|
318
|
-
# @return [Boolean]
|
318
|
+
# @return [::Boolean]
|
319
319
|
# Output only. Specifies that this instance group contains preemptible
|
320
320
|
# instances.
|
321
321
|
# @!attribute [r] managed_group_config
|
322
|
-
# @return [Google::Cloud::Dataproc::V1::ManagedGroupConfig]
|
322
|
+
# @return [::Google::Cloud::Dataproc::V1::ManagedGroupConfig]
|
323
323
|
# Output only. The config for Compute Engine Instance Group
|
324
324
|
# Manager that manages this group.
|
325
325
|
# This is only used for preemptible instance groups.
|
326
326
|
# @!attribute [rw] accelerators
|
327
|
-
# @return [Array
|
327
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::AcceleratorConfig>]
|
328
328
|
# Optional. The Compute Engine accelerator configuration for these
|
329
329
|
# instances.
|
330
330
|
# @!attribute [rw] min_cpu_platform
|
331
|
-
# @return [String]
|
331
|
+
# @return [::String]
|
332
332
|
# Optional. Specifies the minimum cpu platform for the Instance Group.
|
333
333
|
# See [Dataproc -> Minimum CPU
|
334
334
|
# Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
|
335
335
|
class InstanceGroupConfig
|
336
|
-
include Google::Protobuf::MessageExts
|
337
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
336
|
+
include ::Google::Protobuf::MessageExts
|
337
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
338
338
|
end
|
339
339
|
|
340
340
|
# Specifies the resources used to actively manage an instance group.
|
341
341
|
# @!attribute [r] instance_template_name
|
342
|
-
# @return [String]
|
342
|
+
# @return [::String]
|
343
343
|
# Output only. The name of the Instance Template used for the Managed
|
344
344
|
# Instance Group.
|
345
345
|
# @!attribute [r] instance_group_manager_name
|
346
|
-
# @return [String]
|
346
|
+
# @return [::String]
|
347
347
|
# Output only. The name of the Instance Group Manager for this group.
|
348
348
|
class ManagedGroupConfig
|
349
|
-
include Google::Protobuf::MessageExts
|
350
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
349
|
+
include ::Google::Protobuf::MessageExts
|
350
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
351
351
|
end
|
352
352
|
|
353
353
|
# Specifies the type and number of accelerator cards attached to the instances
|
354
354
|
# of an instance. See [GPUs on Compute
|
355
355
|
# Engine](https://cloud.google.com/compute/docs/gpus/).
|
356
356
|
# @!attribute [rw] accelerator_type_uri
|
357
|
-
# @return [String]
|
357
|
+
# @return [::String]
|
358
358
|
# Full URL, partial URI, or short name of the accelerator type resource to
|
359
359
|
# expose to this instance. See
|
360
360
|
# [Compute Engine
|
@@ -372,24 +372,24 @@ module Google
|
|
372
372
|
# feature, you must use the short name of the accelerator type
|
373
373
|
# resource, for example, `nvidia-tesla-k80`.
|
374
374
|
# @!attribute [rw] accelerator_count
|
375
|
-
# @return [Integer]
|
375
|
+
# @return [::Integer]
|
376
376
|
# The number of the accelerator cards of this type exposed to this instance.
|
377
377
|
class AcceleratorConfig
|
378
|
-
include Google::Protobuf::MessageExts
|
379
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
378
|
+
include ::Google::Protobuf::MessageExts
|
379
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
380
380
|
end
|
381
381
|
|
382
382
|
# Specifies the config of disk options for a group of VM instances.
|
383
383
|
# @!attribute [rw] boot_disk_type
|
384
|
-
# @return [String]
|
384
|
+
# @return [::String]
|
385
385
|
# Optional. Type of the boot disk (default is "pd-standard").
|
386
386
|
# Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
|
387
387
|
# "pd-standard" (Persistent Disk Hard Disk Drive).
|
388
388
|
# @!attribute [rw] boot_disk_size_gb
|
389
|
-
# @return [Integer]
|
389
|
+
# @return [::Integer]
|
390
390
|
# Optional. Size in GB of the boot disk (default is 500GB).
|
391
391
|
# @!attribute [rw] num_local_ssds
|
392
|
-
# @return [Integer]
|
392
|
+
# @return [::Integer]
|
393
393
|
# Optional. Number of attached SSDs, from 0 to 4 (default is 0).
|
394
394
|
# If SSDs are not attached, the boot disk is used to store runtime logs and
|
395
395
|
# [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data.
|
@@ -397,17 +397,17 @@ module Google
|
|
397
397
|
# data is spread across them, and the boot disk contains only basic
|
398
398
|
# config and installed binaries.
|
399
399
|
class DiskConfig
|
400
|
-
include Google::Protobuf::MessageExts
|
401
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
400
|
+
include ::Google::Protobuf::MessageExts
|
401
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
402
402
|
end
|
403
403
|
|
404
404
|
# Specifies an executable to run on a fully configured node and a
|
405
405
|
# timeout period for executable completion.
|
406
406
|
# @!attribute [rw] executable_file
|
407
|
-
# @return [String]
|
407
|
+
# @return [::String]
|
408
408
|
# Required. Cloud Storage URI of executable file.
|
409
409
|
# @!attribute [rw] execution_timeout
|
410
|
-
# @return [Google::Protobuf::Duration]
|
410
|
+
# @return [::Google::Protobuf::Duration]
|
411
411
|
# Optional. Amount of time executable has to complete. Default is
|
412
412
|
# 10 minutes (see JSON representation of
|
413
413
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
@@ -416,28 +416,28 @@ module Google
|
|
416
416
|
# name of the executable that caused the error and the exceeded timeout
|
417
417
|
# period) if the executable is not completed at end of the timeout period.
|
418
418
|
class NodeInitializationAction
|
419
|
-
include Google::Protobuf::MessageExts
|
420
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
419
|
+
include ::Google::Protobuf::MessageExts
|
420
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
421
421
|
end
|
422
422
|
|
423
423
|
# The status of a cluster and its instances.
|
424
424
|
# @!attribute [r] state
|
425
|
-
# @return [Google::Cloud::Dataproc::V1::ClusterStatus::State]
|
425
|
+
# @return [::Google::Cloud::Dataproc::V1::ClusterStatus::State]
|
426
426
|
# Output only. The cluster's state.
|
427
427
|
# @!attribute [r] detail
|
428
|
-
# @return [String]
|
428
|
+
# @return [::String]
|
429
429
|
# Optional. Output only. Details of cluster's state.
|
430
430
|
# @!attribute [r] state_start_time
|
431
|
-
# @return [Google::Protobuf::Timestamp]
|
431
|
+
# @return [::Google::Protobuf::Timestamp]
|
432
432
|
# Output only. Time when this state was entered (see JSON representation of
|
433
433
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
434
434
|
# @!attribute [r] substate
|
435
|
-
# @return [Google::Cloud::Dataproc::V1::ClusterStatus::Substate]
|
435
|
+
# @return [::Google::Cloud::Dataproc::V1::ClusterStatus::Substate]
|
436
436
|
# Output only. Additional state information that includes
|
437
437
|
# status reported by the agent.
|
438
438
|
class ClusterStatus
|
439
|
-
include Google::Protobuf::MessageExts
|
440
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
439
|
+
include ::Google::Protobuf::MessageExts
|
440
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
441
441
|
|
442
442
|
# The cluster state.
|
443
443
|
module State
|
@@ -482,89 +482,89 @@ module Google
|
|
482
482
|
|
483
483
|
# Security related configuration, including Kerberos.
|
484
484
|
# @!attribute [rw] kerberos_config
|
485
|
-
# @return [Google::Cloud::Dataproc::V1::KerberosConfig]
|
485
|
+
# @return [::Google::Cloud::Dataproc::V1::KerberosConfig]
|
486
486
|
# Kerberos related configuration.
|
487
487
|
class SecurityConfig
|
488
|
-
include Google::Protobuf::MessageExts
|
489
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
488
|
+
include ::Google::Protobuf::MessageExts
|
489
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
490
490
|
end
|
491
491
|
|
492
492
|
# Specifies Kerberos related configuration.
|
493
493
|
# @!attribute [rw] enable_kerberos
|
494
|
-
# @return [Boolean]
|
494
|
+
# @return [::Boolean]
|
495
495
|
# Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set
|
496
496
|
# this field to true to enable Kerberos on a cluster.
|
497
497
|
# @!attribute [rw] root_principal_password_uri
|
498
|
-
# @return [String]
|
498
|
+
# @return [::String]
|
499
499
|
# Required. The Cloud Storage URI of a KMS encrypted file containing the root
|
500
500
|
# principal password.
|
501
501
|
# @!attribute [rw] kms_key_uri
|
502
|
-
# @return [String]
|
502
|
+
# @return [::String]
|
503
503
|
# Required. The uri of the KMS key used to encrypt various sensitive
|
504
504
|
# files.
|
505
505
|
# @!attribute [rw] keystore_uri
|
506
|
-
# @return [String]
|
506
|
+
# @return [::String]
|
507
507
|
# Optional. The Cloud Storage URI of the keystore file used for SSL
|
508
508
|
# encryption. If not provided, Dataproc will provide a self-signed
|
509
509
|
# certificate.
|
510
510
|
# @!attribute [rw] truststore_uri
|
511
|
-
# @return [String]
|
511
|
+
# @return [::String]
|
512
512
|
# Optional. The Cloud Storage URI of the truststore file used for SSL
|
513
513
|
# encryption. If not provided, Dataproc will provide a self-signed
|
514
514
|
# certificate.
|
515
515
|
# @!attribute [rw] keystore_password_uri
|
516
|
-
# @return [String]
|
516
|
+
# @return [::String]
|
517
517
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
518
518
|
# password to the user provided keystore. For the self-signed certificate,
|
519
519
|
# this password is generated by Dataproc.
|
520
520
|
# @!attribute [rw] key_password_uri
|
521
|
-
# @return [String]
|
521
|
+
# @return [::String]
|
522
522
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
523
523
|
# password to the user provided key. For the self-signed certificate, this
|
524
524
|
# password is generated by Dataproc.
|
525
525
|
# @!attribute [rw] truststore_password_uri
|
526
|
-
# @return [String]
|
526
|
+
# @return [::String]
|
527
527
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
528
528
|
# password to the user provided truststore. For the self-signed certificate,
|
529
529
|
# this password is generated by Dataproc.
|
530
530
|
# @!attribute [rw] cross_realm_trust_realm
|
531
|
-
# @return [String]
|
531
|
+
# @return [::String]
|
532
532
|
# Optional. The remote realm the Dataproc on-cluster KDC will trust, should
|
533
533
|
# the user enable cross realm trust.
|
534
534
|
# @!attribute [rw] cross_realm_trust_kdc
|
535
|
-
# @return [String]
|
535
|
+
# @return [::String]
|
536
536
|
# Optional. The KDC (IP or hostname) for the remote trusted realm in a cross
|
537
537
|
# realm trust relationship.
|
538
538
|
# @!attribute [rw] cross_realm_trust_admin_server
|
539
|
-
# @return [String]
|
539
|
+
# @return [::String]
|
540
540
|
# Optional. The admin server (IP or hostname) for the remote trusted realm in
|
541
541
|
# a cross realm trust relationship.
|
542
542
|
# @!attribute [rw] cross_realm_trust_shared_password_uri
|
543
|
-
# @return [String]
|
543
|
+
# @return [::String]
|
544
544
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
545
545
|
# shared password between the on-cluster Kerberos realm and the remote
|
546
546
|
# trusted realm, in a cross realm trust relationship.
|
547
547
|
# @!attribute [rw] kdc_db_key_uri
|
548
|
-
# @return [String]
|
548
|
+
# @return [::String]
|
549
549
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
550
550
|
# master key of the KDC database.
|
551
551
|
# @!attribute [rw] tgt_lifetime_hours
|
552
|
-
# @return [Integer]
|
552
|
+
# @return [::Integer]
|
553
553
|
# Optional. The lifetime of the ticket granting ticket, in hours.
|
554
554
|
# If not specified, or user specifies 0, then default value 10
|
555
555
|
# will be used.
|
556
556
|
# @!attribute [rw] realm
|
557
|
-
# @return [String]
|
557
|
+
# @return [::String]
|
558
558
|
# Optional. The name of the on-cluster Kerberos realm.
|
559
559
|
# If not specified, the uppercased domain of hostnames will be the realm.
|
560
560
|
class KerberosConfig
|
561
|
-
include Google::Protobuf::MessageExts
|
562
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
561
|
+
include ::Google::Protobuf::MessageExts
|
562
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
563
563
|
end
|
564
564
|
|
565
565
|
# Specifies the selection and config of software inside the cluster.
|
566
566
|
# @!attribute [rw] image_version
|
567
|
-
# @return [String]
|
567
|
+
# @return [::String]
|
568
568
|
# Optional. The version of software inside the cluster. It must be one of the
|
569
569
|
# supported [Dataproc
|
570
570
|
# Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions),
|
@@ -573,7 +573,7 @@ module Google
|
|
573
573
|
# version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
|
574
574
|
# If unspecified, it defaults to the latest Debian version.
|
575
575
|
# @!attribute [rw] properties
|
576
|
-
# @return [Google::Protobuf::Map{String => String}]
|
576
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
577
577
|
# Optional. The properties to set on daemon config files.
|
578
578
|
#
|
579
579
|
# Property keys are specified in `prefix:property` format, for example
|
@@ -593,49 +593,49 @@ module Google
|
|
593
593
|
# For more information, see [Cluster
|
594
594
|
# properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
|
595
595
|
# @!attribute [rw] optional_components
|
596
|
-
# @return [Array
|
596
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::Component>]
|
597
597
|
# Optional. The set of components to activate on the cluster.
|
598
598
|
class SoftwareConfig
|
599
|
-
include Google::Protobuf::MessageExts
|
600
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
599
|
+
include ::Google::Protobuf::MessageExts
|
600
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
601
601
|
|
602
602
|
# @!attribute [rw] key
|
603
|
-
# @return [String]
|
603
|
+
# @return [::String]
|
604
604
|
# @!attribute [rw] value
|
605
|
-
# @return [String]
|
605
|
+
# @return [::String]
|
606
606
|
class PropertiesEntry
|
607
|
-
include Google::Protobuf::MessageExts
|
608
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
607
|
+
include ::Google::Protobuf::MessageExts
|
608
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
609
609
|
end
|
610
610
|
end
|
611
611
|
|
612
612
|
# Specifies the cluster auto-delete schedule configuration.
|
613
613
|
# @!attribute [rw] idle_delete_ttl
|
614
|
-
# @return [Google::Protobuf::Duration]
|
614
|
+
# @return [::Google::Protobuf::Duration]
|
615
615
|
# Optional. The duration to keep the cluster alive while idling (when no jobs
|
616
616
|
# are running). Passing this threshold will cause the cluster to be
|
617
617
|
# deleted. Minimum value is 10 minutes; maximum value is 14 days (see JSON
|
618
618
|
# representation of
|
619
619
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
|
620
620
|
# @!attribute [rw] auto_delete_time
|
621
|
-
# @return [Google::Protobuf::Timestamp]
|
621
|
+
# @return [::Google::Protobuf::Timestamp]
|
622
622
|
# Optional. The time when cluster will be auto-deleted (see JSON representation of
|
623
623
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
624
624
|
# @!attribute [rw] auto_delete_ttl
|
625
|
-
# @return [Google::Protobuf::Duration]
|
625
|
+
# @return [::Google::Protobuf::Duration]
|
626
626
|
# Optional. The lifetime duration of cluster. The cluster will be
|
627
627
|
# auto-deleted at the end of this period. Minimum value is 10 minutes;
|
628
628
|
# maximum value is 14 days (see JSON representation of
|
629
629
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
630
630
|
# @!attribute [r] idle_start_time
|
631
|
-
# @return [Google::Protobuf::Timestamp]
|
631
|
+
# @return [::Google::Protobuf::Timestamp]
|
632
632
|
# Output only. The time when cluster became idle (most recent job finished)
|
633
633
|
# and became eligible for deletion due to idleness (see JSON representation
|
634
634
|
# of
|
635
635
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
636
636
|
class LifecycleConfig
|
637
|
-
include Google::Protobuf::MessageExts
|
638
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
637
|
+
include ::Google::Protobuf::MessageExts
|
638
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
639
639
|
end
|
640
640
|
|
641
641
|
# Contains cluster daemon metrics, such as HDFS and YARN stats.
|
@@ -643,51 +643,51 @@ module Google
|
|
643
643
|
# **Beta Feature**: This report is available for testing purposes only. It may
|
644
644
|
# be changed before final release.
|
645
645
|
# @!attribute [rw] hdfs_metrics
|
646
|
-
# @return [Google::Protobuf::Map{String => Integer}]
|
646
|
+
# @return [::Google::Protobuf::Map{::String => ::Integer}]
|
647
647
|
# The HDFS metrics.
|
648
648
|
# @!attribute [rw] yarn_metrics
|
649
|
-
# @return [Google::Protobuf::Map{String => Integer}]
|
649
|
+
# @return [::Google::Protobuf::Map{::String => ::Integer}]
|
650
650
|
# The YARN metrics.
|
651
651
|
class ClusterMetrics
|
652
|
-
include Google::Protobuf::MessageExts
|
653
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
652
|
+
include ::Google::Protobuf::MessageExts
|
653
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
654
654
|
|
655
655
|
# @!attribute [rw] key
|
656
|
-
# @return [String]
|
656
|
+
# @return [::String]
|
657
657
|
# @!attribute [rw] value
|
658
|
-
# @return [Integer]
|
658
|
+
# @return [::Integer]
|
659
659
|
class HdfsMetricsEntry
|
660
|
-
include Google::Protobuf::MessageExts
|
661
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
660
|
+
include ::Google::Protobuf::MessageExts
|
661
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
662
662
|
end
|
663
663
|
|
664
664
|
# @!attribute [rw] key
|
665
|
-
# @return [String]
|
665
|
+
# @return [::String]
|
666
666
|
# @!attribute [rw] value
|
667
|
-
# @return [Integer]
|
667
|
+
# @return [::Integer]
|
668
668
|
class YarnMetricsEntry
|
669
|
-
include Google::Protobuf::MessageExts
|
670
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
669
|
+
include ::Google::Protobuf::MessageExts
|
670
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
671
671
|
end
|
672
672
|
end
|
673
673
|
|
674
674
|
# A request to create a cluster.
|
675
675
|
# @!attribute [rw] project_id
|
676
|
-
# @return [String]
|
676
|
+
# @return [::String]
|
677
677
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
678
678
|
# belongs to.
|
679
679
|
# @!attribute [rw] region
|
680
|
-
# @return [String]
|
680
|
+
# @return [::String]
|
681
681
|
# Required. The Dataproc region in which to handle the request.
|
682
682
|
# @!attribute [rw] cluster
|
683
|
-
# @return [Google::Cloud::Dataproc::V1::Cluster]
|
683
|
+
# @return [::Google::Cloud::Dataproc::V1::Cluster]
|
684
684
|
# Required. The cluster to create.
|
685
685
|
# @!attribute [rw] request_id
|
686
|
-
# @return [String]
|
686
|
+
# @return [::String]
|
687
687
|
# Optional. A unique id used to identify the request. If the server
|
688
|
-
# receives two {Google::Cloud::Dataproc::V1::CreateClusterRequest CreateClusterRequest} requests with the same
|
688
|
+
# receives two {::Google::Cloud::Dataproc::V1::CreateClusterRequest CreateClusterRequest} requests with the same
|
689
689
|
# id, then the second request will be ignored and the
|
690
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
|
690
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
|
691
691
|
# is returned.
|
692
692
|
#
|
693
693
|
# It is recommended to always set this value to a
|
@@ -696,26 +696,26 @@ module Google
|
|
696
696
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
697
697
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
698
698
|
class CreateClusterRequest
|
699
|
-
include Google::Protobuf::MessageExts
|
700
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
699
|
+
include ::Google::Protobuf::MessageExts
|
700
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
701
701
|
end
|
702
702
|
|
703
703
|
# A request to update a cluster.
|
704
704
|
# @!attribute [rw] project_id
|
705
|
-
# @return [String]
|
705
|
+
# @return [::String]
|
706
706
|
# Required. The ID of the Google Cloud Platform project the
|
707
707
|
# cluster belongs to.
|
708
708
|
# @!attribute [rw] region
|
709
|
-
# @return [String]
|
709
|
+
# @return [::String]
|
710
710
|
# Required. The Dataproc region in which to handle the request.
|
711
711
|
# @!attribute [rw] cluster_name
|
712
|
-
# @return [String]
|
712
|
+
# @return [::String]
|
713
713
|
# Required. The cluster name.
|
714
714
|
# @!attribute [rw] cluster
|
715
|
-
# @return [Google::Cloud::Dataproc::V1::Cluster]
|
715
|
+
# @return [::Google::Cloud::Dataproc::V1::Cluster]
|
716
716
|
# Required. The changes to the cluster.
|
717
717
|
# @!attribute [rw] graceful_decommission_timeout
|
718
|
-
# @return [Google::Protobuf::Duration]
|
718
|
+
# @return [::Google::Protobuf::Duration]
|
719
719
|
# Optional. Timeout for graceful YARN decomissioning. Graceful
|
720
720
|
# decommissioning allows removing nodes from the cluster without
|
721
721
|
# interrupting jobs in progress. Timeout specifies how long to wait for jobs
|
@@ -726,7 +726,7 @@ module Google
|
|
726
726
|
#
|
727
727
|
# Only supported on Dataproc image versions 1.2 and higher.
|
728
728
|
# @!attribute [rw] update_mask
|
729
|
-
# @return [Google::Protobuf::FieldMask]
|
729
|
+
# @return [::Google::Protobuf::FieldMask]
|
730
730
|
# Required. Specifies the path, relative to `Cluster`, of
|
731
731
|
# the field to update. For example, to change the number of workers
|
732
732
|
# in a cluster to 5, the `update_mask` parameter would be
|
@@ -779,11 +779,11 @@ module Google
|
|
779
779
|
# </tbody>
|
780
780
|
# </table>
|
781
781
|
# @!attribute [rw] request_id
|
782
|
-
# @return [String]
|
782
|
+
# @return [::String]
|
783
783
|
# Optional. A unique id used to identify the request. If the server
|
784
|
-
# receives two {Google::Cloud::Dataproc::V1::UpdateClusterRequest UpdateClusterRequest} requests with the same
|
784
|
+
# receives two {::Google::Cloud::Dataproc::V1::UpdateClusterRequest UpdateClusterRequest} requests with the same
|
785
785
|
# id, then the second request will be ignored and the
|
786
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
786
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
787
787
|
# backend is returned.
|
788
788
|
#
|
789
789
|
# It is recommended to always set this value to a
|
@@ -792,31 +792,31 @@ module Google
|
|
792
792
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
793
793
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
794
794
|
class UpdateClusterRequest
|
795
|
-
include Google::Protobuf::MessageExts
|
796
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
795
|
+
include ::Google::Protobuf::MessageExts
|
796
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
797
797
|
end
|
798
798
|
|
799
799
|
# A request to delete a cluster.
|
800
800
|
# @!attribute [rw] project_id
|
801
|
-
# @return [String]
|
801
|
+
# @return [::String]
|
802
802
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
803
803
|
# belongs to.
|
804
804
|
# @!attribute [rw] region
|
805
|
-
# @return [String]
|
805
|
+
# @return [::String]
|
806
806
|
# Required. The Dataproc region in which to handle the request.
|
807
807
|
# @!attribute [rw] cluster_name
|
808
|
-
# @return [String]
|
808
|
+
# @return [::String]
|
809
809
|
# Required. The cluster name.
|
810
810
|
# @!attribute [rw] cluster_uuid
|
811
|
-
# @return [String]
|
811
|
+
# @return [::String]
|
812
812
|
# Optional. Specifying the `cluster_uuid` means the RPC should fail
|
813
813
|
# (with error NOT_FOUND) if cluster with specified UUID does not exist.
|
814
814
|
# @!attribute [rw] request_id
|
815
|
-
# @return [String]
|
815
|
+
# @return [::String]
|
816
816
|
# Optional. A unique id used to identify the request. If the server
|
817
|
-
# receives two {Google::Cloud::Dataproc::V1::DeleteClusterRequest DeleteClusterRequest} requests with the same
|
817
|
+
# receives two {::Google::Cloud::Dataproc::V1::DeleteClusterRequest DeleteClusterRequest} requests with the same
|
818
818
|
# id, then the second request will be ignored and the
|
819
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
819
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
820
820
|
# backend is returned.
|
821
821
|
#
|
822
822
|
# It is recommended to always set this value to a
|
@@ -825,36 +825,36 @@ module Google
|
|
825
825
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
826
826
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
827
827
|
class DeleteClusterRequest
|
828
|
-
include Google::Protobuf::MessageExts
|
829
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
828
|
+
include ::Google::Protobuf::MessageExts
|
829
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
830
830
|
end
|
831
831
|
|
832
832
|
# Request to get the resource representation for a cluster in a project.
|
833
833
|
# @!attribute [rw] project_id
|
834
|
-
# @return [String]
|
834
|
+
# @return [::String]
|
835
835
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
836
836
|
# belongs to.
|
837
837
|
# @!attribute [rw] region
|
838
|
-
# @return [String]
|
838
|
+
# @return [::String]
|
839
839
|
# Required. The Dataproc region in which to handle the request.
|
840
840
|
# @!attribute [rw] cluster_name
|
841
|
-
# @return [String]
|
841
|
+
# @return [::String]
|
842
842
|
# Required. The cluster name.
|
843
843
|
class GetClusterRequest
|
844
|
-
include Google::Protobuf::MessageExts
|
845
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
844
|
+
include ::Google::Protobuf::MessageExts
|
845
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
846
846
|
end
|
847
847
|
|
848
848
|
# A request to list the clusters in a project.
|
849
849
|
# @!attribute [rw] project_id
|
850
|
-
# @return [String]
|
850
|
+
# @return [::String]
|
851
851
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
852
852
|
# belongs to.
|
853
853
|
# @!attribute [rw] region
|
854
|
-
# @return [String]
|
854
|
+
# @return [::String]
|
855
855
|
# Required. The Dataproc region in which to handle the request.
|
856
856
|
# @!attribute [rw] filter
|
857
|
-
# @return [String]
|
857
|
+
# @return [::String]
|
858
858
|
# Optional. A filter constraining the clusters to list. Filters are
|
859
859
|
# case-sensitive and have the following syntax:
|
860
860
|
#
|
@@ -875,70 +875,70 @@ module Google
|
|
875
875
|
# status.state = ACTIVE AND clusterName = mycluster
|
876
876
|
# AND labels.env = staging AND labels.starred = *
|
877
877
|
# @!attribute [rw] page_size
|
878
|
-
# @return [Integer]
|
878
|
+
# @return [::Integer]
|
879
879
|
# Optional. The standard List page size.
|
880
880
|
# @!attribute [rw] page_token
|
881
|
-
# @return [String]
|
881
|
+
# @return [::String]
|
882
882
|
# Optional. The standard List page token.
|
883
883
|
class ListClustersRequest
|
884
|
-
include Google::Protobuf::MessageExts
|
885
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
884
|
+
include ::Google::Protobuf::MessageExts
|
885
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
886
886
|
end
|
887
887
|
|
888
888
|
# The list of all clusters in a project.
|
889
889
|
# @!attribute [r] clusters
|
890
|
-
# @return [Array
|
890
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::Cluster>]
|
891
891
|
# Output only. The clusters in the project.
|
892
892
|
# @!attribute [r] next_page_token
|
893
|
-
# @return [String]
|
893
|
+
# @return [::String]
|
894
894
|
# Output only. This token is included in the response if there are more
|
895
895
|
# results to fetch. To fetch additional results, provide this value as the
|
896
896
|
# `page_token` in a subsequent `ListClustersRequest`.
|
897
897
|
class ListClustersResponse
|
898
|
-
include Google::Protobuf::MessageExts
|
899
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
898
|
+
include ::Google::Protobuf::MessageExts
|
899
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
900
900
|
end
|
901
901
|
|
902
902
|
# A request to collect cluster diagnostic information.
|
903
903
|
# @!attribute [rw] project_id
|
904
|
-
# @return [String]
|
904
|
+
# @return [::String]
|
905
905
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
906
906
|
# belongs to.
|
907
907
|
# @!attribute [rw] region
|
908
|
-
# @return [String]
|
908
|
+
# @return [::String]
|
909
909
|
# Required. The Dataproc region in which to handle the request.
|
910
910
|
# @!attribute [rw] cluster_name
|
911
|
-
# @return [String]
|
911
|
+
# @return [::String]
|
912
912
|
# Required. The cluster name.
|
913
913
|
class DiagnoseClusterRequest
|
914
|
-
include Google::Protobuf::MessageExts
|
915
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
914
|
+
include ::Google::Protobuf::MessageExts
|
915
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
916
916
|
end
|
917
917
|
|
918
918
|
# The location of diagnostic output.
|
919
919
|
# @!attribute [r] output_uri
|
920
|
-
# @return [String]
|
920
|
+
# @return [::String]
|
921
921
|
# Output only. The Cloud Storage URI of the diagnostic output.
|
922
922
|
# The output report is a plain text file with a summary of collected
|
923
923
|
# diagnostics.
|
924
924
|
class DiagnoseClusterResults
|
925
|
-
include Google::Protobuf::MessageExts
|
926
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
925
|
+
include ::Google::Protobuf::MessageExts
|
926
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
927
927
|
end
|
928
928
|
|
929
929
|
# Reservation Affinity for consuming Zonal reservation.
|
930
930
|
# @!attribute [rw] consume_reservation_type
|
931
|
-
# @return [Google::Cloud::Dataproc::V1::ReservationAffinity::Type]
|
931
|
+
# @return [::Google::Cloud::Dataproc::V1::ReservationAffinity::Type]
|
932
932
|
# Optional. Type of reservation to consume
|
933
933
|
# @!attribute [rw] key
|
934
|
-
# @return [String]
|
934
|
+
# @return [::String]
|
935
935
|
# Optional. Corresponds to the label key of reservation resource.
|
936
936
|
# @!attribute [rw] values
|
937
|
-
# @return [Array
|
937
|
+
# @return [::Array<::String>]
|
938
938
|
# Optional. Corresponds to the label values of reservation resource.
|
939
939
|
class ReservationAffinity
|
940
|
-
include Google::Protobuf::MessageExts
|
941
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
940
|
+
include ::Google::Protobuf::MessageExts
|
941
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
942
942
|
|
943
943
|
# Indicates whether to consume capacity from an reservation or not.
|
944
944
|
module Type
|