lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb in google-cloud-dataflow-v1beta3-0.6.0 vs lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb in google-cloud-dataflow-v1beta3-0.7.0
- old
+ new
@@ -134,11 +134,12 @@
@flex_templates_service_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::Dataflow::V1beta3::FlexTemplatesService::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
@@ -354,9 +355,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 FlexTemplatesService API.
#