lib/google/cloud/optimization/v1/fleet_routing/client.rb in google-cloud-optimization-v1-0.5.0 vs lib/google/cloud/optimization/v1/fleet_routing/client.rb in google-cloud-optimization-v1-0.6.0

- old
+ new

@@ -166,11 +166,12 @@ @fleet_routing_stub = ::Gapic::ServiceStub.new( ::Google::Cloud::Optimization::V1::FleetRouting::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. @@ -690,9 +691,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 FleetRouting API. #