class Google::Cloud::Billing::Budgets::V1::BudgetService::Client::Configuration::Rpcs
Configuration
RPC class for the BudgetService
API.
Includes fields providing the configuration for each RPC in this service. Each configuration object is of type ‘Gapic::Config::Method` and includes the following configuration fields:
* `timeout` (*type:* `Numeric`) - The call timeout in seconds * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields include the following keys: * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. * `:retry_codes` (*type:* `Array<String>`) - The error codes that should trigger a retry.
Attributes
create_budget[R]
RPC-specific configuration for ‘create_budget` @return [::Gapic::Config::Method]
delete_budget[R]
RPC-specific configuration for ‘delete_budget` @return [::Gapic::Config::Method]
get_budget[R]
RPC-specific configuration for ‘get_budget` @return [::Gapic::Config::Method]
list_budgets[R]
RPC-specific configuration for ‘list_budgets` @return [::Gapic::Config::Method]
update_budget[R]
RPC-specific configuration for ‘update_budget` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/billing/budgets/v1/budget_service/client.rb, line 802 def initialize parent_rpcs = nil create_budget_config = parent_rpcs.create_budget if parent_rpcs.respond_to? :create_budget @create_budget = ::Gapic::Config::Method.new create_budget_config update_budget_config = parent_rpcs.update_budget if parent_rpcs.respond_to? :update_budget @update_budget = ::Gapic::Config::Method.new update_budget_config get_budget_config = parent_rpcs.get_budget if parent_rpcs.respond_to? :get_budget @get_budget = ::Gapic::Config::Method.new get_budget_config list_budgets_config = parent_rpcs.list_budgets if parent_rpcs.respond_to? :list_budgets @list_budgets = ::Gapic::Config::Method.new list_budgets_config delete_budget_config = parent_rpcs.delete_budget if parent_rpcs.respond_to? :delete_budget @delete_budget = ::Gapic::Config::Method.new delete_budget_config yield self if block_given? end