google-cloud-dataproc-v1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
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/v1.rb +1 -1
  5. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service.rb +1 -1
  6. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +120 -120
  7. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/credentials.rb +1 -1
  8. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/paths.rb +10 -10
  9. data/lib/google/cloud/dataproc/v1/cluster_controller.rb +1 -1
  10. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +170 -170
  11. data/lib/google/cloud/dataproc/v1/cluster_controller/credentials.rb +1 -1
  12. data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +100 -100
  13. data/lib/google/cloud/dataproc/v1/job_controller.rb +1 -1
  14. data/lib/google/cloud/dataproc/v1/job_controller/client.rb +177 -177
  15. data/lib/google/cloud/dataproc/v1/job_controller/credentials.rb +1 -1
  16. data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +100 -100
  17. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  18. data/lib/google/cloud/dataproc/v1/workflow_template_service.rb +1 -1
  19. data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +170 -170
  20. data/lib/google/cloud/dataproc/v1/workflow_template_service/credentials.rb +1 -1
  21. data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +100 -100
  22. data/lib/google/cloud/dataproc/v1/workflow_template_service/paths.rb +10 -10
  23. data/proto_docs/google/api/resource.rb +12 -12
  24. data/proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb +45 -45
  25. data/proto_docs/google/cloud/dataproc/v1/clusters.rb +186 -186
  26. data/proto_docs/google/cloud/dataproc/v1/jobs.rb +223 -223
  27. data/proto_docs/google/cloud/dataproc/v1/operations.rb +20 -20
  28. data/proto_docs/google/cloud/dataproc/v1/workflow_templates.rb +143 -143
  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
@@ -36,7 +36,7 @@ module Google
36
36
  # To load this service and instantiate a client:
37
37
  #
38
38
  # require "google/cloud/dataproc/v1/job_controller"
39
- # client = Google::Cloud::Dataproc::V1::JobController::Client.new
39
+ # client = ::Google::Cloud::Dataproc::V1::JobController::Client.new
40
40
  #
41
41
  module JobController
42
42
  end
@@ -36,15 +36,15 @@ module Google
36
36
  ##
37
37
  # Configure the JobController Client class.
38
38
  #
39
- # See {Google::Cloud::Dataproc::V1::JobController::Client::Configuration}
39
+ # See {::Google::Cloud::Dataproc::V1::JobController::Client::Configuration}
40
40
  # for a description of the configuration fields.
41
41
  #
42
42
  # ## Example
43
43
  #
44
44
  # To modify the configuration for all JobController clients:
45
45
  #
46
- # Google::Cloud::Dataproc::V1::JobController::Client.configure do |config|
47
- # config.timeout = 10_000
46
+ # ::Google::Cloud::Dataproc::V1::JobController::Client.configure do |config|
47
+ # config.timeout = 10.0
48
48
  # end
49
49
  #
50
50
  # @yield [config] Configure the Client client.
@@ -132,7 +132,7 @@ module Google
132
132
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
133
133
  # should be made on {Client.configure}.
134
134
  #
135
- # See {Google::Cloud::Dataproc::V1::JobController::Client::Configuration}
135
+ # See {::Google::Cloud::Dataproc::V1::JobController::Client::Configuration}
136
136
  # for a description of the configuration fields.
137
137
  #
138
138
  # @yield [config] Configure the Client client.
@@ -153,13 +153,13 @@ module Google
153
153
  # To create a new JobController client with the default
154
154
  # configuration:
155
155
  #
156
- # client = Google::Cloud::Dataproc::V1::JobController::Client.new
156
+ # client = ::Google::Cloud::Dataproc::V1::JobController::Client.new
157
157
  #
158
158
  # To create a new JobController client with a custom
159
159
  # configuration:
160
160
  #
161
- # client = Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
162
- # config.timeout = 10_000
161
+ # client = ::Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
162
+ # config.timeout = 10.0
163
163
  # end
164
164
  #
165
165
  # @yield [config] Configure the JobController client.
@@ -191,8 +191,8 @@ module Google
191
191
  config.endpoint = @config.endpoint
192
192
  end
193
193
 
194
- @job_controller_stub = Gapic::ServiceStub.new(
195
- Google::Cloud::Dataproc::V1::JobController::Stub,
194
+ @job_controller_stub = ::Gapic::ServiceStub.new(
195
+ ::Google::Cloud::Dataproc::V1::JobController::Stub,
196
196
  credentials: credentials,
197
197
  endpoint: @config.endpoint,
198
198
  channel_args: @config.channel_args,
@@ -203,7 +203,7 @@ module Google
203
203
  ##
204
204
  # Get the associated client for long-running operations.
205
205
  #
206
- # @return [Google::Cloud::Dataproc::V1::JobController::Operations]
206
+ # @return [::Google::Cloud::Dataproc::V1::JobController::Operations]
207
207
  #
208
208
  attr_reader :operations_client
209
209
 
@@ -214,12 +214,12 @@ module Google
214
214
  #
215
215
  # @overload submit_job(request, options = nil)
216
216
  # Pass arguments to `submit_job` via a request object, either of type
217
- # {Google::Cloud::Dataproc::V1::SubmitJobRequest} or an equivalent Hash.
217
+ # {::Google::Cloud::Dataproc::V1::SubmitJobRequest} or an equivalent Hash.
218
218
  #
219
- # @param request [Google::Cloud::Dataproc::V1::SubmitJobRequest, Hash]
219
+ # @param request [::Google::Cloud::Dataproc::V1::SubmitJobRequest, ::Hash]
220
220
  # A request object representing the call parameters. Required. To specify no
221
221
  # parameters, or to keep all the default parameter values, pass an empty Hash.
222
- # @param options [Gapic::CallOptions, Hash]
222
+ # @param options [::Gapic::CallOptions, ::Hash]
223
223
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
224
224
  #
225
225
  # @overload submit_job(project_id: nil, region: nil, job: nil, request_id: nil)
@@ -227,18 +227,18 @@ module Google
227
227
  # least one keyword argument is required. To specify no parameters, or to keep all
228
228
  # the default parameter values, pass an empty Hash as a request object (see above).
229
229
  #
230
- # @param project_id [String]
230
+ # @param project_id [::String]
231
231
  # Required. The ID of the Google Cloud Platform project that the job
232
232
  # belongs to.
233
- # @param region [String]
233
+ # @param region [::String]
234
234
  # Required. The Dataproc region in which to handle the request.
235
- # @param job [Google::Cloud::Dataproc::V1::Job, Hash]
235
+ # @param job [::Google::Cloud::Dataproc::V1::Job, ::Hash]
236
236
  # Required. The job resource.
237
- # @param request_id [String]
237
+ # @param request_id [::String]
238
238
  # Optional. A unique id used to identify the request. If the server
239
- # receives two {Google::Cloud::Dataproc::V1::SubmitJobRequest SubmitJobRequest} requests with the same
239
+ # receives two {::Google::Cloud::Dataproc::V1::SubmitJobRequest SubmitJobRequest} requests with the same
240
240
  # id, then the second request will be ignored and the
241
- # first {Google::Cloud::Dataproc::V1::Job Job} created and stored in the backend
241
+ # first {::Google::Cloud::Dataproc::V1::Job Job} created and stored in the backend
242
242
  # is returned.
243
243
  #
244
244
  # It is recommended to always set this value to a
@@ -248,26 +248,26 @@ module Google
248
248
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
249
249
  #
250
250
  # @yield [response, operation] Access the result along with the RPC operation
251
- # @yieldparam response [Google::Cloud::Dataproc::V1::Job]
252
- # @yieldparam operation [GRPC::ActiveCall::Operation]
251
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::Job]
252
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
253
253
  #
254
- # @return [Google::Cloud::Dataproc::V1::Job]
254
+ # @return [::Google::Cloud::Dataproc::V1::Job]
255
255
  #
256
- # @raise [Google::Cloud::Error] if the RPC is aborted.
256
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
257
257
  #
258
258
  def submit_job request, options = nil
259
- raise ArgumentError, "request must be provided" if request.nil?
259
+ raise ::ArgumentError, "request must be provided" if request.nil?
260
260
 
261
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::SubmitJobRequest
261
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::SubmitJobRequest
262
262
 
263
263
  # Converts hash and nil to an options object
264
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
264
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
265
265
 
266
266
  # Customize the options with defaults
267
267
  metadata = @config.rpcs.submit_job.metadata.to_h
268
268
 
269
269
  # Set x-goog-api-client and x-goog-user-project headers
270
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
270
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
271
271
  lib_name: @config.lib_name, lib_version: @config.lib_version,
272
272
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
273
273
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -289,8 +289,8 @@ module Google
289
289
  yield response, operation if block_given?
290
290
  return response
291
291
  end
292
- rescue GRPC::BadStatus => e
293
- raise Google::Cloud::Error.from_error(e)
292
+ rescue ::GRPC::BadStatus => e
293
+ raise ::Google::Cloud::Error.from_error(e)
294
294
  end
295
295
 
296
296
  ##
@@ -298,12 +298,12 @@ module Google
298
298
  #
299
299
  # @overload submit_job_as_operation(request, options = nil)
300
300
  # Pass arguments to `submit_job_as_operation` via a request object, either of type
301
- # {Google::Cloud::Dataproc::V1::SubmitJobRequest} or an equivalent Hash.
301
+ # {::Google::Cloud::Dataproc::V1::SubmitJobRequest} or an equivalent Hash.
302
302
  #
303
- # @param request [Google::Cloud::Dataproc::V1::SubmitJobRequest, Hash]
303
+ # @param request [::Google::Cloud::Dataproc::V1::SubmitJobRequest, ::Hash]
304
304
  # A request object representing the call parameters. Required. To specify no
305
305
  # parameters, or to keep all the default parameter values, pass an empty Hash.
306
- # @param options [Gapic::CallOptions, Hash]
306
+ # @param options [::Gapic::CallOptions, ::Hash]
307
307
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
308
308
  #
309
309
  # @overload submit_job_as_operation(project_id: nil, region: nil, job: nil, request_id: nil)
@@ -311,18 +311,18 @@ module Google
311
311
  # least one keyword argument is required. To specify no parameters, or to keep all
312
312
  # the default parameter values, pass an empty Hash as a request object (see above).
313
313
  #
314
- # @param project_id [String]
314
+ # @param project_id [::String]
315
315
  # Required. The ID of the Google Cloud Platform project that the job
316
316
  # belongs to.
317
- # @param region [String]
317
+ # @param region [::String]
318
318
  # Required. The Dataproc region in which to handle the request.
319
- # @param job [Google::Cloud::Dataproc::V1::Job, Hash]
319
+ # @param job [::Google::Cloud::Dataproc::V1::Job, ::Hash]
320
320
  # Required. The job resource.
321
- # @param request_id [String]
321
+ # @param request_id [::String]
322
322
  # Optional. A unique id used to identify the request. If the server
323
- # receives two {Google::Cloud::Dataproc::V1::SubmitJobRequest SubmitJobRequest} requests with the same
323
+ # receives two {::Google::Cloud::Dataproc::V1::SubmitJobRequest SubmitJobRequest} requests with the same
324
324
  # id, then the second request will be ignored and the
325
- # first {Google::Cloud::Dataproc::V1::Job Job} created and stored in the backend
325
+ # first {::Google::Cloud::Dataproc::V1::Job Job} created and stored in the backend
326
326
  # is returned.
327
327
  #
328
328
  # It is recommended to always set this value to a
@@ -332,26 +332,26 @@ module Google
332
332
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
333
333
  #
334
334
  # @yield [response, operation] Access the result along with the RPC operation
335
- # @yieldparam response [Gapic::Operation]
336
- # @yieldparam operation [GRPC::ActiveCall::Operation]
335
+ # @yieldparam response [::Gapic::Operation]
336
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
337
337
  #
338
- # @return [Gapic::Operation]
338
+ # @return [::Gapic::Operation]
339
339
  #
340
- # @raise [Google::Cloud::Error] if the RPC is aborted.
340
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
341
341
  #
342
342
  def submit_job_as_operation request, options = nil
343
- raise ArgumentError, "request must be provided" if request.nil?
343
+ raise ::ArgumentError, "request must be provided" if request.nil?
344
344
 
345
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::SubmitJobRequest
345
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::SubmitJobRequest
346
346
 
347
347
  # Converts hash and nil to an options object
348
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
348
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
349
349
 
350
350
  # Customize the options with defaults
351
351
  metadata = @config.rpcs.submit_job_as_operation.metadata.to_h
352
352
 
353
353
  # Set x-goog-api-client and x-goog-user-project headers
354
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
354
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
355
355
  lib_name: @config.lib_name, lib_version: @config.lib_version,
356
356
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
357
357
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -370,12 +370,12 @@ module Google
370
370
  retry_policy: @config.retry_policy
371
371
 
372
372
  @job_controller_stub.call_rpc :submit_job_as_operation, request, options: options do |response, operation|
373
- response = Gapic::Operation.new response, @operations_client, options: options
373
+ response = ::Gapic::Operation.new response, @operations_client, options: options
374
374
  yield response, operation if block_given?
375
375
  return response
376
376
  end
377
- rescue GRPC::BadStatus => e
378
- raise Google::Cloud::Error.from_error(e)
377
+ rescue ::GRPC::BadStatus => e
378
+ raise ::Google::Cloud::Error.from_error(e)
379
379
  end
380
380
 
381
381
  ##
@@ -383,12 +383,12 @@ module Google
383
383
  #
384
384
  # @overload get_job(request, options = nil)
385
385
  # Pass arguments to `get_job` via a request object, either of type
386
- # {Google::Cloud::Dataproc::V1::GetJobRequest} or an equivalent Hash.
386
+ # {::Google::Cloud::Dataproc::V1::GetJobRequest} or an equivalent Hash.
387
387
  #
388
- # @param request [Google::Cloud::Dataproc::V1::GetJobRequest, Hash]
388
+ # @param request [::Google::Cloud::Dataproc::V1::GetJobRequest, ::Hash]
389
389
  # A request object representing the call parameters. Required. To specify no
390
390
  # parameters, or to keep all the default parameter values, pass an empty Hash.
391
- # @param options [Gapic::CallOptions, Hash]
391
+ # @param options [::Gapic::CallOptions, ::Hash]
392
392
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
393
393
  #
394
394
  # @overload get_job(project_id: nil, region: nil, job_id: nil)
@@ -396,35 +396,35 @@ module Google
396
396
  # least one keyword argument is required. To specify no parameters, or to keep all
397
397
  # the default parameter values, pass an empty Hash as a request object (see above).
398
398
  #
399
- # @param project_id [String]
399
+ # @param project_id [::String]
400
400
  # Required. The ID of the Google Cloud Platform project that the job
401
401
  # belongs to.
402
- # @param region [String]
402
+ # @param region [::String]
403
403
  # Required. The Dataproc region in which to handle the request.
404
- # @param job_id [String]
404
+ # @param job_id [::String]
405
405
  # Required. The job ID.
406
406
  #
407
407
  # @yield [response, operation] Access the result along with the RPC operation
408
- # @yieldparam response [Google::Cloud::Dataproc::V1::Job]
409
- # @yieldparam operation [GRPC::ActiveCall::Operation]
408
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::Job]
409
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
410
410
  #
411
- # @return [Google::Cloud::Dataproc::V1::Job]
411
+ # @return [::Google::Cloud::Dataproc::V1::Job]
412
412
  #
413
- # @raise [Google::Cloud::Error] if the RPC is aborted.
413
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
414
414
  #
415
415
  def get_job request, options = nil
416
- raise ArgumentError, "request must be provided" if request.nil?
416
+ raise ::ArgumentError, "request must be provided" if request.nil?
417
417
 
418
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::GetJobRequest
418
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::GetJobRequest
419
419
 
420
420
  # Converts hash and nil to an options object
421
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
421
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
422
422
 
423
423
  # Customize the options with defaults
424
424
  metadata = @config.rpcs.get_job.metadata.to_h
425
425
 
426
426
  # Set x-goog-api-client and x-goog-user-project headers
427
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
427
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
428
428
  lib_name: @config.lib_name, lib_version: @config.lib_version,
429
429
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
430
430
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -447,8 +447,8 @@ module Google
447
447
  yield response, operation if block_given?
448
448
  return response
449
449
  end
450
- rescue GRPC::BadStatus => e
451
- raise Google::Cloud::Error.from_error(e)
450
+ rescue ::GRPC::BadStatus => e
451
+ raise ::Google::Cloud::Error.from_error(e)
452
452
  end
453
453
 
454
454
  ##
@@ -456,12 +456,12 @@ module Google
456
456
  #
457
457
  # @overload list_jobs(request, options = nil)
458
458
  # Pass arguments to `list_jobs` via a request object, either of type
459
- # {Google::Cloud::Dataproc::V1::ListJobsRequest} or an equivalent Hash.
459
+ # {::Google::Cloud::Dataproc::V1::ListJobsRequest} or an equivalent Hash.
460
460
  #
461
- # @param request [Google::Cloud::Dataproc::V1::ListJobsRequest, Hash]
461
+ # @param request [::Google::Cloud::Dataproc::V1::ListJobsRequest, ::Hash]
462
462
  # A request object representing the call parameters. Required. To specify no
463
463
  # parameters, or to keep all the default parameter values, pass an empty Hash.
464
- # @param options [Gapic::CallOptions, Hash]
464
+ # @param options [::Gapic::CallOptions, ::Hash]
465
465
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
466
466
  #
467
467
  # @overload list_jobs(project_id: nil, region: nil, page_size: nil, page_token: nil, cluster_name: nil, job_state_matcher: nil, filter: nil)
@@ -469,25 +469,25 @@ module Google
469
469
  # least one keyword argument is required. To specify no parameters, or to keep all
470
470
  # the default parameter values, pass an empty Hash as a request object (see above).
471
471
  #
472
- # @param project_id [String]
472
+ # @param project_id [::String]
473
473
  # Required. The ID of the Google Cloud Platform project that the job
474
474
  # belongs to.
475
- # @param region [String]
475
+ # @param region [::String]
476
476
  # Required. The Dataproc region in which to handle the request.
477
- # @param page_size [Integer]
477
+ # @param page_size [::Integer]
478
478
  # Optional. The number of results to return in each response.
479
- # @param page_token [String]
479
+ # @param page_token [::String]
480
480
  # Optional. The page token, returned by a previous call, to request the
481
481
  # next page of results.
482
- # @param cluster_name [String]
482
+ # @param cluster_name [::String]
483
483
  # Optional. If set, the returned jobs list includes only jobs that were
484
484
  # submitted to the named cluster.
485
- # @param job_state_matcher [Google::Cloud::Dataproc::V1::ListJobsRequest::JobStateMatcher]
485
+ # @param job_state_matcher [::Google::Cloud::Dataproc::V1::ListJobsRequest::JobStateMatcher]
486
486
  # Optional. Specifies enumerated categories of jobs to list.
487
487
  # (default = match ALL jobs).
488
488
  #
489
489
  # If `filter` is provided, `jobStateMatcher` will be ignored.
490
- # @param filter [String]
490
+ # @param filter [::String]
491
491
  # Optional. A filter constraining the jobs to list. Filters are
492
492
  # case-sensitive and have the following syntax:
493
493
  #
@@ -504,26 +504,26 @@ module Google
504
504
  # status.state = ACTIVE AND labels.env = staging AND labels.starred = *
505
505
  #
506
506
  # @yield [response, operation] Access the result along with the RPC operation
507
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1::Job>]
508
- # @yieldparam operation [GRPC::ActiveCall::Operation]
507
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1::Job>]
508
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
509
509
  #
510
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1::Job>]
510
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1::Job>]
511
511
  #
512
- # @raise [Google::Cloud::Error] if the RPC is aborted.
512
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
513
513
  #
514
514
  def list_jobs request, options = nil
515
- raise ArgumentError, "request must be provided" if request.nil?
515
+ raise ::ArgumentError, "request must be provided" if request.nil?
516
516
 
517
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::ListJobsRequest
517
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::ListJobsRequest
518
518
 
519
519
  # Converts hash and nil to an options object
520
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
520
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
521
521
 
522
522
  # Customize the options with defaults
523
523
  metadata = @config.rpcs.list_jobs.metadata.to_h
524
524
 
525
525
  # Set x-goog-api-client and x-goog-user-project headers
526
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
526
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
527
527
  lib_name: @config.lib_name, lib_version: @config.lib_version,
528
528
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
529
529
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -542,12 +542,12 @@ module Google
542
542
  retry_policy: @config.retry_policy
543
543
 
544
544
  @job_controller_stub.call_rpc :list_jobs, request, options: options do |response, operation|
545
- response = Gapic::PagedEnumerable.new @job_controller_stub, :list_jobs, request, response, operation, options
545
+ response = ::Gapic::PagedEnumerable.new @job_controller_stub, :list_jobs, request, response, operation, options
546
546
  yield response, operation if block_given?
547
547
  return response
548
548
  end
549
- rescue GRPC::BadStatus => e
550
- raise Google::Cloud::Error.from_error(e)
549
+ rescue ::GRPC::BadStatus => e
550
+ raise ::Google::Cloud::Error.from_error(e)
551
551
  end
552
552
 
553
553
  ##
@@ -555,12 +555,12 @@ module Google
555
555
  #
556
556
  # @overload update_job(request, options = nil)
557
557
  # Pass arguments to `update_job` via a request object, either of type
558
- # {Google::Cloud::Dataproc::V1::UpdateJobRequest} or an equivalent Hash.
558
+ # {::Google::Cloud::Dataproc::V1::UpdateJobRequest} or an equivalent Hash.
559
559
  #
560
- # @param request [Google::Cloud::Dataproc::V1::UpdateJobRequest, Hash]
560
+ # @param request [::Google::Cloud::Dataproc::V1::UpdateJobRequest, ::Hash]
561
561
  # A request object representing the call parameters. Required. To specify no
562
562
  # parameters, or to keep all the default parameter values, pass an empty Hash.
563
- # @param options [Gapic::CallOptions, Hash]
563
+ # @param options [::Gapic::CallOptions, ::Hash]
564
564
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
565
565
  #
566
566
  # @overload update_job(project_id: nil, region: nil, job_id: nil, job: nil, update_mask: nil)
@@ -568,16 +568,16 @@ module Google
568
568
  # least one keyword argument is required. To specify no parameters, or to keep all
569
569
  # the default parameter values, pass an empty Hash as a request object (see above).
570
570
  #
571
- # @param project_id [String]
571
+ # @param project_id [::String]
572
572
  # Required. The ID of the Google Cloud Platform project that the job
573
573
  # belongs to.
574
- # @param region [String]
574
+ # @param region [::String]
575
575
  # Required. The Dataproc region in which to handle the request.
576
- # @param job_id [String]
576
+ # @param job_id [::String]
577
577
  # Required. The job ID.
578
- # @param job [Google::Cloud::Dataproc::V1::Job, Hash]
578
+ # @param job [::Google::Cloud::Dataproc::V1::Job, ::Hash]
579
579
  # Required. The changes to the job.
580
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
580
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
581
581
  # Required. Specifies the path, relative to <code>Job</code>, of
582
582
  # the field to update. For example, to update the labels of a Job the
583
583
  # <code>update_mask</code> parameter would be specified as
@@ -586,26 +586,26 @@ module Google
586
586
  # field that can be updated.
587
587
  #
588
588
  # @yield [response, operation] Access the result along with the RPC operation
589
- # @yieldparam response [Google::Cloud::Dataproc::V1::Job]
590
- # @yieldparam operation [GRPC::ActiveCall::Operation]
589
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::Job]
590
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
591
591
  #
592
- # @return [Google::Cloud::Dataproc::V1::Job]
592
+ # @return [::Google::Cloud::Dataproc::V1::Job]
593
593
  #
594
- # @raise [Google::Cloud::Error] if the RPC is aborted.
594
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
595
595
  #
596
596
  def update_job request, options = nil
597
- raise ArgumentError, "request must be provided" if request.nil?
597
+ raise ::ArgumentError, "request must be provided" if request.nil?
598
598
 
599
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::UpdateJobRequest
599
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::UpdateJobRequest
600
600
 
601
601
  # Converts hash and nil to an options object
602
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
602
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
603
603
 
604
604
  # Customize the options with defaults
605
605
  metadata = @config.rpcs.update_job.metadata.to_h
606
606
 
607
607
  # Set x-goog-api-client and x-goog-user-project headers
608
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
608
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
609
609
  lib_name: @config.lib_name, lib_version: @config.lib_version,
610
610
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
611
611
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -628,8 +628,8 @@ module Google
628
628
  yield response, operation if block_given?
629
629
  return response
630
630
  end
631
- rescue GRPC::BadStatus => e
632
- raise Google::Cloud::Error.from_error(e)
631
+ rescue ::GRPC::BadStatus => e
632
+ raise ::Google::Cloud::Error.from_error(e)
633
633
  end
634
634
 
635
635
  ##
@@ -641,12 +641,12 @@ module Google
641
641
  #
642
642
  # @overload cancel_job(request, options = nil)
643
643
  # Pass arguments to `cancel_job` via a request object, either of type
644
- # {Google::Cloud::Dataproc::V1::CancelJobRequest} or an equivalent Hash.
644
+ # {::Google::Cloud::Dataproc::V1::CancelJobRequest} or an equivalent Hash.
645
645
  #
646
- # @param request [Google::Cloud::Dataproc::V1::CancelJobRequest, Hash]
646
+ # @param request [::Google::Cloud::Dataproc::V1::CancelJobRequest, ::Hash]
647
647
  # A request object representing the call parameters. Required. To specify no
648
648
  # parameters, or to keep all the default parameter values, pass an empty Hash.
649
- # @param options [Gapic::CallOptions, Hash]
649
+ # @param options [::Gapic::CallOptions, ::Hash]
650
650
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
651
651
  #
652
652
  # @overload cancel_job(project_id: nil, region: nil, job_id: nil)
@@ -654,35 +654,35 @@ module Google
654
654
  # least one keyword argument is required. To specify no parameters, or to keep all
655
655
  # the default parameter values, pass an empty Hash as a request object (see above).
656
656
  #
657
- # @param project_id [String]
657
+ # @param project_id [::String]
658
658
  # Required. The ID of the Google Cloud Platform project that the job
659
659
  # belongs to.
660
- # @param region [String]
660
+ # @param region [::String]
661
661
  # Required. The Dataproc region in which to handle the request.
662
- # @param job_id [String]
662
+ # @param job_id [::String]
663
663
  # Required. The job ID.
664
664
  #
665
665
  # @yield [response, operation] Access the result along with the RPC operation
666
- # @yieldparam response [Google::Cloud::Dataproc::V1::Job]
667
- # @yieldparam operation [GRPC::ActiveCall::Operation]
666
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::Job]
667
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
668
668
  #
669
- # @return [Google::Cloud::Dataproc::V1::Job]
669
+ # @return [::Google::Cloud::Dataproc::V1::Job]
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 cancel_job 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::V1::CancelJobRequest
676
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::CancelJobRequest
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.cancel_job.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::V1::VERSION
688
688
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -705,8 +705,8 @@ module Google
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
  ##
@@ -715,12 +715,12 @@ module Google
715
715
  #
716
716
  # @overload delete_job(request, options = nil)
717
717
  # Pass arguments to `delete_job` via a request object, either of type
718
- # {Google::Cloud::Dataproc::V1::DeleteJobRequest} or an equivalent Hash.
718
+ # {::Google::Cloud::Dataproc::V1::DeleteJobRequest} or an equivalent Hash.
719
719
  #
720
- # @param request [Google::Cloud::Dataproc::V1::DeleteJobRequest, Hash]
720
+ # @param request [::Google::Cloud::Dataproc::V1::DeleteJobRequest, ::Hash]
721
721
  # A request object representing the call parameters. Required. To specify no
722
722
  # parameters, or to keep all the default parameter values, pass an empty Hash.
723
- # @param options [Gapic::CallOptions, Hash]
723
+ # @param options [::Gapic::CallOptions, ::Hash]
724
724
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
725
725
  #
726
726
  # @overload delete_job(project_id: nil, region: nil, job_id: nil)
@@ -728,35 +728,35 @@ module Google
728
728
  # least one keyword argument is required. To specify no parameters, or to keep all
729
729
  # the default parameter values, pass an empty Hash as a request object (see above).
730
730
  #
731
- # @param project_id [String]
731
+ # @param project_id [::String]
732
732
  # Required. The ID of the Google Cloud Platform project that the job
733
733
  # belongs to.
734
- # @param region [String]
734
+ # @param region [::String]
735
735
  # Required. The Dataproc region in which to handle the request.
736
- # @param job_id [String]
736
+ # @param job_id [::String]
737
737
  # Required. The job ID.
738
738
  #
739
739
  # @yield [response, operation] Access the result along with the RPC operation
740
- # @yieldparam response [Google::Protobuf::Empty]
741
- # @yieldparam operation [GRPC::ActiveCall::Operation]
740
+ # @yieldparam response [::Google::Protobuf::Empty]
741
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
742
742
  #
743
- # @return [Google::Protobuf::Empty]
743
+ # @return [::Google::Protobuf::Empty]
744
744
  #
745
- # @raise [Google::Cloud::Error] if the RPC is aborted.
745
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
746
746
  #
747
747
  def delete_job request, options = nil
748
- raise ArgumentError, "request must be provided" if request.nil?
748
+ raise ::ArgumentError, "request must be provided" if request.nil?
749
749
 
750
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::DeleteJobRequest
750
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::DeleteJobRequest
751
751
 
752
752
  # Converts hash and nil to an options object
753
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
753
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
754
754
 
755
755
  # Customize the options with defaults
756
756
  metadata = @config.rpcs.delete_job.metadata.to_h
757
757
 
758
758
  # Set x-goog-api-client and x-goog-user-project headers
759
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
759
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
760
760
  lib_name: @config.lib_name, lib_version: @config.lib_version,
761
761
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
762
762
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -779,8 +779,8 @@ module Google
779
779
  yield response, operation if block_given?
780
780
  return response
781
781
  end
782
- rescue GRPC::BadStatus => e
783
- raise Google::Cloud::Error.from_error(e)
782
+ rescue ::GRPC::BadStatus => e
783
+ raise ::Google::Cloud::Error.from_error(e)
784
784
  end
785
785
 
786
786
  ##
@@ -790,7 +790,7 @@ module Google
790
790
  # providing control over timeouts, retry behavior, logging, transport
791
791
  # parameters, and other low-level controls. Certain parameters can also be
792
792
  # applied individually to specific RPCs. See
793
- # {Google::Cloud::Dataproc::V1::JobController::Client::Configuration::Rpcs}
793
+ # {::Google::Cloud::Dataproc::V1::JobController::Client::Configuration::Rpcs}
794
794
  # for a list of RPCs that can be configured independently.
795
795
  #
796
796
  # Configuration can be applied globally to all clients, or to a single client
@@ -801,22 +801,22 @@ module Google
801
801
  # To modify the global config, setting the timeout for submit_job
802
802
  # to 20 seconds, and all remaining timeouts to 10 seconds:
803
803
  #
804
- # Google::Cloud::Dataproc::V1::JobController::Client.configure do |config|
805
- # config.timeout = 10_000
806
- # config.rpcs.submit_job.timeout = 20_000
804
+ # ::Google::Cloud::Dataproc::V1::JobController::Client.configure do |config|
805
+ # config.timeout = 10.0
806
+ # config.rpcs.submit_job.timeout = 20.0
807
807
  # end
808
808
  #
809
809
  # To apply the above configuration only to a new client:
810
810
  #
811
- # client = Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
812
- # config.timeout = 10_000
813
- # config.rpcs.submit_job.timeout = 20_000
811
+ # client = ::Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
812
+ # config.timeout = 10.0
813
+ # config.rpcs.submit_job.timeout = 20.0
814
814
  # end
815
815
  #
816
816
  # @!attribute [rw] endpoint
817
817
  # The hostname or hostname:port of the service endpoint.
818
818
  # Defaults to `"dataproc.googleapis.com"`.
819
- # @return [String]
819
+ # @return [::String]
820
820
  # @!attribute [rw] credentials
821
821
  # Credentials to send with calls. You may provide any of the following types:
822
822
  # * (`String`) The path to a service account key file in JSON format
@@ -828,29 +828,29 @@ module Google
828
828
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
829
829
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
830
830
  # * (`nil`) indicating no credentials
831
- # @return [Object]
831
+ # @return [::Object]
832
832
  # @!attribute [rw] scope
833
833
  # The OAuth scopes
834
- # @return [Array<String>]
834
+ # @return [::Array<::String>]
835
835
  # @!attribute [rw] lib_name
836
836
  # The library name as recorded in instrumentation and logging
837
- # @return [String]
837
+ # @return [::String]
838
838
  # @!attribute [rw] lib_version
839
839
  # The library version as recorded in instrumentation and logging
840
- # @return [String]
840
+ # @return [::String]
841
841
  # @!attribute [rw] channel_args
842
842
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
843
843
  # `GRPC::Core::Channel` object is provided as the credential.
844
- # @return [Hash]
844
+ # @return [::Hash]
845
845
  # @!attribute [rw] interceptors
846
846
  # An array of interceptors that are run before calls are executed.
847
- # @return [Array<GRPC::ClientInterceptor>]
847
+ # @return [::Array<::GRPC::ClientInterceptor>]
848
848
  # @!attribute [rw] timeout
849
- # The call timeout in milliseconds.
850
- # @return [Numeric]
849
+ # The call timeout in seconds.
850
+ # @return [::Numeric]
851
851
  # @!attribute [rw] metadata
852
852
  # Additional gRPC headers to be sent with the call.
853
- # @return [Hash{Symbol=>String}]
853
+ # @return [::Hash{::Symbol=>::String}]
854
854
  # @!attribute [rw] retry_policy
855
855
  # The retry policy. The value is a hash with the following keys:
856
856
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -858,10 +858,10 @@ module Google
858
858
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
859
859
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
860
860
  # trigger a retry.
861
- # @return [Hash]
861
+ # @return [::Hash]
862
862
  #
863
863
  class Configuration
864
- extend Gapic::Config
864
+ extend ::Gapic::Config
865
865
 
866
866
  config_attr :endpoint, "dataproc.googleapis.com", String
867
867
  config_attr :credentials, nil do |value|
@@ -869,14 +869,14 @@ module Google
869
869
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
870
870
  allowed.any? { |klass| klass === value }
871
871
  end
872
- config_attr :scope, nil, String, Array, nil
873
- config_attr :lib_name, nil, String, nil
874
- config_attr :lib_version, nil, String, nil
875
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
876
- config_attr :interceptors, nil, Array, nil
877
- config_attr :timeout, nil, Numeric, nil
878
- config_attr :metadata, nil, Hash, nil
879
- config_attr :retry_policy, nil, Hash, Proc, nil
872
+ config_attr :scope, nil, ::String, ::Array, nil
873
+ config_attr :lib_name, nil, ::String, nil
874
+ config_attr :lib_version, nil, ::String, nil
875
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
876
+ config_attr :interceptors, nil, ::Array, nil
877
+ config_attr :timeout, nil, ::Numeric, nil
878
+ config_attr :metadata, nil, ::Hash, nil
879
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
880
880
 
881
881
  # @private
882
882
  def initialize parent_config = nil
@@ -917,56 +917,56 @@ module Google
917
917
  class Rpcs
918
918
  ##
919
919
  # RPC-specific configuration for `submit_job`
920
- # @return [Gapic::Config::Method]
920
+ # @return [::Gapic::Config::Method]
921
921
  #
922
922
  attr_reader :submit_job
923
923
  ##
924
924
  # RPC-specific configuration for `submit_job_as_operation`
925
- # @return [Gapic::Config::Method]
925
+ # @return [::Gapic::Config::Method]
926
926
  #
927
927
  attr_reader :submit_job_as_operation
928
928
  ##
929
929
  # RPC-specific configuration for `get_job`
930
- # @return [Gapic::Config::Method]
930
+ # @return [::Gapic::Config::Method]
931
931
  #
932
932
  attr_reader :get_job
933
933
  ##
934
934
  # RPC-specific configuration for `list_jobs`
935
- # @return [Gapic::Config::Method]
935
+ # @return [::Gapic::Config::Method]
936
936
  #
937
937
  attr_reader :list_jobs
938
938
  ##
939
939
  # RPC-specific configuration for `update_job`
940
- # @return [Gapic::Config::Method]
940
+ # @return [::Gapic::Config::Method]
941
941
  #
942
942
  attr_reader :update_job
943
943
  ##
944
944
  # RPC-specific configuration for `cancel_job`
945
- # @return [Gapic::Config::Method]
945
+ # @return [::Gapic::Config::Method]
946
946
  #
947
947
  attr_reader :cancel_job
948
948
  ##
949
949
  # RPC-specific configuration for `delete_job`
950
- # @return [Gapic::Config::Method]
950
+ # @return [::Gapic::Config::Method]
951
951
  #
952
952
  attr_reader :delete_job
953
953
 
954
954
  # @private
955
955
  def initialize parent_rpcs = nil
956
956
  submit_job_config = parent_rpcs&.submit_job if parent_rpcs&.respond_to? :submit_job
957
- @submit_job = Gapic::Config::Method.new submit_job_config
957
+ @submit_job = ::Gapic::Config::Method.new submit_job_config
958
958
  submit_job_as_operation_config = parent_rpcs&.submit_job_as_operation if parent_rpcs&.respond_to? :submit_job_as_operation
959
- @submit_job_as_operation = Gapic::Config::Method.new submit_job_as_operation_config
959
+ @submit_job_as_operation = ::Gapic::Config::Method.new submit_job_as_operation_config
960
960
  get_job_config = parent_rpcs&.get_job if parent_rpcs&.respond_to? :get_job
961
- @get_job = Gapic::Config::Method.new get_job_config
961
+ @get_job = ::Gapic::Config::Method.new get_job_config
962
962
  list_jobs_config = parent_rpcs&.list_jobs if parent_rpcs&.respond_to? :list_jobs
963
- @list_jobs = Gapic::Config::Method.new list_jobs_config
963
+ @list_jobs = ::Gapic::Config::Method.new list_jobs_config
964
964
  update_job_config = parent_rpcs&.update_job if parent_rpcs&.respond_to? :update_job
965
- @update_job = Gapic::Config::Method.new update_job_config
965
+ @update_job = ::Gapic::Config::Method.new update_job_config
966
966
  cancel_job_config = parent_rpcs&.cancel_job if parent_rpcs&.respond_to? :cancel_job
967
- @cancel_job = Gapic::Config::Method.new cancel_job_config
967
+ @cancel_job = ::Gapic::Config::Method.new cancel_job_config
968
968
  delete_job_config = parent_rpcs&.delete_job if parent_rpcs&.respond_to? :delete_job
969
- @delete_job = Gapic::Config::Method.new delete_job_config
969
+ @delete_job = ::Gapic::Config::Method.new delete_job_config
970
970
 
971
971
  yield self if block_given?
972
972
  end