class Google::Cloud::Compute::V1::TargetPools::Rest::Client::Configuration::Rpcs
Configuration
RPC class for the TargetPools
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
RPC-specific configuration for `add_health_check` @return [::Gapic::Config::Method]
RPC-specific configuration for `add_instance` @return [::Gapic::Config::Method]
RPC-specific configuration for `aggregated_list` @return [::Gapic::Config::Method]
RPC-specific configuration for `delete` @return [::Gapic::Config::Method]
RPC-specific configuration for `get` @return [::Gapic::Config::Method]
RPC-specific configuration for `get_health` @return [::Gapic::Config::Method]
RPC-specific configuration for `insert` @return [::Gapic::Config::Method]
RPC-specific configuration for `list` @return [::Gapic::Config::Method]
RPC-specific configuration for `remove_health_check` @return [::Gapic::Config::Method]
RPC-specific configuration for `remove_instance` @return [::Gapic::Config::Method]
RPC-specific configuration for `set_backup` @return [::Gapic::Config::Method]
Public Class Methods
@private
# File lib/google/cloud/compute/v1/target_pools/rest/client.rb, line 1131 def initialize parent_rpcs = nil add_health_check_config = parent_rpcs.add_health_check if parent_rpcs.respond_to? :add_health_check @add_health_check = ::Gapic::Config::Method.new add_health_check_config add_instance_config = parent_rpcs.add_instance if parent_rpcs.respond_to? :add_instance @add_instance = ::Gapic::Config::Method.new add_instance_config aggregated_list_config = parent_rpcs.aggregated_list if parent_rpcs.respond_to? :aggregated_list @aggregated_list = ::Gapic::Config::Method.new aggregated_list_config 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 get_health_config = parent_rpcs.get_health if parent_rpcs.respond_to? :get_health @get_health = ::Gapic::Config::Method.new get_health_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 remove_health_check_config = parent_rpcs.remove_health_check if parent_rpcs.respond_to? :remove_health_check @remove_health_check = ::Gapic::Config::Method.new remove_health_check_config remove_instance_config = parent_rpcs.remove_instance if parent_rpcs.respond_to? :remove_instance @remove_instance = ::Gapic::Config::Method.new remove_instance_config set_backup_config = parent_rpcs.set_backup if parent_rpcs.respond_to? :set_backup @set_backup = ::Gapic::Config::Method.new set_backup_config yield self if block_given? end