lib/google/cloud/talent/v4beta1/job_service/client.rb in google-cloud-talent-v4beta1-0.8.1 vs lib/google/cloud/talent/v4beta1/job_service/client.rb in google-cloud-talent-v4beta1-0.9.0

- old
+ new

@@ -171,11 +171,12 @@ @job_service_stub = ::Gapic::ServiceStub.new( ::Google::Cloud::Talent::V4beta1::JobService::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 long-running operations. @@ -1874,9 +1875,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 JobService API. #