google-cloud-dataproc-v1 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +10 -1
  3. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +84 -0
  4. data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +10 -1
  5. data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +10 -1
  6. data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +75 -0
  7. data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +75 -0
  8. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +24 -2
  9. data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +10 -1
  10. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +188 -1
  11. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +75 -0
  12. data/lib/google/cloud/dataproc/v1/clusters_pb.rb +4 -1
  13. data/lib/google/cloud/dataproc/v1/job_controller/client.rb +10 -1
  14. data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +10 -1
  15. data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +123 -0
  16. data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +75 -0
  17. data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +10 -1
  18. data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +10 -1
  19. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +62 -0
  20. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +75 -0
  21. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  22. data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +10 -1
  23. data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +10 -1
  24. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +130 -0
  25. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +75 -0
  26. data/proto_docs/google/cloud/dataproc/v1/clusters.rb +33 -18
  27. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  28. data/proto_docs/google/type/interval.rb +45 -0
  29. metadata +6 -4
@@ -241,6 +241,22 @@ module Google
241
241
  # @return [::Google::Cloud::Dataproc::V1::Job]
242
242
  #
243
243
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
244
+ #
245
+ # @example Basic example
246
+ # require "google/cloud/dataproc/v1"
247
+ #
248
+ # # Create a client object. The client can be reused for multiple calls.
249
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
250
+ #
251
+ # # Create a request. To set request fields, pass in keyword arguments.
252
+ # request = Google::Cloud::Dataproc::V1::SubmitJobRequest.new
253
+ #
254
+ # # Call the submit_job method.
255
+ # result = client.submit_job request
256
+ #
257
+ # # The returned object is of type Google::Cloud::Dataproc::V1::Job.
258
+ # p result
259
+ #
244
260
  def submit_job request, options = nil
245
261
  raise ::ArgumentError, "request must be provided" if request.nil?
246
262
 
@@ -321,6 +337,29 @@ module Google
321
337
  # @return [::Gapic::Operation]
322
338
  #
323
339
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
340
+ #
341
+ # @example Basic example
342
+ # require "google/cloud/dataproc/v1"
343
+ #
344
+ # # Create a client object. The client can be reused for multiple calls.
345
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
346
+ #
347
+ # # Create a request. To set request fields, pass in keyword arguments.
348
+ # request = Google::Cloud::Dataproc::V1::SubmitJobRequest.new
349
+ #
350
+ # # Call the submit_job_as_operation method.
351
+ # result = client.submit_job_as_operation request
352
+ #
353
+ # # The returned object is of type Gapic::Operation. You can use it to
354
+ # # check the status of an operation, cancel it, or wait for results.
355
+ # # Here is how to wait for a response.
356
+ # result.wait_until_done! timeout: 60
357
+ # if result.response?
358
+ # p result.response
359
+ # else
360
+ # puts "No response received."
361
+ # end
362
+ #
324
363
  def submit_job_as_operation request, options = nil
325
364
  raise ::ArgumentError, "request must be provided" if request.nil?
326
365
 
@@ -389,6 +428,22 @@ module Google
389
428
  # @return [::Google::Cloud::Dataproc::V1::Job]
390
429
  #
391
430
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
431
+ #
432
+ # @example Basic example
433
+ # require "google/cloud/dataproc/v1"
434
+ #
435
+ # # Create a client object. The client can be reused for multiple calls.
436
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
437
+ #
438
+ # # Create a request. To set request fields, pass in keyword arguments.
439
+ # request = Google::Cloud::Dataproc::V1::GetJobRequest.new
440
+ #
441
+ # # Call the get_job method.
442
+ # result = client.get_job request
443
+ #
444
+ # # The returned object is of type Google::Cloud::Dataproc::V1::Job.
445
+ # p result
446
+ #
392
447
  def get_job request, options = nil
393
448
  raise ::ArgumentError, "request must be provided" if request.nil?
394
449
 
@@ -482,6 +537,26 @@ module Google
482
537
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataproc::V1::Job>]
483
538
  #
484
539
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
540
+ #
541
+ # @example Basic example
542
+ # require "google/cloud/dataproc/v1"
543
+ #
544
+ # # Create a client object. The client can be reused for multiple calls.
545
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
546
+ #
547
+ # # Create a request. To set request fields, pass in keyword arguments.
548
+ # request = Google::Cloud::Dataproc::V1::ListJobsRequest.new
549
+ #
550
+ # # Call the list_jobs method.
551
+ # result = client.list_jobs request
552
+ #
553
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
554
+ # # over elements, and API calls will be issued to fetch pages as needed.
555
+ # result.each do |item|
556
+ # # Each element is of type ::Google::Cloud::Dataproc::V1::Job.
557
+ # p item
558
+ # end
559
+ #
485
560
  def list_jobs request, options = nil
486
561
  raise ::ArgumentError, "request must be provided" if request.nil?
487
562
 
@@ -559,6 +634,22 @@ module Google
559
634
  # @return [::Google::Cloud::Dataproc::V1::Job]
560
635
  #
561
636
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
637
+ #
638
+ # @example Basic example
639
+ # require "google/cloud/dataproc/v1"
640
+ #
641
+ # # Create a client object. The client can be reused for multiple calls.
642
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
643
+ #
644
+ # # Create a request. To set request fields, pass in keyword arguments.
645
+ # request = Google::Cloud::Dataproc::V1::UpdateJobRequest.new
646
+ #
647
+ # # Call the update_job method.
648
+ # result = client.update_job request
649
+ #
650
+ # # The returned object is of type Google::Cloud::Dataproc::V1::Job.
651
+ # p result
652
+ #
562
653
  def update_job request, options = nil
563
654
  raise ::ArgumentError, "request must be provided" if request.nil?
564
655
 
@@ -630,6 +721,22 @@ module Google
630
721
  # @return [::Google::Cloud::Dataproc::V1::Job]
631
722
  #
632
723
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
724
+ #
725
+ # @example Basic example
726
+ # require "google/cloud/dataproc/v1"
727
+ #
728
+ # # Create a client object. The client can be reused for multiple calls.
729
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
730
+ #
731
+ # # Create a request. To set request fields, pass in keyword arguments.
732
+ # request = Google::Cloud::Dataproc::V1::CancelJobRequest.new
733
+ #
734
+ # # Call the cancel_job method.
735
+ # result = client.cancel_job request
736
+ #
737
+ # # The returned object is of type Google::Cloud::Dataproc::V1::Job.
738
+ # p result
739
+ #
633
740
  def cancel_job request, options = nil
634
741
  raise ::ArgumentError, "request must be provided" if request.nil?
635
742
 
@@ -698,6 +805,22 @@ module Google
698
805
  # @return [::Google::Protobuf::Empty]
699
806
  #
700
807
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
808
+ #
809
+ # @example Basic example
810
+ # require "google/cloud/dataproc/v1"
811
+ #
812
+ # # Create a client object. The client can be reused for multiple calls.
813
+ # client = Google::Cloud::Dataproc::V1::JobController::Rest::Client.new
814
+ #
815
+ # # Create a request. To set request fields, pass in keyword arguments.
816
+ # request = Google::Cloud::Dataproc::V1::DeleteJobRequest.new
817
+ #
818
+ # # Call the delete_job method.
819
+ # result = client.delete_job request
820
+ #
821
+ # # The returned object is of type Google::Protobuf::Empty.
822
+ # p result
823
+ #
701
824
  def delete_job request, options = nil
702
825
  raise ::ArgumentError, "request must be provided" if request.nil?
703
826
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -152,7 +152,8 @@ module Google
152
152
  credentials: credentials,
153
153
  endpoint: @config.endpoint,
154
154
  channel_args: @config.channel_args,
155
- interceptors: @config.interceptors
155
+ interceptors: @config.interceptors,
156
+ channel_pool_config: @config.channel_pool
156
157
  )
157
158
  end
158
159
 
@@ -623,6 +624,14 @@ module Google
623
624
  end
624
625
  end
625
626
 
627
+ ##
628
+ # Configuration for the channel pool
629
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
630
+ #
631
+ def channel_pool
632
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
633
+ end
634
+
626
635
  ##
627
636
  # Configuration RPC class for the NodeGroupController API.
628
637
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -215,6 +215,29 @@ module Google
215
215
  # @return [::Gapic::Operation]
216
216
  #
217
217
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
218
+ #
219
+ # @example Basic example
220
+ # require "google/cloud/dataproc/v1"
221
+ #
222
+ # # Create a client object. The client can be reused for multiple calls.
223
+ # client = Google::Cloud::Dataproc::V1::NodeGroupController::Rest::Client.new
224
+ #
225
+ # # Create a request. To set request fields, pass in keyword arguments.
226
+ # request = Google::Cloud::Dataproc::V1::CreateNodeGroupRequest.new
227
+ #
228
+ # # Call the create_node_group method.
229
+ # result = client.create_node_group request
230
+ #
231
+ # # The returned object is of type Gapic::Operation. You can use it to
232
+ # # check the status of an operation, cancel it, or wait for results.
233
+ # # Here is how to wait for a response.
234
+ # result.wait_until_done! timeout: 60
235
+ # if result.response?
236
+ # p result.response
237
+ # else
238
+ # puts "No response received."
239
+ # end
240
+ #
218
241
  def create_node_group request, options = nil
219
242
  raise ::ArgumentError, "request must be provided" if request.nil?
220
243
 
@@ -312,6 +335,29 @@ module Google
312
335
  # @return [::Gapic::Operation]
313
336
  #
314
337
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
338
+ #
339
+ # @example Basic example
340
+ # require "google/cloud/dataproc/v1"
341
+ #
342
+ # # Create a client object. The client can be reused for multiple calls.
343
+ # client = Google::Cloud::Dataproc::V1::NodeGroupController::Rest::Client.new
344
+ #
345
+ # # Create a request. To set request fields, pass in keyword arguments.
346
+ # request = Google::Cloud::Dataproc::V1::ResizeNodeGroupRequest.new
347
+ #
348
+ # # Call the resize_node_group method.
349
+ # result = client.resize_node_group request
350
+ #
351
+ # # The returned object is of type Gapic::Operation. You can use it to
352
+ # # check the status of an operation, cancel it, or wait for results.
353
+ # # Here is how to wait for a response.
354
+ # result.wait_until_done! timeout: 60
355
+ # if result.response?
356
+ # p result.response
357
+ # else
358
+ # puts "No response received."
359
+ # end
360
+ #
315
361
  def resize_node_group request, options = nil
316
362
  raise ::ArgumentError, "request must be provided" if request.nil?
317
363
 
@@ -378,6 +424,22 @@ module Google
378
424
  # @return [::Google::Cloud::Dataproc::V1::NodeGroup]
379
425
  #
380
426
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
427
+ #
428
+ # @example Basic example
429
+ # require "google/cloud/dataproc/v1"
430
+ #
431
+ # # Create a client object. The client can be reused for multiple calls.
432
+ # client = Google::Cloud::Dataproc::V1::NodeGroupController::Rest::Client.new
433
+ #
434
+ # # Create a request. To set request fields, pass in keyword arguments.
435
+ # request = Google::Cloud::Dataproc::V1::GetNodeGroupRequest.new
436
+ #
437
+ # # Call the get_node_group method.
438
+ # result = client.get_node_group request
439
+ #
440
+ # # The returned object is of type Google::Cloud::Dataproc::V1::NodeGroup.
441
+ # p result
442
+ #
381
443
  def get_node_group request, options = nil
382
444
  raise ::ArgumentError, "request must be provided" if request.nil?
383
445
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataproc
23
23
  module V1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.21.0"
25
25
  end
26
26
  end
27
27
  end
@@ -187,7 +187,8 @@ module Google
187
187
  credentials: credentials,
188
188
  endpoint: @config.endpoint,
189
189
  channel_args: @config.channel_args,
190
- interceptors: @config.interceptors
190
+ interceptors: @config.interceptors,
191
+ channel_pool_config: @config.channel_pool
191
192
  )
192
193
  end
193
194
 
@@ -1093,6 +1094,14 @@ module Google
1093
1094
  end
1094
1095
  end
1095
1096
 
1097
+ ##
1098
+ # Configuration for the channel pool
1099
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1100
+ #
1101
+ def channel_pool
1102
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1103
+ end
1104
+
1096
1105
  ##
1097
1106
  # Configuration RPC class for the WorkflowTemplateService API.
1098
1107
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #