lib/google/cloud/billing/budgets/v1beta1/budget_service/client.rb in google-cloud-billing-budgets-v1beta1-0.9.0 vs lib/google/cloud/billing/budgets/v1beta1/budget_service/client.rb in google-cloud-billing-budgets-v1beta1-0.10.0
- old
+ new
@@ -160,11 +160,12 @@
@budget_service_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::Billing::Budgets::V1beta1::BudgetService::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
@@ -757,9 +758,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 BudgetService API.
#