lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb in google-cloud-tasks-v2beta3-0.10.2 vs lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb in google-cloud-tasks-v2beta3-0.11.0
- old
+ new
@@ -202,11 +202,12 @@
@cloud_tasks_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::Tasks::V2beta3::CloudTasks::Stub,
credentials: credentials,
endpoint: @config.endpoint,
channel_args: @config.channel_args,
- interceptors: @config.interceptors
+ interceptors: @config.interceptors,
+ channel_pool_config: @config.channel_pool
)
end
##
# Get the associated client for mix-in of the Locations.
@@ -2149,9 +2150,17 @@
@rpcs ||= begin
parent_rpcs = nil
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
Rpcs.new parent_rpcs
end
+ end
+
+ ##
+ # Configuration for the channel pool
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
+ #
+ def channel_pool
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
end
##
# Configuration RPC class for the CloudTasks API.
#