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

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

patch[R]

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

update[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/compute/v1/region_health_checks/rest/client.rb, line 692
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
  patch_config = parent_rpcs.patch if parent_rpcs.respond_to? :patch
  @patch = ::Gapic::Config::Method.new patch_config
  update_config = parent_rpcs.update if parent_rpcs.respond_to? :update
  @update = ::Gapic::Config::Method.new update_config

  yield self if block_given?
end