class Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs
Configuration
RPC class for the Networks
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_peering` @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_effective_firewalls` @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 `list_peering_routes` @return [::Gapic::Config::Method]
RPC-specific configuration for `patch` @return [::Gapic::Config::Method]
RPC-specific configuration for `remove_peering` @return [::Gapic::Config::Method]
RPC-specific configuration for `switch_to_custom_mode` @return [::Gapic::Config::Method]
RPC-specific configuration for `update_peering` @return [::Gapic::Config::Method]
Public Class Methods
@private
# File lib/google/cloud/compute/v1/networks/rest/client.rb, line 1114 def initialize parent_rpcs = nil add_peering_config = parent_rpcs.add_peering if parent_rpcs.respond_to? :add_peering @add_peering = ::Gapic::Config::Method.new add_peering_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_effective_firewalls_config = parent_rpcs.get_effective_firewalls if parent_rpcs.respond_to? :get_effective_firewalls @get_effective_firewalls = ::Gapic::Config::Method.new get_effective_firewalls_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 list_peering_routes_config = parent_rpcs.list_peering_routes if parent_rpcs.respond_to? :list_peering_routes @list_peering_routes = ::Gapic::Config::Method.new list_peering_routes_config patch_config = parent_rpcs.patch if parent_rpcs.respond_to? :patch @patch = ::Gapic::Config::Method.new patch_config remove_peering_config = parent_rpcs.remove_peering if parent_rpcs.respond_to? :remove_peering @remove_peering = ::Gapic::Config::Method.new remove_peering_config switch_to_custom_mode_config = parent_rpcs.switch_to_custom_mode if parent_rpcs.respond_to? :switch_to_custom_mode @switch_to_custom_mode = ::Gapic::Config::Method.new switch_to_custom_mode_config update_peering_config = parent_rpcs.update_peering if parent_rpcs.respond_to? :update_peering @update_peering = ::Gapic::Config::Method.new update_peering_config yield self if block_given? end