google-cloud-dataproc-v1beta2 0.1.0 → 0.1.1
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/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/dataproc/v1beta2.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/client.rb +120 -120
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/paths.rb +10 -10
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +171 -171
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/job_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +177 -177
- data/lib/google/cloud/dataproc/v1beta2/job_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +172 -172
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/paths.rb +10 -10
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb +45 -45
- data/proto_docs/google/cloud/dataproc/v1beta2/clusters.rb +203 -203
- data/proto_docs/google/cloud/dataproc/v1beta2/jobs.rb +224 -224
- data/proto_docs/google/cloud/dataproc/v1beta2/operations.rb +20 -20
- data/proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb +145 -145
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -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 V1beta2
|
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::V1beta2::BasicAutoscalingAlgorithm]
|
45
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::BasicAutoscalingAlgorithm]
|
46
46
|
# @!attribute [rw] worker_config
|
47
|
-
# @return [Google::Cloud::Dataproc::V1beta2::InstanceGroupAutoscalingPolicyConfig]
|
47
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::InstanceGroupAutoscalingPolicyConfig]
|
50
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::BasicYarnAutoscalingConfig]
|
59
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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
|
# Optional. 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, ). Required.
|
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
|
# has the following format:
|
175
175
|
# `projects/{project_id}/locations/{location}`
|
176
176
|
# @!attribute [rw] policy
|
177
|
-
# @return [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
177
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::AutoscalingPolicy]
|
204
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::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::V1beta2::ClusterConfig]
|
34
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::ClusterStatus]
|
47
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterStatus]
|
48
48
|
# Output only. Cluster status.
|
49
49
|
# @!attribute [r] status_history
|
50
|
-
# @return [Array
|
50
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::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::V1beta2::ClusterMetrics]
|
57
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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,29 +86,29 @@ 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::V1beta2::GceClusterConfig]
|
89
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::InstanceGroupConfig]
|
93
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::InstanceGroupConfig]
|
97
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::InstanceGroupConfig]
|
101
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::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::V1beta2::SoftwareConfig]
|
105
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::SoftwareConfig]
|
106
106
|
# Optional. The config settings for software inside the cluster.
|
107
107
|
# @!attribute [rw] lifecycle_config
|
108
|
-
# @return [Google::Cloud::Dataproc::V1beta2::LifecycleConfig]
|
108
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::LifecycleConfig]
|
109
109
|
# Optional. The config setting for auto delete cluster schedule.
|
110
110
|
# @!attribute [rw] initialization_actions
|
111
|
-
# @return [Array
|
111
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::NodeInitializationAction>]
|
112
112
|
# Optional. Commands to execute on each node after config is
|
113
113
|
# completed. By default, executables are run on master and all worker nodes.
|
114
114
|
# You can test a node's <code>role</code> metadata to run an executable on
|
@@ -123,77 +123,77 @@ module Google
|
|
123
123
|
# ... worker specific actions ...
|
124
124
|
# fi
|
125
125
|
# @!attribute [rw] encryption_config
|
126
|
-
# @return [Google::Cloud::Dataproc::V1beta2::EncryptionConfig]
|
126
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::EncryptionConfig]
|
127
127
|
# Optional. Encryption settings for the cluster.
|
128
128
|
# @!attribute [rw] autoscaling_config
|
129
|
-
# @return [Google::Cloud::Dataproc::V1beta2::AutoscalingConfig]
|
129
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::AutoscalingConfig]
|
130
130
|
# Optional. Autoscaling config for the policy associated with the cluster.
|
131
131
|
# Cluster does not autoscale if this field is unset.
|
132
132
|
# @!attribute [rw] endpoint_config
|
133
|
-
# @return [Google::Cloud::Dataproc::V1beta2::EndpointConfig]
|
133
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::EndpointConfig]
|
134
134
|
# Optional. Port/endpoint configuration for this cluster
|
135
135
|
# @!attribute [rw] security_config
|
136
|
-
# @return [Google::Cloud::Dataproc::V1beta2::SecurityConfig]
|
136
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::SecurityConfig]
|
137
137
|
# Optional. Security related configuration.
|
138
138
|
# @!attribute [rw] gke_cluster_config
|
139
|
-
# @return [Google::Cloud::Dataproc::V1beta2::GkeClusterConfig]
|
139
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::GkeClusterConfig]
|
140
140
|
# Optional. The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes.
|
141
141
|
# Setting this is considered mutually exclusive with Compute Engine-based
|
142
142
|
# options such as `gce_cluster_config`, `master_config`, `worker_config`,
|
143
143
|
# `secondary_worker_config`, and `autoscaling_config`.
|
144
144
|
class ClusterConfig
|
145
|
-
include Google::Protobuf::MessageExts
|
146
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
145
|
+
include ::Google::Protobuf::MessageExts
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
147
|
end
|
148
148
|
|
149
149
|
# The GKE config for this cluster.
|
150
150
|
# @!attribute [rw] namespaced_gke_deployment_target
|
151
|
-
# @return [Google::Cloud::Dataproc::V1beta2::GkeClusterConfig::NamespacedGkeDeploymentTarget]
|
151
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::GkeClusterConfig::NamespacedGkeDeploymentTarget]
|
152
152
|
# Optional. A target for the deployment.
|
153
153
|
class GkeClusterConfig
|
154
|
-
include Google::Protobuf::MessageExts
|
155
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
154
|
+
include ::Google::Protobuf::MessageExts
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
156
|
|
157
157
|
# A full, namespace-isolated deployment target for an existing GKE cluster.
|
158
158
|
# @!attribute [rw] target_gke_cluster
|
159
|
-
# @return [String]
|
159
|
+
# @return [::String]
|
160
160
|
# Optional. The target GKE cluster to deploy to.
|
161
161
|
# Format: 'projects/\\{project}/locations/\\{location}/clusters/\\{cluster_id}'
|
162
162
|
# @!attribute [rw] cluster_namespace
|
163
|
-
# @return [String]
|
163
|
+
# @return [::String]
|
164
164
|
# Optional. A namespace within the GKE cluster to deploy into.
|
165
165
|
class NamespacedGkeDeploymentTarget
|
166
|
-
include Google::Protobuf::MessageExts
|
167
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
166
|
+
include ::Google::Protobuf::MessageExts
|
167
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
171
|
# Endpoint config for this cluster
|
172
172
|
# @!attribute [r] http_ports
|
173
|
-
# @return [Google::Protobuf::Map{String => String}]
|
173
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
174
174
|
# Output only. The map of port descriptions to URLs. Will only be populated
|
175
175
|
# if enable_http_port_access is true.
|
176
176
|
# @!attribute [rw] enable_http_port_access
|
177
|
-
# @return [Boolean]
|
177
|
+
# @return [::Boolean]
|
178
178
|
# Optional. If true, enable http access to specific ports on the cluster
|
179
179
|
# from external sources. Defaults to false.
|
180
180
|
class EndpointConfig
|
181
|
-
include Google::Protobuf::MessageExts
|
182
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
183
|
|
184
184
|
# @!attribute [rw] key
|
185
|
-
# @return [String]
|
185
|
+
# @return [::String]
|
186
186
|
# @!attribute [rw] value
|
187
|
-
# @return [String]
|
187
|
+
# @return [::String]
|
188
188
|
class HttpPortsEntry
|
189
|
-
include Google::Protobuf::MessageExts
|
190
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
189
|
+
include ::Google::Protobuf::MessageExts
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
191
|
end
|
192
192
|
end
|
193
193
|
|
194
194
|
# Autoscaling Policy config associated with the cluster.
|
195
195
|
# @!attribute [rw] policy_uri
|
196
|
-
# @return [String]
|
196
|
+
# @return [::String]
|
197
197
|
# Optional. The autoscaling policy used by the cluster.
|
198
198
|
#
|
199
199
|
# Only resource names including projectid and location (region) are valid.
|
@@ -204,24 +204,24 @@ module Google
|
|
204
204
|
#
|
205
205
|
# Note that the policy must be in the same project and Dataproc region.
|
206
206
|
class AutoscalingConfig
|
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
|
# Encryption settings for the cluster.
|
212
212
|
# @!attribute [rw] gce_pd_kms_key_name
|
213
|
-
# @return [String]
|
213
|
+
# @return [::String]
|
214
214
|
# Optional. The Cloud KMS key name to use for PD disk encryption for all
|
215
215
|
# instances in the cluster.
|
216
216
|
class EncryptionConfig
|
217
|
-
include Google::Protobuf::MessageExts
|
218
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
217
|
+
include ::Google::Protobuf::MessageExts
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
219
|
end
|
220
220
|
|
221
221
|
# Common config settings for resources of Compute Engine cluster
|
222
222
|
# instances, applicable to all instances in the cluster.
|
223
223
|
# @!attribute [rw] zone_uri
|
224
|
-
# @return [String]
|
224
|
+
# @return [::String]
|
225
225
|
# Optional. The zone where the Compute Engine cluster will be located.
|
226
226
|
# On a create request, it is required in the "global" region. If omitted
|
227
227
|
# in a non-global Dataproc region, the service will pick a zone in the
|
@@ -234,7 +234,7 @@ module Google
|
|
234
234
|
# * `projects/[project_id]/zones/[zone]`
|
235
235
|
# * `us-central1-f`
|
236
236
|
# @!attribute [rw] network_uri
|
237
|
-
# @return [String]
|
237
|
+
# @return [::String]
|
238
238
|
# Optional. The Compute Engine network to be used for machine
|
239
239
|
# communications. Cannot be specified with subnetwork_uri. If neither
|
240
240
|
# `network_uri` nor `subnetwork_uri` is specified, the "default" network of
|
@@ -248,7 +248,7 @@ module Google
|
|
248
248
|
# * `projects/[project_id]/regions/global/default`
|
249
249
|
# * `default`
|
250
250
|
# @!attribute [rw] subnetwork_uri
|
251
|
-
# @return [String]
|
251
|
+
# @return [::String]
|
252
252
|
# Optional. The Compute Engine subnetwork to be used for machine
|
253
253
|
# communications. Cannot be specified with network_uri.
|
254
254
|
#
|
@@ -258,7 +258,7 @@ module Google
|
|
258
258
|
# * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
|
259
259
|
# * `sub0`
|
260
260
|
# @!attribute [rw] internal_ip_only
|
261
|
-
# @return [Boolean]
|
261
|
+
# @return [::Boolean]
|
262
262
|
# Optional. If true, all instances in the cluster will only have internal IP
|
263
263
|
# addresses. By default, clusters are not restricted to internal IP
|
264
264
|
# addresses, and will have ephemeral external IP addresses assigned to each
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
# subnetwork enabled networks, and all off-cluster dependencies must be
|
267
267
|
# configured to be accessible without external IP addresses.
|
268
268
|
# @!attribute [rw] service_account
|
269
|
-
# @return [String]
|
269
|
+
# @return [::String]
|
270
270
|
# Optional. The [Dataproc service
|
271
271
|
# account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc)
|
272
272
|
# (also see [VM Data Plane
|
@@ -279,7 +279,7 @@ module Google
|
|
279
279
|
# account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
|
280
280
|
# is used.
|
281
281
|
# @!attribute [rw] service_account_scopes
|
282
|
-
# @return [Array
|
282
|
+
# @return [::Array<::String>]
|
283
283
|
# Optional. The URIs of service account scopes to be included in
|
284
284
|
# Compute Engine instances. The following base set of scopes is always
|
285
285
|
# included:
|
@@ -295,43 +295,43 @@ module Google
|
|
295
295
|
# * https://www.googleapis.com/auth/bigtable.data
|
296
296
|
# * https://www.googleapis.com/auth/devstorage.full_control
|
297
297
|
# @!attribute [rw] tags
|
298
|
-
# @return [Array
|
298
|
+
# @return [::Array<::String>]
|
299
299
|
# The Compute Engine tags to add to all instances (see [Tagging
|
300
300
|
# instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
|
301
301
|
# @!attribute [rw] metadata
|
302
|
-
# @return [Google::Protobuf::Map{String => String}]
|
302
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
303
303
|
# The Compute Engine metadata entries to add to all instances (see
|
304
304
|
# [Project and instance
|
305
305
|
# metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
306
306
|
# @!attribute [rw] reservation_affinity
|
307
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ReservationAffinity]
|
307
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ReservationAffinity]
|
308
308
|
# Optional. Reservation Affinity for consuming Zonal reservation.
|
309
309
|
class GceClusterConfig
|
310
|
-
include Google::Protobuf::MessageExts
|
311
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
310
|
+
include ::Google::Protobuf::MessageExts
|
311
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
312
312
|
|
313
313
|
# @!attribute [rw] key
|
314
|
-
# @return [String]
|
314
|
+
# @return [::String]
|
315
315
|
# @!attribute [rw] value
|
316
|
-
# @return [String]
|
316
|
+
# @return [::String]
|
317
317
|
class MetadataEntry
|
318
|
-
include Google::Protobuf::MessageExts
|
319
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
318
|
+
include ::Google::Protobuf::MessageExts
|
319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
320
|
end
|
321
321
|
end
|
322
322
|
|
323
323
|
# The config settings for Compute Engine resources in
|
324
324
|
# an instance group, such as a master or worker group.
|
325
325
|
# @!attribute [rw] num_instances
|
326
|
-
# @return [Integer]
|
326
|
+
# @return [::Integer]
|
327
327
|
# Optional. The number of VM instances in the instance group.
|
328
328
|
# For master instance groups, must be set to 1.
|
329
329
|
# @!attribute [r] instance_names
|
330
|
-
# @return [Array
|
330
|
+
# @return [::Array<::String>]
|
331
331
|
# Output only. The list of instance names. Dataproc derives the names
|
332
332
|
# from `cluster_name`, `num_instances`, and the instance group.
|
333
333
|
# @!attribute [rw] image_uri
|
334
|
-
# @return [String]
|
334
|
+
# @return [::String]
|
335
335
|
# Optional. The Compute Engine image resource used for cluster instances.
|
336
336
|
#
|
337
337
|
# The URI can represent an image or image family.
|
@@ -351,7 +351,7 @@ module Google
|
|
351
351
|
# If the URI is unspecified, it will be inferred from
|
352
352
|
# `SoftwareConfig.image_version` or the system default.
|
353
353
|
# @!attribute [rw] machine_type_uri
|
354
|
-
# @return [String]
|
354
|
+
# @return [::String]
|
355
355
|
# Optional. The Compute Engine machine type used for cluster instances.
|
356
356
|
#
|
357
357
|
# A full URL, partial URI, or short name are valid. Examples:
|
@@ -366,49 +366,49 @@ module Google
|
|
366
366
|
# feature, you must use the short name of the machine type
|
367
367
|
# resource, for example, `n1-standard-2`.
|
368
368
|
# @!attribute [rw] disk_config
|
369
|
-
# @return [Google::Cloud::Dataproc::V1beta2::DiskConfig]
|
369
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::DiskConfig]
|
370
370
|
# Optional. Disk option config settings.
|
371
371
|
# @!attribute [r] is_preemptible
|
372
|
-
# @return [Boolean]
|
372
|
+
# @return [::Boolean]
|
373
373
|
# Output only. Specifies that this instance group contains preemptible
|
374
374
|
# instances.
|
375
375
|
# @!attribute [r] managed_group_config
|
376
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ManagedGroupConfig]
|
376
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ManagedGroupConfig]
|
377
377
|
# Output only. The config for Compute Engine Instance Group
|
378
378
|
# Manager that manages this group.
|
379
379
|
# This is only used for preemptible instance groups.
|
380
380
|
# @!attribute [rw] accelerators
|
381
|
-
# @return [Array
|
381
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::AcceleratorConfig>]
|
382
382
|
# Optional. The Compute Engine accelerator configuration for these
|
383
383
|
# instances.
|
384
384
|
# @!attribute [rw] min_cpu_platform
|
385
|
-
# @return [String]
|
385
|
+
# @return [::String]
|
386
386
|
# Specifies the minimum cpu platform for the Instance Group.
|
387
387
|
# See [Dataproc -> Minimum CPU
|
388
388
|
# Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
|
389
389
|
class InstanceGroupConfig
|
390
|
-
include Google::Protobuf::MessageExts
|
391
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
390
|
+
include ::Google::Protobuf::MessageExts
|
391
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
392
392
|
end
|
393
393
|
|
394
394
|
# Specifies the resources used to actively manage an instance group.
|
395
395
|
# @!attribute [r] instance_template_name
|
396
|
-
# @return [String]
|
396
|
+
# @return [::String]
|
397
397
|
# Output only. The name of the Instance Template used for the Managed
|
398
398
|
# Instance Group.
|
399
399
|
# @!attribute [r] instance_group_manager_name
|
400
|
-
# @return [String]
|
400
|
+
# @return [::String]
|
401
401
|
# Output only. The name of the Instance Group Manager for this group.
|
402
402
|
class ManagedGroupConfig
|
403
|
-
include Google::Protobuf::MessageExts
|
404
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
403
|
+
include ::Google::Protobuf::MessageExts
|
404
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
405
405
|
end
|
406
406
|
|
407
407
|
# Specifies the type and number of accelerator cards attached to the instances
|
408
408
|
# of an instance group (see [GPUs on Compute
|
409
409
|
# Engine](https://cloud.google.com/compute/docs/gpus/)).
|
410
410
|
# @!attribute [rw] accelerator_type_uri
|
411
|
-
# @return [String]
|
411
|
+
# @return [::String]
|
412
412
|
# Full URL, partial URI, or short name of the accelerator type resource to
|
413
413
|
# expose to this instance. See
|
414
414
|
# [Compute Engine
|
@@ -425,24 +425,24 @@ module Google
|
|
425
425
|
# feature, you must use the short name of the accelerator type
|
426
426
|
# resource, for example, `nvidia-tesla-k80`.
|
427
427
|
# @!attribute [rw] accelerator_count
|
428
|
-
# @return [Integer]
|
428
|
+
# @return [::Integer]
|
429
429
|
# The number of the accelerator cards of this type exposed to this instance.
|
430
430
|
class AcceleratorConfig
|
431
|
-
include Google::Protobuf::MessageExts
|
432
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
431
|
+
include ::Google::Protobuf::MessageExts
|
432
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
433
433
|
end
|
434
434
|
|
435
435
|
# Specifies the config of disk options for a group of VM instances.
|
436
436
|
# @!attribute [rw] boot_disk_type
|
437
|
-
# @return [String]
|
437
|
+
# @return [::String]
|
438
438
|
# Optional. Type of the boot disk (default is "pd-standard").
|
439
439
|
# Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
|
440
440
|
# "pd-standard" (Persistent Disk Hard Disk Drive).
|
441
441
|
# @!attribute [rw] boot_disk_size_gb
|
442
|
-
# @return [Integer]
|
442
|
+
# @return [::Integer]
|
443
443
|
# Optional. Size in GB of the boot disk (default is 500GB).
|
444
444
|
# @!attribute [rw] num_local_ssds
|
445
|
-
# @return [Integer]
|
445
|
+
# @return [::Integer]
|
446
446
|
# Number of attached SSDs, from 0 to 4 (default is 0).
|
447
447
|
# If SSDs are not attached, the boot disk is used to store runtime logs and
|
448
448
|
# [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data.
|
@@ -450,128 +450,128 @@ module Google
|
|
450
450
|
# data is spread across them, and the boot disk contains only basic
|
451
451
|
# config and installed binaries.
|
452
452
|
class DiskConfig
|
453
|
-
include Google::Protobuf::MessageExts
|
454
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
453
|
+
include ::Google::Protobuf::MessageExts
|
454
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
455
455
|
end
|
456
456
|
|
457
457
|
# Specifies the cluster auto-delete schedule configuration.
|
458
458
|
# @!attribute [rw] idle_delete_ttl
|
459
|
-
# @return [Google::Protobuf::Duration]
|
459
|
+
# @return [::Google::Protobuf::Duration]
|
460
460
|
# Optional. The duration to keep the cluster alive while idling (when no jobs
|
461
461
|
# are running). Passing this threshold will cause the cluster to be
|
462
462
|
# deleted. Minimum value is 10 minutes; maximum value is 14 days (see JSON
|
463
463
|
# representation of
|
464
464
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
|
465
465
|
# @!attribute [rw] auto_delete_time
|
466
|
-
# @return [Google::Protobuf::Timestamp]
|
466
|
+
# @return [::Google::Protobuf::Timestamp]
|
467
467
|
# Optional. The time when cluster will be auto-deleted. (see JSON representation of
|
468
468
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
469
469
|
# @!attribute [rw] auto_delete_ttl
|
470
|
-
# @return [Google::Protobuf::Duration]
|
470
|
+
# @return [::Google::Protobuf::Duration]
|
471
471
|
# Optional. The lifetime duration of cluster. The cluster will be
|
472
472
|
# auto-deleted at the end of this period. Minimum value is 10 minutes;
|
473
473
|
# maximum value is 14 days (see JSON representation of
|
474
474
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
475
475
|
# @!attribute [r] idle_start_time
|
476
|
-
# @return [Google::Protobuf::Timestamp]
|
476
|
+
# @return [::Google::Protobuf::Timestamp]
|
477
477
|
# Output only. The time when cluster became idle (most recent job finished)
|
478
478
|
# and became eligible for deletion due to idleness (see JSON representation
|
479
479
|
# of
|
480
480
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
481
481
|
class LifecycleConfig
|
482
|
-
include Google::Protobuf::MessageExts
|
483
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
482
|
+
include ::Google::Protobuf::MessageExts
|
483
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
484
484
|
end
|
485
485
|
|
486
486
|
# Security related configuration, including encryption, Kerberos, etc.
|
487
487
|
# @!attribute [rw] kerberos_config
|
488
|
-
# @return [Google::Cloud::Dataproc::V1beta2::KerberosConfig]
|
488
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::KerberosConfig]
|
489
489
|
# Kerberos related configuration.
|
490
490
|
class SecurityConfig
|
491
|
-
include Google::Protobuf::MessageExts
|
492
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
491
|
+
include ::Google::Protobuf::MessageExts
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
493
493
|
end
|
494
494
|
|
495
495
|
# Specifies Kerberos related configuration.
|
496
496
|
# @!attribute [rw] enable_kerberos
|
497
|
-
# @return [Boolean]
|
497
|
+
# @return [::Boolean]
|
498
498
|
# Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set
|
499
499
|
# this field to true to enable Kerberos on a cluster.
|
500
500
|
# @!attribute [rw] root_principal_password_uri
|
501
|
-
# @return [String]
|
501
|
+
# @return [::String]
|
502
502
|
# Required. The Cloud Storage URI of a KMS encrypted file containing the root
|
503
503
|
# principal password.
|
504
504
|
# @!attribute [rw] kms_key_uri
|
505
|
-
# @return [String]
|
505
|
+
# @return [::String]
|
506
506
|
# Required. The uri of the KMS key used to encrypt various sensitive
|
507
507
|
# files.
|
508
508
|
# @!attribute [rw] keystore_uri
|
509
|
-
# @return [String]
|
509
|
+
# @return [::String]
|
510
510
|
# Optional. The Cloud Storage URI of the keystore file used for SSL
|
511
511
|
# encryption. If not provided, Dataproc will provide a self-signed
|
512
512
|
# certificate.
|
513
513
|
# @!attribute [rw] truststore_uri
|
514
|
-
# @return [String]
|
514
|
+
# @return [::String]
|
515
515
|
# Optional. The Cloud Storage URI of the truststore file used for SSL
|
516
516
|
# encryption. If not provided, Dataproc will provide a self-signed
|
517
517
|
# certificate.
|
518
518
|
# @!attribute [rw] keystore_password_uri
|
519
|
-
# @return [String]
|
519
|
+
# @return [::String]
|
520
520
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
521
521
|
# password to the user provided keystore. For the self-signed certificate,
|
522
522
|
# this password is generated by Dataproc.
|
523
523
|
# @!attribute [rw] key_password_uri
|
524
|
-
# @return [String]
|
524
|
+
# @return [::String]
|
525
525
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
526
526
|
# password to the user provided key. For the self-signed certificate, this
|
527
527
|
# password is generated by Dataproc.
|
528
528
|
# @!attribute [rw] truststore_password_uri
|
529
|
-
# @return [String]
|
529
|
+
# @return [::String]
|
530
530
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
531
531
|
# password to the user provided truststore. For the self-signed certificate,
|
532
532
|
# this password is generated by Dataproc.
|
533
533
|
# @!attribute [rw] cross_realm_trust_realm
|
534
|
-
# @return [String]
|
534
|
+
# @return [::String]
|
535
535
|
# Optional. The remote realm the Dataproc on-cluster KDC will trust, should
|
536
536
|
# the user enable cross realm trust.
|
537
537
|
# @!attribute [rw] cross_realm_trust_kdc
|
538
|
-
# @return [String]
|
538
|
+
# @return [::String]
|
539
539
|
# Optional. The KDC (IP or hostname) for the remote trusted realm in a cross
|
540
540
|
# realm trust relationship.
|
541
541
|
# @!attribute [rw] cross_realm_trust_admin_server
|
542
|
-
# @return [String]
|
542
|
+
# @return [::String]
|
543
543
|
# Optional. The admin server (IP or hostname) for the remote trusted realm in
|
544
544
|
# a cross realm trust relationship.
|
545
545
|
# @!attribute [rw] cross_realm_trust_shared_password_uri
|
546
|
-
# @return [String]
|
546
|
+
# @return [::String]
|
547
547
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
548
548
|
# shared password between the on-cluster Kerberos realm and the remote
|
549
549
|
# trusted realm, in a cross realm trust relationship.
|
550
550
|
# @!attribute [rw] kdc_db_key_uri
|
551
|
-
# @return [String]
|
551
|
+
# @return [::String]
|
552
552
|
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
|
553
553
|
# master key of the KDC database.
|
554
554
|
# @!attribute [rw] tgt_lifetime_hours
|
555
|
-
# @return [Integer]
|
555
|
+
# @return [::Integer]
|
556
556
|
# Optional. The lifetime of the ticket granting ticket, in hours.
|
557
557
|
# If not specified, or user specifies 0, then default value 10
|
558
558
|
# will be used.
|
559
559
|
# @!attribute [rw] realm
|
560
|
-
# @return [String]
|
560
|
+
# @return [::String]
|
561
561
|
# Optional. The name of the on-cluster Kerberos realm.
|
562
562
|
# If not specified, the uppercased domain of hostnames will be the realm.
|
563
563
|
class KerberosConfig
|
564
|
-
include Google::Protobuf::MessageExts
|
565
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
564
|
+
include ::Google::Protobuf::MessageExts
|
565
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
566
566
|
end
|
567
567
|
|
568
568
|
# Specifies an executable to run on a fully configured node and a
|
569
569
|
# timeout period for executable completion.
|
570
570
|
# @!attribute [rw] executable_file
|
571
|
-
# @return [String]
|
571
|
+
# @return [::String]
|
572
572
|
# Required. Cloud Storage URI of executable file.
|
573
573
|
# @!attribute [rw] execution_timeout
|
574
|
-
# @return [Google::Protobuf::Duration]
|
574
|
+
# @return [::Google::Protobuf::Duration]
|
575
575
|
# Optional. Amount of time executable has to complete. Default is
|
576
576
|
# 10 minutes (see JSON representation of
|
577
577
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
@@ -580,28 +580,28 @@ module Google
|
|
580
580
|
# name of the executable that caused the error and the exceeded timeout
|
581
581
|
# period) if the executable is not completed at end of the timeout period.
|
582
582
|
class NodeInitializationAction
|
583
|
-
include Google::Protobuf::MessageExts
|
584
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
583
|
+
include ::Google::Protobuf::MessageExts
|
584
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
585
585
|
end
|
586
586
|
|
587
587
|
# The status of a cluster and its instances.
|
588
588
|
# @!attribute [r] state
|
589
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterStatus::State]
|
589
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterStatus::State]
|
590
590
|
# Output only. The cluster's state.
|
591
591
|
# @!attribute [r] detail
|
592
|
-
# @return [String]
|
592
|
+
# @return [::String]
|
593
593
|
# Output only. Optional details of cluster's state.
|
594
594
|
# @!attribute [r] state_start_time
|
595
|
-
# @return [Google::Protobuf::Timestamp]
|
595
|
+
# @return [::Google::Protobuf::Timestamp]
|
596
596
|
# Output only. Time when this state was entered (see JSON representation of
|
597
597
|
# [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
598
598
|
# @!attribute [r] substate
|
599
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ClusterStatus::Substate]
|
599
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ClusterStatus::Substate]
|
600
600
|
# Output only. Additional state information that includes
|
601
601
|
# status reported by the agent.
|
602
602
|
class ClusterStatus
|
603
|
-
include Google::Protobuf::MessageExts
|
604
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
603
|
+
include ::Google::Protobuf::MessageExts
|
604
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
605
605
|
|
606
606
|
# The cluster state.
|
607
607
|
module State
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
|
656
656
|
# Specifies the selection and config of software inside the cluster.
|
657
657
|
# @!attribute [rw] image_version
|
658
|
-
# @return [String]
|
658
|
+
# @return [::String]
|
659
659
|
# Optional. The version of software inside the cluster. It must be one of the
|
660
660
|
# supported [Dataproc
|
661
661
|
# Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions),
|
@@ -664,7 +664,7 @@ module Google
|
|
664
664
|
# version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
|
665
665
|
# If unspecified, it defaults to the latest Debian version.
|
666
666
|
# @!attribute [rw] properties
|
667
|
-
# @return [Google::Protobuf::Map{String => String}]
|
667
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
668
668
|
# Optional. The properties to set on daemon config files.
|
669
669
|
#
|
670
670
|
# Property keys are specified in `prefix:property` format, for example
|
@@ -684,19 +684,19 @@ module Google
|
|
684
684
|
# For more information, see [Cluster
|
685
685
|
# properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
|
686
686
|
# @!attribute [rw] optional_components
|
687
|
-
# @return [Array
|
687
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::Component>]
|
688
688
|
# The set of optional components to activate on the cluster.
|
689
689
|
class SoftwareConfig
|
690
|
-
include Google::Protobuf::MessageExts
|
691
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
690
|
+
include ::Google::Protobuf::MessageExts
|
691
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
692
692
|
|
693
693
|
# @!attribute [rw] key
|
694
|
-
# @return [String]
|
694
|
+
# @return [::String]
|
695
695
|
# @!attribute [rw] value
|
696
|
-
# @return [String]
|
696
|
+
# @return [::String]
|
697
697
|
class PropertiesEntry
|
698
|
-
include Google::Protobuf::MessageExts
|
699
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
698
|
+
include ::Google::Protobuf::MessageExts
|
699
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
700
700
|
end
|
701
701
|
end
|
702
702
|
|
@@ -705,51 +705,51 @@ module Google
|
|
705
705
|
# **Beta Feature**: This report is available for testing purposes only. It may
|
706
706
|
# be changed before final release.
|
707
707
|
# @!attribute [rw] hdfs_metrics
|
708
|
-
# @return [Google::Protobuf::Map{String => Integer}]
|
708
|
+
# @return [::Google::Protobuf::Map{::String => ::Integer}]
|
709
709
|
# The HDFS metrics.
|
710
710
|
# @!attribute [rw] yarn_metrics
|
711
|
-
# @return [Google::Protobuf::Map{String => Integer}]
|
711
|
+
# @return [::Google::Protobuf::Map{::String => ::Integer}]
|
712
712
|
# The YARN metrics.
|
713
713
|
class ClusterMetrics
|
714
|
-
include Google::Protobuf::MessageExts
|
715
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
714
|
+
include ::Google::Protobuf::MessageExts
|
715
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
716
716
|
|
717
717
|
# @!attribute [rw] key
|
718
|
-
# @return [String]
|
718
|
+
# @return [::String]
|
719
719
|
# @!attribute [rw] value
|
720
|
-
# @return [Integer]
|
720
|
+
# @return [::Integer]
|
721
721
|
class HdfsMetricsEntry
|
722
|
-
include Google::Protobuf::MessageExts
|
723
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
722
|
+
include ::Google::Protobuf::MessageExts
|
723
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
724
724
|
end
|
725
725
|
|
726
726
|
# @!attribute [rw] key
|
727
|
-
# @return [String]
|
727
|
+
# @return [::String]
|
728
728
|
# @!attribute [rw] value
|
729
|
-
# @return [Integer]
|
729
|
+
# @return [::Integer]
|
730
730
|
class YarnMetricsEntry
|
731
|
-
include Google::Protobuf::MessageExts
|
732
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
731
|
+
include ::Google::Protobuf::MessageExts
|
732
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
733
733
|
end
|
734
734
|
end
|
735
735
|
|
736
736
|
# A request to create a cluster.
|
737
737
|
# @!attribute [rw] project_id
|
738
|
-
# @return [String]
|
738
|
+
# @return [::String]
|
739
739
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
740
740
|
# belongs to.
|
741
741
|
# @!attribute [rw] region
|
742
|
-
# @return [String]
|
742
|
+
# @return [::String]
|
743
743
|
# Required. The Dataproc region in which to handle the request.
|
744
744
|
# @!attribute [rw] cluster
|
745
|
-
# @return [Google::Cloud::Dataproc::V1beta2::Cluster]
|
745
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::Cluster]
|
746
746
|
# Required. The cluster to create.
|
747
747
|
# @!attribute [rw] request_id
|
748
|
-
# @return [String]
|
748
|
+
# @return [::String]
|
749
749
|
# Optional. A unique id used to identify the request. If the server
|
750
|
-
# receives two {Google::Cloud::Dataproc::V1beta2::CreateClusterRequest CreateClusterRequest} requests with the same
|
750
|
+
# receives two {::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest CreateClusterRequest} requests with the same
|
751
751
|
# id, then the second request will be ignored and the
|
752
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
|
752
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
|
753
753
|
# is returned.
|
754
754
|
#
|
755
755
|
# It is recommended to always set this value to a
|
@@ -758,26 +758,26 @@ module Google
|
|
758
758
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
759
759
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
760
760
|
class CreateClusterRequest
|
761
|
-
include Google::Protobuf::MessageExts
|
762
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
761
|
+
include ::Google::Protobuf::MessageExts
|
762
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
763
763
|
end
|
764
764
|
|
765
765
|
# A request to update a cluster.
|
766
766
|
# @!attribute [rw] project_id
|
767
|
-
# @return [String]
|
767
|
+
# @return [::String]
|
768
768
|
# Required. The ID of the Google Cloud Platform project the
|
769
769
|
# cluster belongs to.
|
770
770
|
# @!attribute [rw] region
|
771
|
-
# @return [String]
|
771
|
+
# @return [::String]
|
772
772
|
# Required. The Dataproc region in which to handle the request.
|
773
773
|
# @!attribute [rw] cluster_name
|
774
|
-
# @return [String]
|
774
|
+
# @return [::String]
|
775
775
|
# Required. The cluster name.
|
776
776
|
# @!attribute [rw] cluster
|
777
|
-
# @return [Google::Cloud::Dataproc::V1beta2::Cluster]
|
777
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::Cluster]
|
778
778
|
# Required. The changes to the cluster.
|
779
779
|
# @!attribute [rw] graceful_decommission_timeout
|
780
|
-
# @return [Google::Protobuf::Duration]
|
780
|
+
# @return [::Google::Protobuf::Duration]
|
781
781
|
# Optional. Timeout for graceful YARN decomissioning. Graceful
|
782
782
|
# decommissioning allows removing nodes from the cluster without
|
783
783
|
# interrupting jobs in progress. Timeout specifies how long to wait for jobs
|
@@ -788,7 +788,7 @@ module Google
|
|
788
788
|
#
|
789
789
|
# Only supported on Dataproc image versions 1.2 and higher.
|
790
790
|
# @!attribute [rw] update_mask
|
791
|
-
# @return [Google::Protobuf::FieldMask]
|
791
|
+
# @return [::Google::Protobuf::FieldMask]
|
792
792
|
# Required. Specifies the path, relative to `Cluster`, of
|
793
793
|
# the field to update. For example, to change the number of workers
|
794
794
|
# in a cluster to 5, the `update_mask` parameter would be
|
@@ -850,11 +850,11 @@ module Google
|
|
850
850
|
# </tr>
|
851
851
|
# </table>
|
852
852
|
# @!attribute [rw] request_id
|
853
|
-
# @return [String]
|
853
|
+
# @return [::String]
|
854
854
|
# Optional. A unique id used to identify the request. If the server
|
855
|
-
# receives two {Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest UpdateClusterRequest} requests with the same
|
855
|
+
# receives two {::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest UpdateClusterRequest} requests with the same
|
856
856
|
# id, then the second request will be ignored and the
|
857
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
857
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
858
858
|
# backend is returned.
|
859
859
|
#
|
860
860
|
# It is recommended to always set this value to a
|
@@ -863,31 +863,31 @@ module Google
|
|
863
863
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
864
864
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
865
865
|
class UpdateClusterRequest
|
866
|
-
include Google::Protobuf::MessageExts
|
867
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
866
|
+
include ::Google::Protobuf::MessageExts
|
867
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
868
868
|
end
|
869
869
|
|
870
870
|
# A request to delete a cluster.
|
871
871
|
# @!attribute [rw] project_id
|
872
|
-
# @return [String]
|
872
|
+
# @return [::String]
|
873
873
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
874
874
|
# belongs to.
|
875
875
|
# @!attribute [rw] region
|
876
|
-
# @return [String]
|
876
|
+
# @return [::String]
|
877
877
|
# Required. The Dataproc region in which to handle the request.
|
878
878
|
# @!attribute [rw] cluster_name
|
879
|
-
# @return [String]
|
879
|
+
# @return [::String]
|
880
880
|
# Required. The cluster name.
|
881
881
|
# @!attribute [rw] cluster_uuid
|
882
|
-
# @return [String]
|
882
|
+
# @return [::String]
|
883
883
|
# Optional. Specifying the `cluster_uuid` means the RPC should fail
|
884
884
|
# (with error NOT_FOUND) if cluster with specified UUID does not exist.
|
885
885
|
# @!attribute [rw] request_id
|
886
|
-
# @return [String]
|
886
|
+
# @return [::String]
|
887
887
|
# Optional. A unique id used to identify the request. If the server
|
888
|
-
# receives two {Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest DeleteClusterRequest} requests with the same
|
888
|
+
# receives two {::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest DeleteClusterRequest} requests with the same
|
889
889
|
# id, then the second request will be ignored and the
|
890
|
-
# first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
890
|
+
# first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
|
891
891
|
# backend is returned.
|
892
892
|
#
|
893
893
|
# It is recommended to always set this value to a
|
@@ -896,36 +896,36 @@ module Google
|
|
896
896
|
# The id must contain only letters (a-z, A-Z), numbers (0-9),
|
897
897
|
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
898
898
|
class DeleteClusterRequest
|
899
|
-
include Google::Protobuf::MessageExts
|
900
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
899
|
+
include ::Google::Protobuf::MessageExts
|
900
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
901
901
|
end
|
902
902
|
|
903
903
|
# Request to get the resource representation for a cluster in a project.
|
904
904
|
# @!attribute [rw] project_id
|
905
|
-
# @return [String]
|
905
|
+
# @return [::String]
|
906
906
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
907
907
|
# belongs to.
|
908
908
|
# @!attribute [rw] region
|
909
|
-
# @return [String]
|
909
|
+
# @return [::String]
|
910
910
|
# Required. The Dataproc region in which to handle the request.
|
911
911
|
# @!attribute [rw] cluster_name
|
912
|
-
# @return [String]
|
912
|
+
# @return [::String]
|
913
913
|
# Required. The cluster name.
|
914
914
|
class GetClusterRequest
|
915
|
-
include Google::Protobuf::MessageExts
|
916
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
915
|
+
include ::Google::Protobuf::MessageExts
|
916
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
917
917
|
end
|
918
918
|
|
919
919
|
# A request to list the clusters in a project.
|
920
920
|
# @!attribute [rw] project_id
|
921
|
-
# @return [String]
|
921
|
+
# @return [::String]
|
922
922
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
923
923
|
# belongs to.
|
924
924
|
# @!attribute [rw] region
|
925
|
-
# @return [String]
|
925
|
+
# @return [::String]
|
926
926
|
# Required. The Dataproc region in which to handle the request.
|
927
927
|
# @!attribute [rw] filter
|
928
|
-
# @return [String]
|
928
|
+
# @return [::String]
|
929
929
|
# Optional. A filter constraining the clusters to list. Filters are
|
930
930
|
# case-sensitive and have the following syntax:
|
931
931
|
#
|
@@ -946,70 +946,70 @@ module Google
|
|
946
946
|
# status.state = ACTIVE AND clusterName = mycluster
|
947
947
|
# AND labels.env = staging AND labels.starred = *
|
948
948
|
# @!attribute [rw] page_size
|
949
|
-
# @return [Integer]
|
949
|
+
# @return [::Integer]
|
950
950
|
# Optional. The standard List page size.
|
951
951
|
# @!attribute [rw] page_token
|
952
|
-
# @return [String]
|
952
|
+
# @return [::String]
|
953
953
|
# Optional. The standard List page token.
|
954
954
|
class ListClustersRequest
|
955
|
-
include Google::Protobuf::MessageExts
|
956
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
955
|
+
include ::Google::Protobuf::MessageExts
|
956
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
957
957
|
end
|
958
958
|
|
959
959
|
# The list of all clusters in a project.
|
960
960
|
# @!attribute [r] clusters
|
961
|
-
# @return [Array
|
961
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1beta2::Cluster>]
|
962
962
|
# Output only. The clusters in the project.
|
963
963
|
# @!attribute [r] next_page_token
|
964
|
-
# @return [String]
|
964
|
+
# @return [::String]
|
965
965
|
# Output only. This token is included in the response if there are more
|
966
966
|
# results to fetch. To fetch additional results, provide this value as the
|
967
967
|
# `page_token` in a subsequent <code>ListClustersRequest</code>.
|
968
968
|
class ListClustersResponse
|
969
|
-
include Google::Protobuf::MessageExts
|
970
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
969
|
+
include ::Google::Protobuf::MessageExts
|
970
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
971
971
|
end
|
972
972
|
|
973
973
|
# A request to collect cluster diagnostic information.
|
974
974
|
# @!attribute [rw] project_id
|
975
|
-
# @return [String]
|
975
|
+
# @return [::String]
|
976
976
|
# Required. The ID of the Google Cloud Platform project that the cluster
|
977
977
|
# belongs to.
|
978
978
|
# @!attribute [rw] region
|
979
|
-
# @return [String]
|
979
|
+
# @return [::String]
|
980
980
|
# Required. The Dataproc region in which to handle the request.
|
981
981
|
# @!attribute [rw] cluster_name
|
982
|
-
# @return [String]
|
982
|
+
# @return [::String]
|
983
983
|
# Required. The cluster name.
|
984
984
|
class DiagnoseClusterRequest
|
985
|
-
include Google::Protobuf::MessageExts
|
986
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
985
|
+
include ::Google::Protobuf::MessageExts
|
986
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
987
987
|
end
|
988
988
|
|
989
989
|
# The location of diagnostic output.
|
990
990
|
# @!attribute [r] output_uri
|
991
|
-
# @return [String]
|
991
|
+
# @return [::String]
|
992
992
|
# Output only. The Cloud Storage URI of the diagnostic output.
|
993
993
|
# The output report is a plain text file with a summary of collected
|
994
994
|
# diagnostics.
|
995
995
|
class DiagnoseClusterResults
|
996
|
-
include Google::Protobuf::MessageExts
|
997
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
996
|
+
include ::Google::Protobuf::MessageExts
|
997
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
998
998
|
end
|
999
999
|
|
1000
1000
|
# Reservation Affinity for consuming Zonal reservation.
|
1001
1001
|
# @!attribute [rw] consume_reservation_type
|
1002
|
-
# @return [Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type]
|
1002
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type]
|
1003
1003
|
# Optional. Type of reservation to consume
|
1004
1004
|
# @!attribute [rw] key
|
1005
|
-
# @return [String]
|
1005
|
+
# @return [::String]
|
1006
1006
|
# Optional. Corresponds to the label key of reservation resource.
|
1007
1007
|
# @!attribute [rw] values
|
1008
|
-
# @return [Array
|
1008
|
+
# @return [::Array<::String>]
|
1009
1009
|
# Optional. Corresponds to the label values of reservation resource.
|
1010
1010
|
class ReservationAffinity
|
1011
|
-
include Google::Protobuf::MessageExts
|
1012
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1011
|
+
include ::Google::Protobuf::MessageExts
|
1012
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1013
1013
|
|
1014
1014
|
# Indicates whether to consume capacity from an reservation or not.
|
1015
1015
|
module Type
|