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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/dataproc/v1beta2.rb +1 -1
  5. data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service.rb +1 -1
  6. data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/client.rb +120 -120
  7. data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/credentials.rb +1 -1
  8. data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/paths.rb +10 -10
  9. data/lib/google/cloud/dataproc/v1beta2/cluster_controller.rb +1 -1
  10. data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +171 -171
  11. data/lib/google/cloud/dataproc/v1beta2/cluster_controller/credentials.rb +1 -1
  12. data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +100 -100
  13. data/lib/google/cloud/dataproc/v1beta2/job_controller.rb +1 -1
  14. data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +177 -177
  15. data/lib/google/cloud/dataproc/v1beta2/job_controller/credentials.rb +1 -1
  16. data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +100 -100
  17. data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
  18. data/lib/google/cloud/dataproc/v1beta2/workflow_template_service.rb +1 -1
  19. data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +172 -172
  20. data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/credentials.rb +1 -1
  21. data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +100 -100
  22. data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/paths.rb +10 -10
  23. data/proto_docs/google/api/resource.rb +12 -12
  24. data/proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb +45 -45
  25. data/proto_docs/google/cloud/dataproc/v1beta2/clusters.rb +203 -203
  26. data/proto_docs/google/cloud/dataproc/v1beta2/jobs.rb +224 -224
  27. data/proto_docs/google/cloud/dataproc/v1beta2/operations.rb +20 -20
  28. data/proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb +145 -145
  29. data/proto_docs/google/longrunning/operations.rb +30 -30
  30. data/proto_docs/google/protobuf/any.rb +4 -4
  31. data/proto_docs/google/protobuf/duration.rb +4 -4
  32. data/proto_docs/google/protobuf/empty.rb +2 -2
  33. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  34. data/proto_docs/google/protobuf/timestamp.rb +4 -4
  35. data/proto_docs/google/rpc/status.rb +6 -6
  36. metadata +2 -2
@@ -24,7 +24,7 @@ module Google
24
24
  module V1beta2
25
25
  module AutoscalingPolicyService
26
26
  # Credentials for the AutoscalingPolicyService API.
27
- class Credentials < Google::Auth::Credentials
27
+ class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
29
  "https://www.googleapis.com/auth/cloud-platform"
30
30
  ]
@@ -45,25 +45,25 @@ module Google
45
45
  # @param region [String]
46
46
  # @param autoscaling_policy [String]
47
47
  #
48
- # @return [String]
48
+ # @return [::String]
49
49
  def autoscaling_policy_path **args
50
50
  resources = {
51
51
  "autoscaling_policy:location:project" => (proc do |project:, location:, autoscaling_policy:|
52
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
53
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
52
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
53
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
54
54
 
55
55
  "projects/#{project}/locations/#{location}/autoscalingPolicies/#{autoscaling_policy}"
56
56
  end),
57
57
  "autoscaling_policy:project:region" => (proc do |project:, region:, autoscaling_policy:|
58
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
- raise ArgumentError, "region cannot contain /" if region.to_s.include? "/"
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+ raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
60
60
 
61
61
  "projects/#{project}/regions/#{region}/autoscalingPolicies/#{autoscaling_policy}"
62
62
  end)
63
63
  }
64
64
 
65
65
  resource = resources[args.keys.sort.join(":")]
66
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
66
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
67
67
  resource.call(**args)
68
68
  end
69
69
 
@@ -77,9 +77,9 @@ module Google
77
77
  # @param project [String]
78
78
  # @param location [String]
79
79
  #
80
- # @return [String]
80
+ # @return [::String]
81
81
  def location_path project:, location:
82
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
83
83
 
84
84
  "projects/#{project}/locations/#{location}"
85
85
  end
@@ -94,9 +94,9 @@ module Google
94
94
  # @param project [String]
95
95
  # @param region [String]
96
96
  #
97
- # @return [String]
97
+ # @return [::String]
98
98
  def region_path project:, region:
99
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
100
 
101
101
  "projects/#{project}/regions/#{region}"
102
102
  end
@@ -37,7 +37,7 @@ module Google
37
37
  # To load this service and instantiate a client:
38
38
  #
39
39
  # require "google/cloud/dataproc/v1beta2/cluster_controller"
40
- # client = Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new
40
+ # client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new
41
41
  #
42
42
  module ClusterController
43
43
  end
@@ -37,15 +37,15 @@ module Google
37
37
  ##
38
38
  # Configure the ClusterController Client class.
39
39
  #
40
- # See {Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration}
40
+ # See {::Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration}
41
41
  # for a description of the configuration fields.
42
42
  #
43
43
  # ## Example
44
44
  #
45
45
  # To modify the configuration for all ClusterController clients:
46
46
  #
47
- # Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
48
- # config.timeout = 10_000
47
+ # ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
48
+ # config.timeout = 10.0
49
49
  # end
50
50
  #
51
51
  # @yield [config] Configure the Client client.
@@ -125,7 +125,7 @@ module Google
125
125
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
126
126
  # should be made on {Client.configure}.
127
127
  #
128
- # See {Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration}
128
+ # See {::Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration}
129
129
  # for a description of the configuration fields.
130
130
  #
131
131
  # @yield [config] Configure the Client client.
@@ -146,13 +146,13 @@ module Google
146
146
  # To create a new ClusterController client with the default
147
147
  # configuration:
148
148
  #
149
- # client = Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new
149
+ # client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new
150
150
  #
151
151
  # To create a new ClusterController client with a custom
152
152
  # configuration:
153
153
  #
154
- # client = Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
155
- # config.timeout = 10_000
154
+ # client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
155
+ # config.timeout = 10.0
156
156
  # end
157
157
  #
158
158
  # @yield [config] Configure the ClusterController client.
@@ -184,8 +184,8 @@ module Google
184
184
  config.endpoint = @config.endpoint
185
185
  end
186
186
 
187
- @cluster_controller_stub = Gapic::ServiceStub.new(
188
- Google::Cloud::Dataproc::V1beta2::ClusterController::Stub,
187
+ @cluster_controller_stub = ::Gapic::ServiceStub.new(
188
+ ::Google::Cloud::Dataproc::V1beta2::ClusterController::Stub,
189
189
  credentials: credentials,
190
190
  endpoint: @config.endpoint,
191
191
  channel_args: @config.channel_args,
@@ -196,7 +196,7 @@ module Google
196
196
  ##
197
197
  # Get the associated client for long-running operations.
198
198
  #
199
- # @return [Google::Cloud::Dataproc::V1beta2::ClusterController::Operations]
199
+ # @return [::Google::Cloud::Dataproc::V1beta2::ClusterController::Operations]
200
200
  #
201
201
  attr_reader :operations_client
202
202
 
@@ -204,17 +204,17 @@ module Google
204
204
 
205
205
  ##
206
206
  # Creates a cluster in a project. The returned
207
- # {Google::Longrunning::Operation#metadata Operation.metadata} will be
207
+ # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
208
208
  # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
209
209
  #
210
210
  # @overload create_cluster(request, options = nil)
211
211
  # Pass arguments to `create_cluster` via a request object, either of type
212
- # {Google::Cloud::Dataproc::V1beta2::CreateClusterRequest} or an equivalent Hash.
212
+ # {::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest} or an equivalent Hash.
213
213
  #
214
- # @param request [Google::Cloud::Dataproc::V1beta2::CreateClusterRequest, Hash]
214
+ # @param request [::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest, ::Hash]
215
215
  # A request object representing the call parameters. Required. To specify no
216
216
  # parameters, or to keep all the default parameter values, pass an empty Hash.
217
- # @param options [Gapic::CallOptions, Hash]
217
+ # @param options [::Gapic::CallOptions, ::Hash]
218
218
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
219
219
  #
220
220
  # @overload create_cluster(project_id: nil, region: nil, cluster: nil, request_id: nil)
@@ -222,18 +222,18 @@ module Google
222
222
  # least one keyword argument is required. To specify no parameters, or to keep all
223
223
  # the default parameter values, pass an empty Hash as a request object (see above).
224
224
  #
225
- # @param project_id [String]
225
+ # @param project_id [::String]
226
226
  # Required. The ID of the Google Cloud Platform project that the cluster
227
227
  # belongs to.
228
- # @param region [String]
228
+ # @param region [::String]
229
229
  # Required. The Dataproc region in which to handle the request.
230
- # @param cluster [Google::Cloud::Dataproc::V1beta2::Cluster, Hash]
230
+ # @param cluster [::Google::Cloud::Dataproc::V1beta2::Cluster, ::Hash]
231
231
  # Required. The cluster to create.
232
- # @param request_id [String]
232
+ # @param request_id [::String]
233
233
  # Optional. A unique id used to identify the request. If the server
234
- # receives two {Google::Cloud::Dataproc::V1beta2::CreateClusterRequest CreateClusterRequest} requests with the same
234
+ # receives two {::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest CreateClusterRequest} requests with the same
235
235
  # id, then the second request will be ignored and the
236
- # first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
236
+ # first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the backend
237
237
  # is returned.
238
238
  #
239
239
  # It is recommended to always set this value to a
@@ -243,26 +243,26 @@ module Google
243
243
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
244
244
  #
245
245
  # @yield [response, operation] Access the result along with the RPC operation
246
- # @yieldparam response [Gapic::Operation]
247
- # @yieldparam operation [GRPC::ActiveCall::Operation]
246
+ # @yieldparam response [::Gapic::Operation]
247
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
248
248
  #
249
- # @return [Gapic::Operation]
249
+ # @return [::Gapic::Operation]
250
250
  #
251
- # @raise [Google::Cloud::Error] if the RPC is aborted.
251
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
252
252
  #
253
253
  def create_cluster request, options = nil
254
- raise ArgumentError, "request must be provided" if request.nil?
254
+ raise ::ArgumentError, "request must be provided" if request.nil?
255
255
 
256
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::CreateClusterRequest
256
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest
257
257
 
258
258
  # Converts hash and nil to an options object
259
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
259
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
260
260
 
261
261
  # Customize the options with defaults
262
262
  metadata = @config.rpcs.create_cluster.metadata.to_h
263
263
 
264
264
  # Set x-goog-api-client and x-goog-user-project headers
265
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
265
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
266
266
  lib_name: @config.lib_name, lib_version: @config.lib_version,
267
267
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
268
268
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -281,27 +281,27 @@ module Google
281
281
  retry_policy: @config.retry_policy
282
282
 
283
283
  @cluster_controller_stub.call_rpc :create_cluster, request, options: options do |response, operation|
284
- response = Gapic::Operation.new response, @operations_client, options: options
284
+ response = ::Gapic::Operation.new response, @operations_client, options: options
285
285
  yield response, operation if block_given?
286
286
  return response
287
287
  end
288
- rescue GRPC::BadStatus => e
289
- raise Google::Cloud::Error.from_error(e)
288
+ rescue ::GRPC::BadStatus => e
289
+ raise ::Google::Cloud::Error.from_error(e)
290
290
  end
291
291
 
292
292
  ##
293
293
  # Updates a cluster in a project. The returned
294
- # {Google::Longrunning::Operation#metadata Operation.metadata} will be
294
+ # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
295
295
  # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
296
296
  #
297
297
  # @overload update_cluster(request, options = nil)
298
298
  # Pass arguments to `update_cluster` via a request object, either of type
299
- # {Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest} or an equivalent Hash.
299
+ # {::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest} or an equivalent Hash.
300
300
  #
301
- # @param request [Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest, Hash]
301
+ # @param request [::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest, ::Hash]
302
302
  # A request object representing the call parameters. Required. To specify no
303
303
  # parameters, or to keep all the default parameter values, pass an empty Hash.
304
- # @param options [Gapic::CallOptions, Hash]
304
+ # @param options [::Gapic::CallOptions, ::Hash]
305
305
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
306
306
  #
307
307
  # @overload update_cluster(project_id: nil, region: nil, cluster_name: nil, cluster: nil, graceful_decommission_timeout: nil, update_mask: nil, request_id: nil)
@@ -309,16 +309,16 @@ module Google
309
309
  # least one keyword argument is required. To specify no parameters, or to keep all
310
310
  # the default parameter values, pass an empty Hash as a request object (see above).
311
311
  #
312
- # @param project_id [String]
312
+ # @param project_id [::String]
313
313
  # Required. The ID of the Google Cloud Platform project the
314
314
  # cluster belongs to.
315
- # @param region [String]
315
+ # @param region [::String]
316
316
  # Required. The Dataproc region in which to handle the request.
317
- # @param cluster_name [String]
317
+ # @param cluster_name [::String]
318
318
  # Required. The cluster name.
319
- # @param cluster [Google::Cloud::Dataproc::V1beta2::Cluster, Hash]
319
+ # @param cluster [::Google::Cloud::Dataproc::V1beta2::Cluster, ::Hash]
320
320
  # Required. The changes to the cluster.
321
- # @param graceful_decommission_timeout [Google::Protobuf::Duration, Hash]
321
+ # @param graceful_decommission_timeout [::Google::Protobuf::Duration, ::Hash]
322
322
  # Optional. Timeout for graceful YARN decomissioning. Graceful
323
323
  # decommissioning allows removing nodes from the cluster without
324
324
  # interrupting jobs in progress. Timeout specifies how long to wait for jobs
@@ -328,7 +328,7 @@ module Google
328
328
  # [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
329
329
  #
330
330
  # Only supported on Dataproc image versions 1.2 and higher.
331
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
331
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
332
332
  # Required. Specifies the path, relative to `Cluster`, of
333
333
  # the field to update. For example, to change the number of workers
334
334
  # in a cluster to 5, the `update_mask` parameter would be
@@ -389,11 +389,11 @@ module Google
389
389
  # autoscaling policies</td>
390
390
  # </tr>
391
391
  # </table>
392
- # @param request_id [String]
392
+ # @param request_id [::String]
393
393
  # Optional. A unique id used to identify the request. If the server
394
- # receives two {Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest UpdateClusterRequest} requests with the same
394
+ # receives two {::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest UpdateClusterRequest} requests with the same
395
395
  # id, then the second request will be ignored and the
396
- # first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
396
+ # first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
397
397
  # backend is returned.
398
398
  #
399
399
  # It is recommended to always set this value to a
@@ -403,26 +403,26 @@ module Google
403
403
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
404
404
  #
405
405
  # @yield [response, operation] Access the result along with the RPC operation
406
- # @yieldparam response [Gapic::Operation]
407
- # @yieldparam operation [GRPC::ActiveCall::Operation]
406
+ # @yieldparam response [::Gapic::Operation]
407
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
408
408
  #
409
- # @return [Gapic::Operation]
409
+ # @return [::Gapic::Operation]
410
410
  #
411
- # @raise [Google::Cloud::Error] if the RPC is aborted.
411
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
412
412
  #
413
413
  def update_cluster request, options = nil
414
- raise ArgumentError, "request must be provided" if request.nil?
414
+ raise ::ArgumentError, "request must be provided" if request.nil?
415
415
 
416
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest
416
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest
417
417
 
418
418
  # Converts hash and nil to an options object
419
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
419
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
420
420
 
421
421
  # Customize the options with defaults
422
422
  metadata = @config.rpcs.update_cluster.metadata.to_h
423
423
 
424
424
  # Set x-goog-api-client and x-goog-user-project headers
425
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
425
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
426
426
  lib_name: @config.lib_name, lib_version: @config.lib_version,
427
427
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
428
428
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -442,27 +442,27 @@ module Google
442
442
  retry_policy: @config.retry_policy
443
443
 
444
444
  @cluster_controller_stub.call_rpc :update_cluster, request, options: options do |response, operation|
445
- response = Gapic::Operation.new response, @operations_client, options: options
445
+ response = ::Gapic::Operation.new response, @operations_client, options: options
446
446
  yield response, operation if block_given?
447
447
  return response
448
448
  end
449
- rescue GRPC::BadStatus => e
450
- raise Google::Cloud::Error.from_error(e)
449
+ rescue ::GRPC::BadStatus => e
450
+ raise ::Google::Cloud::Error.from_error(e)
451
451
  end
452
452
 
453
453
  ##
454
454
  # Deletes a cluster in a project. The returned
455
- # {Google::Longrunning::Operation#metadata Operation.metadata} will be
455
+ # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
456
456
  # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
457
457
  #
458
458
  # @overload delete_cluster(request, options = nil)
459
459
  # Pass arguments to `delete_cluster` via a request object, either of type
460
- # {Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest} or an equivalent Hash.
460
+ # {::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest} or an equivalent Hash.
461
461
  #
462
- # @param request [Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest, Hash]
462
+ # @param request [::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest, ::Hash]
463
463
  # A request object representing the call parameters. Required. To specify no
464
464
  # parameters, or to keep all the default parameter values, pass an empty Hash.
465
- # @param options [Gapic::CallOptions, Hash]
465
+ # @param options [::Gapic::CallOptions, ::Hash]
466
466
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
467
467
  #
468
468
  # @overload delete_cluster(project_id: nil, region: nil, cluster_name: nil, cluster_uuid: nil, request_id: nil)
@@ -470,21 +470,21 @@ module Google
470
470
  # least one keyword argument is required. To specify no parameters, or to keep all
471
471
  # the default parameter values, pass an empty Hash as a request object (see above).
472
472
  #
473
- # @param project_id [String]
473
+ # @param project_id [::String]
474
474
  # Required. The ID of the Google Cloud Platform project that the cluster
475
475
  # belongs to.
476
- # @param region [String]
476
+ # @param region [::String]
477
477
  # Required. The Dataproc region in which to handle the request.
478
- # @param cluster_name [String]
478
+ # @param cluster_name [::String]
479
479
  # Required. The cluster name.
480
- # @param cluster_uuid [String]
480
+ # @param cluster_uuid [::String]
481
481
  # Optional. Specifying the `cluster_uuid` means the RPC should fail
482
482
  # (with error NOT_FOUND) if cluster with specified UUID does not exist.
483
- # @param request_id [String]
483
+ # @param request_id [::String]
484
484
  # Optional. A unique id used to identify the request. If the server
485
- # receives two {Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest DeleteClusterRequest} requests with the same
485
+ # receives two {::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest DeleteClusterRequest} requests with the same
486
486
  # id, then the second request will be ignored and the
487
- # first {Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
487
+ # first {::Google::Longrunning::Operation google.longrunning.Operation} created and stored in the
488
488
  # backend is returned.
489
489
  #
490
490
  # It is recommended to always set this value to a
@@ -494,26 +494,26 @@ module Google
494
494
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
495
495
  #
496
496
  # @yield [response, operation] Access the result along with the RPC operation
497
- # @yieldparam response [Gapic::Operation]
498
- # @yieldparam operation [GRPC::ActiveCall::Operation]
497
+ # @yieldparam response [::Gapic::Operation]
498
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
499
499
  #
500
- # @return [Gapic::Operation]
500
+ # @return [::Gapic::Operation]
501
501
  #
502
- # @raise [Google::Cloud::Error] if the RPC is aborted.
502
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
503
503
  #
504
504
  def delete_cluster request, options = nil
505
- raise ArgumentError, "request must be provided" if request.nil?
505
+ raise ::ArgumentError, "request must be provided" if request.nil?
506
506
 
507
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest
507
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest
508
508
 
509
509
  # Converts hash and nil to an options object
510
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
510
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
511
511
 
512
512
  # Customize the options with defaults
513
513
  metadata = @config.rpcs.delete_cluster.metadata.to_h
514
514
 
515
515
  # Set x-goog-api-client and x-goog-user-project headers
516
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
516
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
517
517
  lib_name: @config.lib_name, lib_version: @config.lib_version,
518
518
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
519
519
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -533,12 +533,12 @@ module Google
533
533
  retry_policy: @config.retry_policy
534
534
 
535
535
  @cluster_controller_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
536
- response = Gapic::Operation.new response, @operations_client, options: options
536
+ response = ::Gapic::Operation.new response, @operations_client, options: options
537
537
  yield response, operation if block_given?
538
538
  return response
539
539
  end
540
- rescue GRPC::BadStatus => e
541
- raise Google::Cloud::Error.from_error(e)
540
+ rescue ::GRPC::BadStatus => e
541
+ raise ::Google::Cloud::Error.from_error(e)
542
542
  end
543
543
 
544
544
  ##
@@ -546,12 +546,12 @@ module Google
546
546
  #
547
547
  # @overload get_cluster(request, options = nil)
548
548
  # Pass arguments to `get_cluster` via a request object, either of type
549
- # {Google::Cloud::Dataproc::V1beta2::GetClusterRequest} or an equivalent Hash.
549
+ # {::Google::Cloud::Dataproc::V1beta2::GetClusterRequest} or an equivalent Hash.
550
550
  #
551
- # @param request [Google::Cloud::Dataproc::V1beta2::GetClusterRequest, Hash]
551
+ # @param request [::Google::Cloud::Dataproc::V1beta2::GetClusterRequest, ::Hash]
552
552
  # A request object representing the call parameters. Required. To specify no
553
553
  # parameters, or to keep all the default parameter values, pass an empty Hash.
554
- # @param options [Gapic::CallOptions, Hash]
554
+ # @param options [::Gapic::CallOptions, ::Hash]
555
555
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
556
556
  #
557
557
  # @overload get_cluster(project_id: nil, region: nil, cluster_name: nil)
@@ -559,35 +559,35 @@ module Google
559
559
  # least one keyword argument is required. To specify no parameters, or to keep all
560
560
  # the default parameter values, pass an empty Hash as a request object (see above).
561
561
  #
562
- # @param project_id [String]
562
+ # @param project_id [::String]
563
563
  # Required. The ID of the Google Cloud Platform project that the cluster
564
564
  # belongs to.
565
- # @param region [String]
565
+ # @param region [::String]
566
566
  # Required. The Dataproc region in which to handle the request.
567
- # @param cluster_name [String]
567
+ # @param cluster_name [::String]
568
568
  # Required. The cluster name.
569
569
  #
570
570
  # @yield [response, operation] Access the result along with the RPC operation
571
- # @yieldparam response [Google::Cloud::Dataproc::V1beta2::Cluster]
572
- # @yieldparam operation [GRPC::ActiveCall::Operation]
571
+ # @yieldparam response [::Google::Cloud::Dataproc::V1beta2::Cluster]
572
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
573
573
  #
574
- # @return [Google::Cloud::Dataproc::V1beta2::Cluster]
574
+ # @return [::Google::Cloud::Dataproc::V1beta2::Cluster]
575
575
  #
576
- # @raise [Google::Cloud::Error] if the RPC is aborted.
576
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
577
577
  #
578
578
  def get_cluster request, options = nil
579
- raise ArgumentError, "request must be provided" if request.nil?
579
+ raise ::ArgumentError, "request must be provided" if request.nil?
580
580
 
581
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::GetClusterRequest
581
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::GetClusterRequest
582
582
 
583
583
  # Converts hash and nil to an options object
584
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
584
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
585
585
 
586
586
  # Customize the options with defaults
587
587
  metadata = @config.rpcs.get_cluster.metadata.to_h
588
588
 
589
589
  # Set x-goog-api-client and x-goog-user-project headers
590
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
590
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
591
591
  lib_name: @config.lib_name, lib_version: @config.lib_version,
592
592
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
593
593
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -610,8 +610,8 @@ module Google
610
610
  yield response, operation if block_given?
611
611
  return response
612
612
  end
613
- rescue GRPC::BadStatus => e
614
- raise Google::Cloud::Error.from_error(e)
613
+ rescue ::GRPC::BadStatus => e
614
+ raise ::Google::Cloud::Error.from_error(e)
615
615
  end
616
616
 
617
617
  ##
@@ -619,12 +619,12 @@ module Google
619
619
  #
620
620
  # @overload list_clusters(request, options = nil)
621
621
  # Pass arguments to `list_clusters` via a request object, either of type
622
- # {Google::Cloud::Dataproc::V1beta2::ListClustersRequest} or an equivalent Hash.
622
+ # {::Google::Cloud::Dataproc::V1beta2::ListClustersRequest} or an equivalent Hash.
623
623
  #
624
- # @param request [Google::Cloud::Dataproc::V1beta2::ListClustersRequest, Hash]
624
+ # @param request [::Google::Cloud::Dataproc::V1beta2::ListClustersRequest, ::Hash]
625
625
  # A request object representing the call parameters. Required. To specify no
626
626
  # parameters, or to keep all the default parameter values, pass an empty Hash.
627
- # @param options [Gapic::CallOptions, Hash]
627
+ # @param options [::Gapic::CallOptions, ::Hash]
628
628
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
629
629
  #
630
630
  # @overload list_clusters(project_id: nil, region: nil, filter: nil, page_size: nil, page_token: nil)
@@ -632,12 +632,12 @@ module Google
632
632
  # least one keyword argument is required. To specify no parameters, or to keep all
633
633
  # the default parameter values, pass an empty Hash as a request object (see above).
634
634
  #
635
- # @param project_id [String]
635
+ # @param project_id [::String]
636
636
  # Required. The ID of the Google Cloud Platform project that the cluster
637
637
  # belongs to.
638
- # @param region [String]
638
+ # @param region [::String]
639
639
  # Required. The Dataproc region in which to handle the request.
640
- # @param filter [String]
640
+ # @param filter [::String]
641
641
  # Optional. A filter constraining the clusters to list. Filters are
642
642
  # case-sensitive and have the following syntax:
643
643
  #
@@ -657,32 +657,32 @@ module Google
657
657
  #
658
658
  # status.state = ACTIVE AND clusterName = mycluster
659
659
  # AND labels.env = staging AND labels.starred = *
660
- # @param page_size [Integer]
660
+ # @param page_size [::Integer]
661
661
  # Optional. The standard List page size.
662
- # @param page_token [String]
662
+ # @param page_token [::String]
663
663
  # Optional. The standard List page token.
664
664
  #
665
665
  # @yield [response, operation] Access the result along with the RPC operation
666
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1beta2::Cluster>]
667
- # @yieldparam operation [GRPC::ActiveCall::Operation]
666
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1beta2::Cluster>]
667
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
668
668
  #
669
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1beta2::Cluster>]
669
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1beta2::Cluster>]
670
670
  #
671
- # @raise [Google::Cloud::Error] if the RPC is aborted.
671
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
672
672
  #
673
673
  def list_clusters request, options = nil
674
- raise ArgumentError, "request must be provided" if request.nil?
674
+ raise ::ArgumentError, "request must be provided" if request.nil?
675
675
 
676
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::ListClustersRequest
676
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::ListClustersRequest
677
677
 
678
678
  # Converts hash and nil to an options object
679
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
679
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
680
680
 
681
681
  # Customize the options with defaults
682
682
  metadata = @config.rpcs.list_clusters.metadata.to_h
683
683
 
684
684
  # Set x-goog-api-client and x-goog-user-project headers
685
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
685
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
686
686
  lib_name: @config.lib_name, lib_version: @config.lib_version,
687
687
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
688
688
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -701,31 +701,31 @@ module Google
701
701
  retry_policy: @config.retry_policy
702
702
 
703
703
  @cluster_controller_stub.call_rpc :list_clusters, request, options: options do |response, operation|
704
- response = Gapic::PagedEnumerable.new @cluster_controller_stub, :list_clusters, request, response, operation, options
704
+ response = ::Gapic::PagedEnumerable.new @cluster_controller_stub, :list_clusters, request, response, operation, options
705
705
  yield response, operation if block_given?
706
706
  return response
707
707
  end
708
- rescue GRPC::BadStatus => e
709
- raise Google::Cloud::Error.from_error(e)
708
+ rescue ::GRPC::BadStatus => e
709
+ raise ::Google::Cloud::Error.from_error(e)
710
710
  end
711
711
 
712
712
  ##
713
713
  # Gets cluster diagnostic information. The returned
714
- # {Google::Longrunning::Operation#metadata Operation.metadata} will be
714
+ # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
715
715
  # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
716
716
  # After the operation completes,
717
- # {Google::Longrunning::Operation#response Operation.response}
717
+ # {::Google::Longrunning::Operation#response Operation.response}
718
718
  # contains
719
- # {Google::Protobuf::Empty Empty}.
719
+ # {::Google::Protobuf::Empty Empty}.
720
720
  #
721
721
  # @overload diagnose_cluster(request, options = nil)
722
722
  # Pass arguments to `diagnose_cluster` via a request object, either of type
723
- # {Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest} or an equivalent Hash.
723
+ # {::Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest} or an equivalent Hash.
724
724
  #
725
- # @param request [Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest, Hash]
725
+ # @param request [::Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest, ::Hash]
726
726
  # A request object representing the call parameters. Required. To specify no
727
727
  # parameters, or to keep all the default parameter values, pass an empty Hash.
728
- # @param options [Gapic::CallOptions, Hash]
728
+ # @param options [::Gapic::CallOptions, ::Hash]
729
729
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
730
730
  #
731
731
  # @overload diagnose_cluster(project_id: nil, region: nil, cluster_name: nil)
@@ -733,35 +733,35 @@ module Google
733
733
  # least one keyword argument is required. To specify no parameters, or to keep all
734
734
  # the default parameter values, pass an empty Hash as a request object (see above).
735
735
  #
736
- # @param project_id [String]
736
+ # @param project_id [::String]
737
737
  # Required. The ID of the Google Cloud Platform project that the cluster
738
738
  # belongs to.
739
- # @param region [String]
739
+ # @param region [::String]
740
740
  # Required. The Dataproc region in which to handle the request.
741
- # @param cluster_name [String]
741
+ # @param cluster_name [::String]
742
742
  # Required. The cluster name.
743
743
  #
744
744
  # @yield [response, operation] Access the result along with the RPC operation
745
- # @yieldparam response [Gapic::Operation]
746
- # @yieldparam operation [GRPC::ActiveCall::Operation]
745
+ # @yieldparam response [::Gapic::Operation]
746
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
747
747
  #
748
- # @return [Gapic::Operation]
748
+ # @return [::Gapic::Operation]
749
749
  #
750
- # @raise [Google::Cloud::Error] if the RPC is aborted.
750
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
751
751
  #
752
752
  def diagnose_cluster request, options = nil
753
- raise ArgumentError, "request must be provided" if request.nil?
753
+ raise ::ArgumentError, "request must be provided" if request.nil?
754
754
 
755
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest
755
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::DiagnoseClusterRequest
756
756
 
757
757
  # Converts hash and nil to an options object
758
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
758
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
759
759
 
760
760
  # Customize the options with defaults
761
761
  metadata = @config.rpcs.diagnose_cluster.metadata.to_h
762
762
 
763
763
  # Set x-goog-api-client and x-goog-user-project headers
764
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
764
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
765
765
  lib_name: @config.lib_name, lib_version: @config.lib_version,
766
766
  gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
767
767
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -781,12 +781,12 @@ module Google
781
781
  retry_policy: @config.retry_policy
782
782
 
783
783
  @cluster_controller_stub.call_rpc :diagnose_cluster, request, options: options do |response, operation|
784
- response = Gapic::Operation.new response, @operations_client, options: options
784
+ response = ::Gapic::Operation.new response, @operations_client, options: options
785
785
  yield response, operation if block_given?
786
786
  return response
787
787
  end
788
- rescue GRPC::BadStatus => e
789
- raise Google::Cloud::Error.from_error(e)
788
+ rescue ::GRPC::BadStatus => e
789
+ raise ::Google::Cloud::Error.from_error(e)
790
790
  end
791
791
 
792
792
  ##
@@ -796,7 +796,7 @@ module Google
796
796
  # providing control over timeouts, retry behavior, logging, transport
797
797
  # parameters, and other low-level controls. Certain parameters can also be
798
798
  # applied individually to specific RPCs. See
799
- # {Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration::Rpcs}
799
+ # {::Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration::Rpcs}
800
800
  # for a list of RPCs that can be configured independently.
801
801
  #
802
802
  # Configuration can be applied globally to all clients, or to a single client
@@ -807,22 +807,22 @@ module Google
807
807
  # To modify the global config, setting the timeout for create_cluster
808
808
  # to 20 seconds, and all remaining timeouts to 10 seconds:
809
809
  #
810
- # Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
811
- # config.timeout = 10_000
812
- # config.rpcs.create_cluster.timeout = 20_000
810
+ # ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
811
+ # config.timeout = 10.0
812
+ # config.rpcs.create_cluster.timeout = 20.0
813
813
  # end
814
814
  #
815
815
  # To apply the above configuration only to a new client:
816
816
  #
817
- # client = Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
818
- # config.timeout = 10_000
819
- # config.rpcs.create_cluster.timeout = 20_000
817
+ # client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
818
+ # config.timeout = 10.0
819
+ # config.rpcs.create_cluster.timeout = 20.0
820
820
  # end
821
821
  #
822
822
  # @!attribute [rw] endpoint
823
823
  # The hostname or hostname:port of the service endpoint.
824
824
  # Defaults to `"dataproc.googleapis.com"`.
825
- # @return [String]
825
+ # @return [::String]
826
826
  # @!attribute [rw] credentials
827
827
  # Credentials to send with calls. You may provide any of the following types:
828
828
  # * (`String`) The path to a service account key file in JSON format
@@ -834,29 +834,29 @@ module Google
834
834
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
835
835
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
836
836
  # * (`nil`) indicating no credentials
837
- # @return [Object]
837
+ # @return [::Object]
838
838
  # @!attribute [rw] scope
839
839
  # The OAuth scopes
840
- # @return [Array<String>]
840
+ # @return [::Array<::String>]
841
841
  # @!attribute [rw] lib_name
842
842
  # The library name as recorded in instrumentation and logging
843
- # @return [String]
843
+ # @return [::String]
844
844
  # @!attribute [rw] lib_version
845
845
  # The library version as recorded in instrumentation and logging
846
- # @return [String]
846
+ # @return [::String]
847
847
  # @!attribute [rw] channel_args
848
848
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
849
849
  # `GRPC::Core::Channel` object is provided as the credential.
850
- # @return [Hash]
850
+ # @return [::Hash]
851
851
  # @!attribute [rw] interceptors
852
852
  # An array of interceptors that are run before calls are executed.
853
- # @return [Array<GRPC::ClientInterceptor>]
853
+ # @return [::Array<::GRPC::ClientInterceptor>]
854
854
  # @!attribute [rw] timeout
855
- # The call timeout in milliseconds.
856
- # @return [Numeric]
855
+ # The call timeout in seconds.
856
+ # @return [::Numeric]
857
857
  # @!attribute [rw] metadata
858
858
  # Additional gRPC headers to be sent with the call.
859
- # @return [Hash{Symbol=>String}]
859
+ # @return [::Hash{::Symbol=>::String}]
860
860
  # @!attribute [rw] retry_policy
861
861
  # The retry policy. The value is a hash with the following keys:
862
862
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -864,10 +864,10 @@ module Google
864
864
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
865
865
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
866
866
  # trigger a retry.
867
- # @return [Hash]
867
+ # @return [::Hash]
868
868
  #
869
869
  class Configuration
870
- extend Gapic::Config
870
+ extend ::Gapic::Config
871
871
 
872
872
  config_attr :endpoint, "dataproc.googleapis.com", String
873
873
  config_attr :credentials, nil do |value|
@@ -875,14 +875,14 @@ module Google
875
875
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
876
876
  allowed.any? { |klass| klass === value }
877
877
  end
878
- config_attr :scope, nil, String, Array, nil
879
- config_attr :lib_name, nil, String, nil
880
- config_attr :lib_version, nil, String, nil
881
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
882
- config_attr :interceptors, nil, Array, nil
883
- config_attr :timeout, nil, Numeric, nil
884
- config_attr :metadata, nil, Hash, nil
885
- config_attr :retry_policy, nil, Hash, Proc, nil
878
+ config_attr :scope, nil, ::String, ::Array, nil
879
+ config_attr :lib_name, nil, ::String, nil
880
+ config_attr :lib_version, nil, ::String, nil
881
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
882
+ config_attr :interceptors, nil, ::Array, nil
883
+ config_attr :timeout, nil, ::Numeric, nil
884
+ config_attr :metadata, nil, ::Hash, nil
885
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
886
886
 
887
887
  # @private
888
888
  def initialize parent_config = nil
@@ -923,49 +923,49 @@ module Google
923
923
  class Rpcs
924
924
  ##
925
925
  # RPC-specific configuration for `create_cluster`
926
- # @return [Gapic::Config::Method]
926
+ # @return [::Gapic::Config::Method]
927
927
  #
928
928
  attr_reader :create_cluster
929
929
  ##
930
930
  # RPC-specific configuration for `update_cluster`
931
- # @return [Gapic::Config::Method]
931
+ # @return [::Gapic::Config::Method]
932
932
  #
933
933
  attr_reader :update_cluster
934
934
  ##
935
935
  # RPC-specific configuration for `delete_cluster`
936
- # @return [Gapic::Config::Method]
936
+ # @return [::Gapic::Config::Method]
937
937
  #
938
938
  attr_reader :delete_cluster
939
939
  ##
940
940
  # RPC-specific configuration for `get_cluster`
941
- # @return [Gapic::Config::Method]
941
+ # @return [::Gapic::Config::Method]
942
942
  #
943
943
  attr_reader :get_cluster
944
944
  ##
945
945
  # RPC-specific configuration for `list_clusters`
946
- # @return [Gapic::Config::Method]
946
+ # @return [::Gapic::Config::Method]
947
947
  #
948
948
  attr_reader :list_clusters
949
949
  ##
950
950
  # RPC-specific configuration for `diagnose_cluster`
951
- # @return [Gapic::Config::Method]
951
+ # @return [::Gapic::Config::Method]
952
952
  #
953
953
  attr_reader :diagnose_cluster
954
954
 
955
955
  # @private
956
956
  def initialize parent_rpcs = nil
957
957
  create_cluster_config = parent_rpcs&.create_cluster if parent_rpcs&.respond_to? :create_cluster
958
- @create_cluster = Gapic::Config::Method.new create_cluster_config
958
+ @create_cluster = ::Gapic::Config::Method.new create_cluster_config
959
959
  update_cluster_config = parent_rpcs&.update_cluster if parent_rpcs&.respond_to? :update_cluster
960
- @update_cluster = Gapic::Config::Method.new update_cluster_config
960
+ @update_cluster = ::Gapic::Config::Method.new update_cluster_config
961
961
  delete_cluster_config = parent_rpcs&.delete_cluster if parent_rpcs&.respond_to? :delete_cluster
962
- @delete_cluster = Gapic::Config::Method.new delete_cluster_config
962
+ @delete_cluster = ::Gapic::Config::Method.new delete_cluster_config
963
963
  get_cluster_config = parent_rpcs&.get_cluster if parent_rpcs&.respond_to? :get_cluster
964
- @get_cluster = Gapic::Config::Method.new get_cluster_config
964
+ @get_cluster = ::Gapic::Config::Method.new get_cluster_config
965
965
  list_clusters_config = parent_rpcs&.list_clusters if parent_rpcs&.respond_to? :list_clusters
966
- @list_clusters = Gapic::Config::Method.new list_clusters_config
966
+ @list_clusters = ::Gapic::Config::Method.new list_clusters_config
967
967
  diagnose_cluster_config = parent_rpcs&.diagnose_cluster if parent_rpcs&.respond_to? :diagnose_cluster
968
- @diagnose_cluster = Gapic::Config::Method.new diagnose_cluster_config
968
+ @diagnose_cluster = ::Gapic::Config::Method.new diagnose_cluster_config
969
969
 
970
970
  yield self if block_given?
971
971
  end