Class: Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb

Overview

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 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.

Instance Attribute Summary collapse

Instance Attribute Details

#create_budget::Gapic::Config::Method (readonly)

RPC-specific configuration for create_budget

Returns:

  • (::Gapic::Config::Method)


786
787
788
# File 'lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb', line 786

def create_budget
  @create_budget
end

#delete_budget::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_budget

Returns:

  • (::Gapic::Config::Method)


806
807
808
# File 'lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb', line 806

def delete_budget
  @delete_budget
end

#get_budget::Gapic::Config::Method (readonly)

RPC-specific configuration for get_budget

Returns:

  • (::Gapic::Config::Method)


796
797
798
# File 'lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb', line 796

def get_budget
  @get_budget
end

#list_budgets::Gapic::Config::Method (readonly)

RPC-specific configuration for list_budgets

Returns:

  • (::Gapic::Config::Method)


801
802
803
# File 'lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb', line 801

def list_budgets
  @list_budgets
end

#update_budget::Gapic::Config::Method (readonly)

RPC-specific configuration for update_budget

Returns:

  • (::Gapic::Config::Method)


791
792
793
# File 'lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb', line 791

def update_budget
  @update_budget
end