class Google::Cloud::Compute::V1::TargetTcpProxies::Rest::Client::Configuration::Rpcs

Configuration RPC class for the TargetTcpProxies 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

there is one other field (`retry_policy`) that can be set but is currently not supported for REST Gapic libraries.

Attributes

delete[R]

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

get[R]

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

insert[R]

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

list[R]

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

set_backend_service[R]

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

set_proxy_header[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb, line 706
def initialize parent_rpcs = nil
  delete_config = parent_rpcs.delete if parent_rpcs.respond_to? :delete
  @delete = ::Gapic::Config::Method.new delete_config
  get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
  @get = ::Gapic::Config::Method.new get_config
  insert_config = parent_rpcs.insert if parent_rpcs.respond_to? :insert
  @insert = ::Gapic::Config::Method.new insert_config
  list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
  @list = ::Gapic::Config::Method.new list_config
  set_backend_service_config = parent_rpcs.set_backend_service if parent_rpcs.respond_to? :set_backend_service
  @set_backend_service = ::Gapic::Config::Method.new set_backend_service_config
  set_proxy_header_config = parent_rpcs.set_proxy_header if parent_rpcs.respond_to? :set_proxy_header
  @set_proxy_header = ::Gapic::Config::Method.new set_proxy_header_config

  yield self if block_given?
end