lib/google/cloud/app_engine/v1/firewall/client.rb in google-cloud-app_engine-v1-0.7.0 vs lib/google/cloud/app_engine/v1/firewall/client.rb in google-cloud-app_engine-v1-0.8.0
- old
+ new
@@ -143,11 +143,12 @@
@firewall_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::AppEngine::V1::Firewall::Stub,
credentials: credentials,
endpoint: @config.endpoint,
channel_args: @config.channel_args,
- interceptors: @config.interceptors
+ interceptors: @config.interceptors,
+ channel_pool_config: @config.channel_pool
)
end
# Service calls
@@ -816,9 +817,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 Firewall API.
#