google-cloud-dataproc-v1 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/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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataproc
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -38,7 +38,7 @@ module Google
38
38
  # To load this service and instantiate a client:
39
39
  #
40
40
  # require "google/cloud/dataproc/v1/workflow_template_service"
41
- # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new
41
+ # client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new
42
42
  #
43
43
  module WorkflowTemplateService
44
44
  end
@@ -39,15 +39,15 @@ module Google
39
39
  ##
40
40
  # Configure the WorkflowTemplateService Client class.
41
41
  #
42
- # See {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration}
42
+ # See {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration}
43
43
  # for a description of the configuration fields.
44
44
  #
45
45
  # ## Example
46
46
  #
47
47
  # To modify the configuration for all WorkflowTemplateService clients:
48
48
  #
49
- # Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.configure do |config|
50
- # config.timeout = 10_000
49
+ # ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.configure do |config|
50
+ # config.timeout = 10.0
51
51
  # end
52
52
  #
53
53
  # @yield [config] Configure the Client client.
@@ -135,7 +135,7 @@ module Google
135
135
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
136
136
  # should be made on {Client.configure}.
137
137
  #
138
- # See {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration}
138
+ # See {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration}
139
139
  # for a description of the configuration fields.
140
140
  #
141
141
  # @yield [config] Configure the Client client.
@@ -156,13 +156,13 @@ module Google
156
156
  # To create a new WorkflowTemplateService client with the default
157
157
  # configuration:
158
158
  #
159
- # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new
159
+ # client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new
160
160
  #
161
161
  # To create a new WorkflowTemplateService client with a custom
162
162
  # configuration:
163
163
  #
164
- # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
165
- # config.timeout = 10_000
164
+ # client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
165
+ # config.timeout = 10.0
166
166
  # end
167
167
  #
168
168
  # @yield [config] Configure the WorkflowTemplateService client.
@@ -194,8 +194,8 @@ module Google
194
194
  config.endpoint = @config.endpoint
195
195
  end
196
196
 
197
- @workflow_template_service_stub = Gapic::ServiceStub.new(
198
- Google::Cloud::Dataproc::V1::WorkflowTemplateService::Stub,
197
+ @workflow_template_service_stub = ::Gapic::ServiceStub.new(
198
+ ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Stub,
199
199
  credentials: credentials,
200
200
  endpoint: @config.endpoint,
201
201
  channel_args: @config.channel_args,
@@ -206,7 +206,7 @@ module Google
206
206
  ##
207
207
  # Get the associated client for long-running operations.
208
208
  #
209
- # @return [Google::Cloud::Dataproc::V1::WorkflowTemplateService::Operations]
209
+ # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Operations]
210
210
  #
211
211
  attr_reader :operations_client
212
212
 
@@ -217,12 +217,12 @@ module Google
217
217
  #
218
218
  # @overload create_workflow_template(request, options = nil)
219
219
  # Pass arguments to `create_workflow_template` via a request object, either of type
220
- # {Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest} or an equivalent Hash.
220
+ # {::Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest} or an equivalent Hash.
221
221
  #
222
- # @param request [Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest, Hash]
222
+ # @param request [::Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest, ::Hash]
223
223
  # A request object representing the call parameters. Required. To specify no
224
224
  # parameters, or to keep all the default parameter values, pass an empty Hash.
225
- # @param options [Gapic::CallOptions, Hash]
225
+ # @param options [::Gapic::CallOptions, ::Hash]
226
226
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
227
227
  #
228
228
  # @overload create_workflow_template(parent: nil, template: nil)
@@ -230,7 +230,7 @@ module Google
230
230
  # least one keyword argument is required. To specify no parameters, or to keep all
231
231
  # the default parameter values, pass an empty Hash as a request object (see above).
232
232
  #
233
- # @param parent [String]
233
+ # @param parent [::String]
234
234
  # Required. The resource name of the region or location, as described
235
235
  # in https://cloud.google.com/apis/design/resource_names.
236
236
  #
@@ -241,30 +241,30 @@ module Google
241
241
  # * For `projects.locations.workflowTemplates.create`, the resource name of
242
242
  # the location has the following format:
243
243
  # `projects/{project_id}/locations/{location}`
244
- # @param template [Google::Cloud::Dataproc::V1::WorkflowTemplate, Hash]
244
+ # @param template [::Google::Cloud::Dataproc::V1::WorkflowTemplate, ::Hash]
245
245
  # Required. The Dataproc workflow template to create.
246
246
  #
247
247
  # @yield [response, operation] Access the result along with the RPC operation
248
- # @yieldparam response [Google::Cloud::Dataproc::V1::WorkflowTemplate]
249
- # @yieldparam operation [GRPC::ActiveCall::Operation]
248
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
249
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
250
250
  #
251
- # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate]
251
+ # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
252
252
  #
253
- # @raise [Google::Cloud::Error] if the RPC is aborted.
253
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
254
254
  #
255
255
  def create_workflow_template request, options = nil
256
- raise ArgumentError, "request must be provided" if request.nil?
256
+ raise ::ArgumentError, "request must be provided" if request.nil?
257
257
 
258
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest
258
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest
259
259
 
260
260
  # Converts hash and nil to an options object
261
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
261
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
262
262
 
263
263
  # Customize the options with defaults
264
264
  metadata = @config.rpcs.create_workflow_template.metadata.to_h
265
265
 
266
266
  # Set x-goog-api-client and x-goog-user-project headers
267
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
267
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
268
268
  lib_name: @config.lib_name, lib_version: @config.lib_version,
269
269
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
270
270
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -285,8 +285,8 @@ module Google
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
  ##
@@ -297,12 +297,12 @@ module Google
297
297
  #
298
298
  # @overload get_workflow_template(request, options = nil)
299
299
  # Pass arguments to `get_workflow_template` via a request object, either of type
300
- # {Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest} or an equivalent Hash.
300
+ # {::Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest} or an equivalent Hash.
301
301
  #
302
- # @param request [Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest, Hash]
302
+ # @param request [::Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest, ::Hash]
303
303
  # A request object representing the call parameters. Required. To specify no
304
304
  # parameters, or to keep all the default parameter values, pass an empty Hash.
305
- # @param options [Gapic::CallOptions, Hash]
305
+ # @param options [::Gapic::CallOptions, ::Hash]
306
306
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
307
307
  #
308
308
  # @overload get_workflow_template(name: nil, version: nil)
@@ -310,7 +310,7 @@ module Google
310
310
  # least one keyword argument is required. To specify no parameters, or to keep all
311
311
  # the default parameter values, pass an empty Hash as a request object (see above).
312
312
  #
313
- # @param name [String]
313
+ # @param name [::String]
314
314
  # Required. The resource name of the workflow template, as described
315
315
  # in https://cloud.google.com/apis/design/resource_names.
316
316
  #
@@ -321,33 +321,33 @@ module Google
321
321
  # * For `projects.locations.workflowTemplates.get`, the resource name of the
322
322
  # template has the following format:
323
323
  # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
324
- # @param version [Integer]
324
+ # @param version [::Integer]
325
325
  # Optional. The version of workflow template to retrieve. Only previously
326
326
  # instantiated versions can be retrieved.
327
327
  #
328
328
  # If unspecified, retrieves the current version.
329
329
  #
330
330
  # @yield [response, operation] Access the result along with the RPC operation
331
- # @yieldparam response [Google::Cloud::Dataproc::V1::WorkflowTemplate]
332
- # @yieldparam operation [GRPC::ActiveCall::Operation]
331
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
332
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
333
333
  #
334
- # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate]
334
+ # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
335
335
  #
336
- # @raise [Google::Cloud::Error] if the RPC is aborted.
336
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
337
337
  #
338
338
  def get_workflow_template request, options = nil
339
- raise ArgumentError, "request must be provided" if request.nil?
339
+ raise ::ArgumentError, "request must be provided" if request.nil?
340
340
 
341
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest
341
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest
342
342
 
343
343
  # Converts hash and nil to an options object
344
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
344
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
345
345
 
346
346
  # Customize the options with defaults
347
347
  metadata = @config.rpcs.get_workflow_template.metadata.to_h
348
348
 
349
349
  # Set x-goog-api-client and x-goog-user-project headers
350
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
350
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
351
351
  lib_name: @config.lib_name, lib_version: @config.lib_version,
352
352
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
353
353
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -368,8 +368,8 @@ module Google
368
368
  yield response, operation if block_given?
369
369
  return response
370
370
  end
371
- rescue GRPC::BadStatus => e
372
- raise Google::Cloud::Error.from_error(e)
371
+ rescue ::GRPC::BadStatus => e
372
+ raise ::Google::Cloud::Error.from_error(e)
373
373
  end
374
374
 
375
375
  ##
@@ -385,23 +385,23 @@ module Google
385
385
  # This will cause any inflight jobs to be cancelled and workflow-owned
386
386
  # clusters to be deleted.
387
387
  #
388
- # The {Google::Longrunning::Operation#metadata Operation.metadata} will be
388
+ # The {::Google::Longrunning::Operation#metadata Operation.metadata} will be
389
389
  # [WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).
390
390
  # Also see [Using
391
391
  # WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
392
392
  #
393
393
  # On successful completion,
394
- # {Google::Longrunning::Operation#response Operation.response} will be
395
- # {Google::Protobuf::Empty Empty}.
394
+ # {::Google::Longrunning::Operation#response Operation.response} will be
395
+ # {::Google::Protobuf::Empty Empty}.
396
396
  #
397
397
  # @overload instantiate_workflow_template(request, options = nil)
398
398
  # Pass arguments to `instantiate_workflow_template` via a request object, either of type
399
- # {Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest} or an equivalent Hash.
399
+ # {::Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest} or an equivalent Hash.
400
400
  #
401
- # @param request [Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest, Hash]
401
+ # @param request [::Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest, ::Hash]
402
402
  # A request object representing the call parameters. Required. To specify no
403
403
  # parameters, or to keep all the default parameter values, pass an empty Hash.
404
- # @param options [Gapic::CallOptions, Hash]
404
+ # @param options [::Gapic::CallOptions, ::Hash]
405
405
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
406
406
  #
407
407
  # @overload instantiate_workflow_template(name: nil, version: nil, request_id: nil, parameters: nil)
@@ -409,7 +409,7 @@ module Google
409
409
  # least one keyword argument is required. To specify no parameters, or to keep all
410
410
  # the default parameter values, pass an empty Hash as a request object (see above).
411
411
  #
412
- # @param name [String]
412
+ # @param name [::String]
413
413
  # Required. The resource name of the workflow template, as described
414
414
  # in https://cloud.google.com/apis/design/resource_names.
415
415
  #
@@ -420,14 +420,14 @@ module Google
420
420
  # * For `projects.locations.workflowTemplates.instantiate`, the resource name
421
421
  # of the template has the following format:
422
422
  # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
423
- # @param version [Integer]
423
+ # @param version [::Integer]
424
424
  # Optional. The version of workflow template to instantiate. If specified,
425
425
  # the workflow will be instantiated only if the current version of
426
426
  # the workflow template has the supplied version.
427
427
  #
428
428
  # This option cannot be used to instantiate a previous version of
429
429
  # workflow template.
430
- # @param request_id [String]
430
+ # @param request_id [::String]
431
431
  # Optional. A tag that prevents multiple concurrent workflow
432
432
  # instances with the same tag from running. This mitigates risk of
433
433
  # concurrent instances started due to retries.
@@ -437,31 +437,31 @@ module Google
437
437
  #
438
438
  # The tag must contain only letters (a-z, A-Z), numbers (0-9),
439
439
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
440
- # @param parameters [Hash{String => String}]
440
+ # @param parameters [::Hash{::String => ::String}]
441
441
  # Optional. Map from parameter names to values that should be used for those
442
442
  # parameters. Values may not exceed 100 characters.
443
443
  #
444
444
  # @yield [response, operation] Access the result along with the RPC operation
445
- # @yieldparam response [Gapic::Operation]
446
- # @yieldparam operation [GRPC::ActiveCall::Operation]
445
+ # @yieldparam response [::Gapic::Operation]
446
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
447
447
  #
448
- # @return [Gapic::Operation]
448
+ # @return [::Gapic::Operation]
449
449
  #
450
- # @raise [Google::Cloud::Error] if the RPC is aborted.
450
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
451
451
  #
452
452
  def instantiate_workflow_template request, options = nil
453
- raise ArgumentError, "request must be provided" if request.nil?
453
+ raise ::ArgumentError, "request must be provided" if request.nil?
454
454
 
455
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest
455
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest
456
456
 
457
457
  # Converts hash and nil to an options object
458
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
458
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
459
459
 
460
460
  # Customize the options with defaults
461
461
  metadata = @config.rpcs.instantiate_workflow_template.metadata.to_h
462
462
 
463
463
  # Set x-goog-api-client and x-goog-user-project headers
464
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
464
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
465
465
  lib_name: @config.lib_name, lib_version: @config.lib_version,
466
466
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
467
467
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -479,20 +479,20 @@ module Google
479
479
  retry_policy: @config.retry_policy
480
480
 
481
481
  @workflow_template_service_stub.call_rpc :instantiate_workflow_template, request, options: options do |response, operation|
482
- response = Gapic::Operation.new response, @operations_client, options: options
482
+ response = ::Gapic::Operation.new response, @operations_client, options: options
483
483
  yield response, operation if block_given?
484
484
  return response
485
485
  end
486
- rescue GRPC::BadStatus => e
487
- raise Google::Cloud::Error.from_error(e)
486
+ rescue ::GRPC::BadStatus => e
487
+ raise ::Google::Cloud::Error.from_error(e)
488
488
  end
489
489
 
490
490
  ##
491
491
  # Instantiates a template and begins execution.
492
492
  #
493
493
  # This method is equivalent to executing the sequence
494
- # {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#create_workflow_template CreateWorkflowTemplate}, {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#instantiate_workflow_template InstantiateWorkflowTemplate},
495
- # {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#delete_workflow_template DeleteWorkflowTemplate}.
494
+ # {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#create_workflow_template CreateWorkflowTemplate}, {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#instantiate_workflow_template InstantiateWorkflowTemplate},
495
+ # {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client#delete_workflow_template DeleteWorkflowTemplate}.
496
496
  #
497
497
  # The returned Operation can be used to track execution of
498
498
  # workflow by polling
@@ -504,23 +504,23 @@ module Google
504
504
  # This will cause any inflight jobs to be cancelled and workflow-owned
505
505
  # clusters to be deleted.
506
506
  #
507
- # The {Google::Longrunning::Operation#metadata Operation.metadata} will be
507
+ # The {::Google::Longrunning::Operation#metadata Operation.metadata} will be
508
508
  # [WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).
509
509
  # Also see [Using
510
510
  # WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
511
511
  #
512
512
  # On successful completion,
513
- # {Google::Longrunning::Operation#response Operation.response} will be
514
- # {Google::Protobuf::Empty Empty}.
513
+ # {::Google::Longrunning::Operation#response Operation.response} will be
514
+ # {::Google::Protobuf::Empty Empty}.
515
515
  #
516
516
  # @overload instantiate_inline_workflow_template(request, options = nil)
517
517
  # Pass arguments to `instantiate_inline_workflow_template` via a request object, either of type
518
- # {Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest} or an equivalent Hash.
518
+ # {::Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest} or an equivalent Hash.
519
519
  #
520
- # @param request [Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest, Hash]
520
+ # @param request [::Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest, ::Hash]
521
521
  # A request object representing the call parameters. Required. To specify no
522
522
  # parameters, or to keep all the default parameter values, pass an empty Hash.
523
- # @param options [Gapic::CallOptions, Hash]
523
+ # @param options [::Gapic::CallOptions, ::Hash]
524
524
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
525
525
  #
526
526
  # @overload instantiate_inline_workflow_template(parent: nil, template: nil, request_id: nil)
@@ -528,7 +528,7 @@ module Google
528
528
  # least one keyword argument is required. To specify no parameters, or to keep all
529
529
  # the default parameter values, pass an empty Hash as a request object (see above).
530
530
  #
531
- # @param parent [String]
531
+ # @param parent [::String]
532
532
  # Required. The resource name of the region or location, as described
533
533
  # in https://cloud.google.com/apis/design/resource_names.
534
534
  #
@@ -539,9 +539,9 @@ module Google
539
539
  # * For `projects.locations.workflowTemplates.instantiateinline`, the
540
540
  # resource name of the location has the following format:
541
541
  # `projects/{project_id}/locations/{location}`
542
- # @param template [Google::Cloud::Dataproc::V1::WorkflowTemplate, Hash]
542
+ # @param template [::Google::Cloud::Dataproc::V1::WorkflowTemplate, ::Hash]
543
543
  # Required. The workflow template to instantiate.
544
- # @param request_id [String]
544
+ # @param request_id [::String]
545
545
  # Optional. A tag that prevents multiple concurrent workflow
546
546
  # instances with the same tag from running. This mitigates risk of
547
547
  # concurrent instances started due to retries.
@@ -553,26 +553,26 @@ module Google
553
553
  # underscores (_), and hyphens (-). The maximum length is 40 characters.
554
554
  #
555
555
  # @yield [response, operation] Access the result along with the RPC operation
556
- # @yieldparam response [Gapic::Operation]
557
- # @yieldparam operation [GRPC::ActiveCall::Operation]
556
+ # @yieldparam response [::Gapic::Operation]
557
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
558
558
  #
559
- # @return [Gapic::Operation]
559
+ # @return [::Gapic::Operation]
560
560
  #
561
- # @raise [Google::Cloud::Error] if the RPC is aborted.
561
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
562
562
  #
563
563
  def instantiate_inline_workflow_template request, options = nil
564
- raise ArgumentError, "request must be provided" if request.nil?
564
+ raise ::ArgumentError, "request must be provided" if request.nil?
565
565
 
566
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest
566
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest
567
567
 
568
568
  # Converts hash and nil to an options object
569
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
569
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
570
570
 
571
571
  # Customize the options with defaults
572
572
  metadata = @config.rpcs.instantiate_inline_workflow_template.metadata.to_h
573
573
 
574
574
  # Set x-goog-api-client and x-goog-user-project headers
575
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
575
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
576
576
  lib_name: @config.lib_name, lib_version: @config.lib_version,
577
577
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
578
578
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -590,12 +590,12 @@ module Google
590
590
  retry_policy: @config.retry_policy
591
591
 
592
592
  @workflow_template_service_stub.call_rpc :instantiate_inline_workflow_template, request, options: options do |response, operation|
593
- response = Gapic::Operation.new response, @operations_client, options: options
593
+ response = ::Gapic::Operation.new response, @operations_client, options: options
594
594
  yield response, operation if block_given?
595
595
  return response
596
596
  end
597
- rescue GRPC::BadStatus => e
598
- raise Google::Cloud::Error.from_error(e)
597
+ rescue ::GRPC::BadStatus => e
598
+ raise ::Google::Cloud::Error.from_error(e)
599
599
  end
600
600
 
601
601
  ##
@@ -604,12 +604,12 @@ module Google
604
604
  #
605
605
  # @overload update_workflow_template(request, options = nil)
606
606
  # Pass arguments to `update_workflow_template` via a request object, either of type
607
- # {Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest} or an equivalent Hash.
607
+ # {::Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest} or an equivalent Hash.
608
608
  #
609
- # @param request [Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest, Hash]
609
+ # @param request [::Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest, ::Hash]
610
610
  # A request object representing the call parameters. Required. To specify no
611
611
  # parameters, or to keep all the default parameter values, pass an empty Hash.
612
- # @param options [Gapic::CallOptions, Hash]
612
+ # @param options [::Gapic::CallOptions, ::Hash]
613
613
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
614
614
  #
615
615
  # @overload update_workflow_template(template: nil)
@@ -617,32 +617,32 @@ module Google
617
617
  # least one keyword argument is required. To specify no parameters, or to keep all
618
618
  # the default parameter values, pass an empty Hash as a request object (see above).
619
619
  #
620
- # @param template [Google::Cloud::Dataproc::V1::WorkflowTemplate, Hash]
620
+ # @param template [::Google::Cloud::Dataproc::V1::WorkflowTemplate, ::Hash]
621
621
  # Required. The updated workflow template.
622
622
  #
623
623
  # The `template.version` field must match the current version.
624
624
  #
625
625
  # @yield [response, operation] Access the result along with the RPC operation
626
- # @yieldparam response [Google::Cloud::Dataproc::V1::WorkflowTemplate]
627
- # @yieldparam operation [GRPC::ActiveCall::Operation]
626
+ # @yieldparam response [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
627
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
628
628
  #
629
- # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate]
629
+ # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
630
630
  #
631
- # @raise [Google::Cloud::Error] if the RPC is aborted.
631
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
632
632
  #
633
633
  def update_workflow_template request, options = nil
634
- raise ArgumentError, "request must be provided" if request.nil?
634
+ raise ::ArgumentError, "request must be provided" if request.nil?
635
635
 
636
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest
636
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest
637
637
 
638
638
  # Converts hash and nil to an options object
639
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
639
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
640
640
 
641
641
  # Customize the options with defaults
642
642
  metadata = @config.rpcs.update_workflow_template.metadata.to_h
643
643
 
644
644
  # Set x-goog-api-client and x-goog-user-project headers
645
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
645
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
646
646
  lib_name: @config.lib_name, lib_version: @config.lib_version,
647
647
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
648
648
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -663,8 +663,8 @@ module Google
663
663
  yield response, operation if block_given?
664
664
  return response
665
665
  end
666
- rescue GRPC::BadStatus => e
667
- raise Google::Cloud::Error.from_error(e)
666
+ rescue ::GRPC::BadStatus => e
667
+ raise ::Google::Cloud::Error.from_error(e)
668
668
  end
669
669
 
670
670
  ##
@@ -672,12 +672,12 @@ module Google
672
672
  #
673
673
  # @overload list_workflow_templates(request, options = nil)
674
674
  # Pass arguments to `list_workflow_templates` via a request object, either of type
675
- # {Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest} or an equivalent Hash.
675
+ # {::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest} or an equivalent Hash.
676
676
  #
677
- # @param request [Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest, Hash]
677
+ # @param request [::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest, ::Hash]
678
678
  # A request object representing the call parameters. Required. To specify no
679
679
  # parameters, or to keep all the default parameter values, pass an empty Hash.
680
- # @param options [Gapic::CallOptions, Hash]
680
+ # @param options [::Gapic::CallOptions, ::Hash]
681
681
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
682
682
  #
683
683
  # @overload list_workflow_templates(parent: nil, page_size: nil, page_token: nil)
@@ -685,7 +685,7 @@ module Google
685
685
  # least one keyword argument is required. To specify no parameters, or to keep all
686
686
  # the default parameter values, pass an empty Hash as a request object (see above).
687
687
  #
688
- # @param parent [String]
688
+ # @param parent [::String]
689
689
  # Required. The resource name of the region or location, as described
690
690
  # in https://cloud.google.com/apis/design/resource_names.
691
691
  #
@@ -696,33 +696,33 @@ module Google
696
696
  # * For `projects.locations.workflowTemplates.list`, the
697
697
  # resource name of the location has the following format:
698
698
  # `projects/{project_id}/locations/{location}`
699
- # @param page_size [Integer]
699
+ # @param page_size [::Integer]
700
700
  # Optional. The maximum number of results to return in each response.
701
- # @param page_token [String]
701
+ # @param page_token [::String]
702
702
  # Optional. The page token, returned by a previous call, to request the
703
703
  # next page of results.
704
704
  #
705
705
  # @yield [response, operation] Access the result along with the RPC operation
706
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1::WorkflowTemplate>]
707
- # @yieldparam operation [GRPC::ActiveCall::Operation]
706
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1::WorkflowTemplate>]
707
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
708
708
  #
709
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dataproc::V1::WorkflowTemplate>]
709
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1::WorkflowTemplate>]
710
710
  #
711
- # @raise [Google::Cloud::Error] if the RPC is aborted.
711
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
712
712
  #
713
713
  def list_workflow_templates request, options = nil
714
- raise ArgumentError, "request must be provided" if request.nil?
714
+ raise ::ArgumentError, "request must be provided" if request.nil?
715
715
 
716
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest
716
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest
717
717
 
718
718
  # Converts hash and nil to an options object
719
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
719
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
720
720
 
721
721
  # Customize the options with defaults
722
722
  metadata = @config.rpcs.list_workflow_templates.metadata.to_h
723
723
 
724
724
  # Set x-goog-api-client and x-goog-user-project headers
725
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
725
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
726
726
  lib_name: @config.lib_name, lib_version: @config.lib_version,
727
727
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
728
728
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -740,12 +740,12 @@ module Google
740
740
  retry_policy: @config.retry_policy
741
741
 
742
742
  @workflow_template_service_stub.call_rpc :list_workflow_templates, request, options: options do |response, operation|
743
- response = Gapic::PagedEnumerable.new @workflow_template_service_stub, :list_workflow_templates, request, response, operation, options
743
+ response = ::Gapic::PagedEnumerable.new @workflow_template_service_stub, :list_workflow_templates, request, response, operation, options
744
744
  yield response, operation if block_given?
745
745
  return response
746
746
  end
747
- rescue GRPC::BadStatus => e
748
- raise Google::Cloud::Error.from_error(e)
747
+ rescue ::GRPC::BadStatus => e
748
+ raise ::Google::Cloud::Error.from_error(e)
749
749
  end
750
750
 
751
751
  ##
@@ -753,12 +753,12 @@ module Google
753
753
  #
754
754
  # @overload delete_workflow_template(request, options = nil)
755
755
  # Pass arguments to `delete_workflow_template` via a request object, either of type
756
- # {Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest} or an equivalent Hash.
756
+ # {::Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest} or an equivalent Hash.
757
757
  #
758
- # @param request [Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest, Hash]
758
+ # @param request [::Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest, ::Hash]
759
759
  # A request object representing the call parameters. Required. To specify no
760
760
  # parameters, or to keep all the default parameter values, pass an empty Hash.
761
- # @param options [Gapic::CallOptions, Hash]
761
+ # @param options [::Gapic::CallOptions, ::Hash]
762
762
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
763
763
  #
764
764
  # @overload delete_workflow_template(name: nil, version: nil)
@@ -766,7 +766,7 @@ module Google
766
766
  # least one keyword argument is required. To specify no parameters, or to keep all
767
767
  # the default parameter values, pass an empty Hash as a request object (see above).
768
768
  #
769
- # @param name [String]
769
+ # @param name [::String]
770
770
  # Required. The resource name of the workflow template, as described
771
771
  # in https://cloud.google.com/apis/design/resource_names.
772
772
  #
@@ -777,32 +777,32 @@ module Google
777
777
  # * For `projects.locations.workflowTemplates.instantiate`, the resource name
778
778
  # of the template has the following format:
779
779
  # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
780
- # @param version [Integer]
780
+ # @param version [::Integer]
781
781
  # Optional. The version of workflow template to delete. If specified,
782
782
  # will only delete the template if the current server version matches
783
783
  # specified version.
784
784
  #
785
785
  # @yield [response, operation] Access the result along with the RPC operation
786
- # @yieldparam response [Google::Protobuf::Empty]
787
- # @yieldparam operation [GRPC::ActiveCall::Operation]
786
+ # @yieldparam response [::Google::Protobuf::Empty]
787
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
788
788
  #
789
- # @return [Google::Protobuf::Empty]
789
+ # @return [::Google::Protobuf::Empty]
790
790
  #
791
- # @raise [Google::Cloud::Error] if the RPC is aborted.
791
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
792
792
  #
793
793
  def delete_workflow_template request, options = nil
794
- raise ArgumentError, "request must be provided" if request.nil?
794
+ raise ::ArgumentError, "request must be provided" if request.nil?
795
795
 
796
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest
796
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest
797
797
 
798
798
  # Converts hash and nil to an options object
799
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
799
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
800
800
 
801
801
  # Customize the options with defaults
802
802
  metadata = @config.rpcs.delete_workflow_template.metadata.to_h
803
803
 
804
804
  # Set x-goog-api-client and x-goog-user-project headers
805
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
805
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
806
806
  lib_name: @config.lib_name, lib_version: @config.lib_version,
807
807
  gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
808
808
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -823,8 +823,8 @@ module Google
823
823
  yield response, operation if block_given?
824
824
  return response
825
825
  end
826
- rescue GRPC::BadStatus => e
827
- raise Google::Cloud::Error.from_error(e)
826
+ rescue ::GRPC::BadStatus => e
827
+ raise ::Google::Cloud::Error.from_error(e)
828
828
  end
829
829
 
830
830
  ##
@@ -834,7 +834,7 @@ module Google
834
834
  # providing control over timeouts, retry behavior, logging, transport
835
835
  # parameters, and other low-level controls. Certain parameters can also be
836
836
  # applied individually to specific RPCs. See
837
- # {Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration::Rpcs}
837
+ # {::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client::Configuration::Rpcs}
838
838
  # for a list of RPCs that can be configured independently.
839
839
  #
840
840
  # Configuration can be applied globally to all clients, or to a single client
@@ -845,22 +845,22 @@ module Google
845
845
  # To modify the global config, setting the timeout for create_workflow_template
846
846
  # to 20 seconds, and all remaining timeouts to 10 seconds:
847
847
  #
848
- # Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.configure do |config|
849
- # config.timeout = 10_000
850
- # config.rpcs.create_workflow_template.timeout = 20_000
848
+ # ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.configure do |config|
849
+ # config.timeout = 10.0
850
+ # config.rpcs.create_workflow_template.timeout = 20.0
851
851
  # end
852
852
  #
853
853
  # To apply the above configuration only to a new client:
854
854
  #
855
- # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
856
- # config.timeout = 10_000
857
- # config.rpcs.create_workflow_template.timeout = 20_000
855
+ # client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
856
+ # config.timeout = 10.0
857
+ # config.rpcs.create_workflow_template.timeout = 20.0
858
858
  # end
859
859
  #
860
860
  # @!attribute [rw] endpoint
861
861
  # The hostname or hostname:port of the service endpoint.
862
862
  # Defaults to `"dataproc.googleapis.com"`.
863
- # @return [String]
863
+ # @return [::String]
864
864
  # @!attribute [rw] credentials
865
865
  # Credentials to send with calls. You may provide any of the following types:
866
866
  # * (`String`) The path to a service account key file in JSON format
@@ -872,29 +872,29 @@ module Google
872
872
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
873
873
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
874
874
  # * (`nil`) indicating no credentials
875
- # @return [Object]
875
+ # @return [::Object]
876
876
  # @!attribute [rw] scope
877
877
  # The OAuth scopes
878
- # @return [Array<String>]
878
+ # @return [::Array<::String>]
879
879
  # @!attribute [rw] lib_name
880
880
  # The library name as recorded in instrumentation and logging
881
- # @return [String]
881
+ # @return [::String]
882
882
  # @!attribute [rw] lib_version
883
883
  # The library version as recorded in instrumentation and logging
884
- # @return [String]
884
+ # @return [::String]
885
885
  # @!attribute [rw] channel_args
886
886
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
887
887
  # `GRPC::Core::Channel` object is provided as the credential.
888
- # @return [Hash]
888
+ # @return [::Hash]
889
889
  # @!attribute [rw] interceptors
890
890
  # An array of interceptors that are run before calls are executed.
891
- # @return [Array<GRPC::ClientInterceptor>]
891
+ # @return [::Array<::GRPC::ClientInterceptor>]
892
892
  # @!attribute [rw] timeout
893
- # The call timeout in milliseconds.
894
- # @return [Numeric]
893
+ # The call timeout in seconds.
894
+ # @return [::Numeric]
895
895
  # @!attribute [rw] metadata
896
896
  # Additional gRPC headers to be sent with the call.
897
- # @return [Hash{Symbol=>String}]
897
+ # @return [::Hash{::Symbol=>::String}]
898
898
  # @!attribute [rw] retry_policy
899
899
  # The retry policy. The value is a hash with the following keys:
900
900
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -902,10 +902,10 @@ module Google
902
902
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
903
903
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
904
904
  # trigger a retry.
905
- # @return [Hash]
905
+ # @return [::Hash]
906
906
  #
907
907
  class Configuration
908
- extend Gapic::Config
908
+ extend ::Gapic::Config
909
909
 
910
910
  config_attr :endpoint, "dataproc.googleapis.com", String
911
911
  config_attr :credentials, nil do |value|
@@ -913,14 +913,14 @@ module Google
913
913
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
914
914
  allowed.any? { |klass| klass === value }
915
915
  end
916
- config_attr :scope, nil, String, Array, nil
917
- config_attr :lib_name, nil, String, nil
918
- config_attr :lib_version, nil, String, nil
919
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
920
- config_attr :interceptors, nil, Array, nil
921
- config_attr :timeout, nil, Numeric, nil
922
- config_attr :metadata, nil, Hash, nil
923
- config_attr :retry_policy, nil, Hash, Proc, nil
916
+ config_attr :scope, nil, ::String, ::Array, nil
917
+ config_attr :lib_name, nil, ::String, nil
918
+ config_attr :lib_version, nil, ::String, nil
919
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
920
+ config_attr :interceptors, nil, ::Array, nil
921
+ config_attr :timeout, nil, ::Numeric, nil
922
+ config_attr :metadata, nil, ::Hash, nil
923
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
924
924
 
925
925
  # @private
926
926
  def initialize parent_config = nil
@@ -961,56 +961,56 @@ module Google
961
961
  class Rpcs
962
962
  ##
963
963
  # RPC-specific configuration for `create_workflow_template`
964
- # @return [Gapic::Config::Method]
964
+ # @return [::Gapic::Config::Method]
965
965
  #
966
966
  attr_reader :create_workflow_template
967
967
  ##
968
968
  # RPC-specific configuration for `get_workflow_template`
969
- # @return [Gapic::Config::Method]
969
+ # @return [::Gapic::Config::Method]
970
970
  #
971
971
  attr_reader :get_workflow_template
972
972
  ##
973
973
  # RPC-specific configuration for `instantiate_workflow_template`
974
- # @return [Gapic::Config::Method]
974
+ # @return [::Gapic::Config::Method]
975
975
  #
976
976
  attr_reader :instantiate_workflow_template
977
977
  ##
978
978
  # RPC-specific configuration for `instantiate_inline_workflow_template`
979
- # @return [Gapic::Config::Method]
979
+ # @return [::Gapic::Config::Method]
980
980
  #
981
981
  attr_reader :instantiate_inline_workflow_template
982
982
  ##
983
983
  # RPC-specific configuration for `update_workflow_template`
984
- # @return [Gapic::Config::Method]
984
+ # @return [::Gapic::Config::Method]
985
985
  #
986
986
  attr_reader :update_workflow_template
987
987
  ##
988
988
  # RPC-specific configuration for `list_workflow_templates`
989
- # @return [Gapic::Config::Method]
989
+ # @return [::Gapic::Config::Method]
990
990
  #
991
991
  attr_reader :list_workflow_templates
992
992
  ##
993
993
  # RPC-specific configuration for `delete_workflow_template`
994
- # @return [Gapic::Config::Method]
994
+ # @return [::Gapic::Config::Method]
995
995
  #
996
996
  attr_reader :delete_workflow_template
997
997
 
998
998
  # @private
999
999
  def initialize parent_rpcs = nil
1000
1000
  create_workflow_template_config = parent_rpcs&.create_workflow_template if parent_rpcs&.respond_to? :create_workflow_template
1001
- @create_workflow_template = Gapic::Config::Method.new create_workflow_template_config
1001
+ @create_workflow_template = ::Gapic::Config::Method.new create_workflow_template_config
1002
1002
  get_workflow_template_config = parent_rpcs&.get_workflow_template if parent_rpcs&.respond_to? :get_workflow_template
1003
- @get_workflow_template = Gapic::Config::Method.new get_workflow_template_config
1003
+ @get_workflow_template = ::Gapic::Config::Method.new get_workflow_template_config
1004
1004
  instantiate_workflow_template_config = parent_rpcs&.instantiate_workflow_template if parent_rpcs&.respond_to? :instantiate_workflow_template
1005
- @instantiate_workflow_template = Gapic::Config::Method.new instantiate_workflow_template_config
1005
+ @instantiate_workflow_template = ::Gapic::Config::Method.new instantiate_workflow_template_config
1006
1006
  instantiate_inline_workflow_template_config = parent_rpcs&.instantiate_inline_workflow_template if parent_rpcs&.respond_to? :instantiate_inline_workflow_template
1007
- @instantiate_inline_workflow_template = Gapic::Config::Method.new instantiate_inline_workflow_template_config
1007
+ @instantiate_inline_workflow_template = ::Gapic::Config::Method.new instantiate_inline_workflow_template_config
1008
1008
  update_workflow_template_config = parent_rpcs&.update_workflow_template if parent_rpcs&.respond_to? :update_workflow_template
1009
- @update_workflow_template = Gapic::Config::Method.new update_workflow_template_config
1009
+ @update_workflow_template = ::Gapic::Config::Method.new update_workflow_template_config
1010
1010
  list_workflow_templates_config = parent_rpcs&.list_workflow_templates if parent_rpcs&.respond_to? :list_workflow_templates
1011
- @list_workflow_templates = Gapic::Config::Method.new list_workflow_templates_config
1011
+ @list_workflow_templates = ::Gapic::Config::Method.new list_workflow_templates_config
1012
1012
  delete_workflow_template_config = parent_rpcs&.delete_workflow_template if parent_rpcs&.respond_to? :delete_workflow_template
1013
- @delete_workflow_template = Gapic::Config::Method.new delete_workflow_template_config
1013
+ @delete_workflow_template = ::Gapic::Config::Method.new delete_workflow_template_config
1014
1014
 
1015
1015
  yield self if block_given?
1016
1016
  end