class Google::Cloud::Billing::V1::CloudBilling::Client::Configuration::Rpcs

Configuration RPC class for the CloudBilling 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_billing_account[R]

RPC-specific configuration for `create_billing_account` @return [::Gapic::Config::Method]

get_billing_account[R]

RPC-specific configuration for `get_billing_account` @return [::Gapic::Config::Method]

get_iam_policy[R]

RPC-specific configuration for `get_iam_policy` @return [::Gapic::Config::Method]

get_project_billing_info[R]

RPC-specific configuration for `get_project_billing_info` @return [::Gapic::Config::Method]

list_billing_accounts[R]

RPC-specific configuration for `list_billing_accounts` @return [::Gapic::Config::Method]

list_project_billing_info[R]

RPC-specific configuration for `list_project_billing_info` @return [::Gapic::Config::Method]

set_iam_policy[R]

RPC-specific configuration for `set_iam_policy` @return [::Gapic::Config::Method]

test_iam_permissions[R]

RPC-specific configuration for `test_iam_permissions` @return [::Gapic::Config::Method]

update_billing_account[R]

RPC-specific configuration for `update_billing_account` @return [::Gapic::Config::Method]

update_project_billing_info[R]

RPC-specific configuration for `update_project_billing_info` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/billing/v1/cloud_billing/client.rb, line 1164
def initialize parent_rpcs = nil
  get_billing_account_config = parent_rpcs.get_billing_account if parent_rpcs.respond_to? :get_billing_account
  @get_billing_account = ::Gapic::Config::Method.new get_billing_account_config
  list_billing_accounts_config = parent_rpcs.list_billing_accounts if parent_rpcs.respond_to? :list_billing_accounts
  @list_billing_accounts = ::Gapic::Config::Method.new list_billing_accounts_config
  update_billing_account_config = parent_rpcs.update_billing_account if parent_rpcs.respond_to? :update_billing_account
  @update_billing_account = ::Gapic::Config::Method.new update_billing_account_config
  create_billing_account_config = parent_rpcs.create_billing_account if parent_rpcs.respond_to? :create_billing_account
  @create_billing_account = ::Gapic::Config::Method.new create_billing_account_config
  list_project_billing_info_config = parent_rpcs.list_project_billing_info if parent_rpcs.respond_to? :list_project_billing_info
  @list_project_billing_info = ::Gapic::Config::Method.new list_project_billing_info_config
  get_project_billing_info_config = parent_rpcs.get_project_billing_info if parent_rpcs.respond_to? :get_project_billing_info
  @get_project_billing_info = ::Gapic::Config::Method.new get_project_billing_info_config
  update_project_billing_info_config = parent_rpcs.update_project_billing_info if parent_rpcs.respond_to? :update_project_billing_info
  @update_project_billing_info = ::Gapic::Config::Method.new update_project_billing_info_config
  get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
  @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
  set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
  @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
  test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config

  yield self if block_given?
end