class Google::Cloud::NetworkConnectivity::V1::HubService::Client::Configuration::Rpcs

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

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

create_spoke[R]

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

delete_hub[R]

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

delete_spoke[R]

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

get_hub[R]

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

get_spoke[R]

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

list_hubs[R]

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

list_spokes[R]

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

update_hub[R]

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

update_spoke[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/network_connectivity/v1/hub_service/client.rb, line 1179
def initialize parent_rpcs = nil
  list_hubs_config = parent_rpcs.list_hubs if parent_rpcs.respond_to? :list_hubs
  @list_hubs = ::Gapic::Config::Method.new list_hubs_config
  get_hub_config = parent_rpcs.get_hub if parent_rpcs.respond_to? :get_hub
  @get_hub = ::Gapic::Config::Method.new get_hub_config
  create_hub_config = parent_rpcs.create_hub if parent_rpcs.respond_to? :create_hub
  @create_hub = ::Gapic::Config::Method.new create_hub_config
  update_hub_config = parent_rpcs.update_hub if parent_rpcs.respond_to? :update_hub
  @update_hub = ::Gapic::Config::Method.new update_hub_config
  delete_hub_config = parent_rpcs.delete_hub if parent_rpcs.respond_to? :delete_hub
  @delete_hub = ::Gapic::Config::Method.new delete_hub_config
  list_spokes_config = parent_rpcs.list_spokes if parent_rpcs.respond_to? :list_spokes
  @list_spokes = ::Gapic::Config::Method.new list_spokes_config
  get_spoke_config = parent_rpcs.get_spoke if parent_rpcs.respond_to? :get_spoke
  @get_spoke = ::Gapic::Config::Method.new get_spoke_config
  create_spoke_config = parent_rpcs.create_spoke if parent_rpcs.respond_to? :create_spoke
  @create_spoke = ::Gapic::Config::Method.new create_spoke_config
  update_spoke_config = parent_rpcs.update_spoke if parent_rpcs.respond_to? :update_spoke
  @update_spoke = ::Gapic::Config::Method.new update_spoke_config
  delete_spoke_config = parent_rpcs.delete_spoke if parent_rpcs.respond_to? :delete_spoke
  @delete_spoke = ::Gapic::Config::Method.new delete_spoke_config

  yield self if block_given?
end