Send feedback
Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs (v3.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Google Cloud Compute V1 API 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
metadata
(type: Hash{Symbol=>String}
) - Additional 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.
Methods
#add_peering
def add_peering () - > :: Gapic :: Config :: Method
RPC-specific configuration for add_peering
Returns
(::Gapic::Config::Method)
#delete
def delete () - > :: Gapic :: Config :: Method
RPC-specific configuration for delete
Returns
(::Gapic::Config::Method)
#get
def get () - > :: Gapic :: Config :: Method
RPC-specific configuration for get
Returns
(::Gapic::Config::Method)
#get_effective_firewalls
def get_effective_firewalls () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_effective_firewalls
Returns
(::Gapic::Config::Method)
#insert
def insert () - > :: Gapic :: Config :: Method
RPC-specific configuration for insert
Returns
(::Gapic::Config::Method)
#list
def list () - > :: Gapic :: Config :: Method
RPC-specific configuration for list
Returns
(::Gapic::Config::Method)
#list_peering_routes
def list_peering_routes () - > :: Gapic :: Config :: Method
RPC-specific configuration for list_peering_routes
Returns
(::Gapic::Config::Method)
#patch
def patch () - > :: Gapic :: Config :: Method
RPC-specific configuration for patch
Returns
(::Gapic::Config::Method)
#remove_peering
def remove_peering () - > :: Gapic :: Config :: Method
RPC-specific configuration for remove_peering
Returns
(::Gapic::Config::Method)
#request_remove_peering
def request_remove_peering () - > :: Gapic :: Config :: Method
RPC-specific configuration for request_remove_peering
Returns
(::Gapic::Config::Method)
#switch_to_custom_mode
def switch_to_custom_mode () - > :: Gapic :: Config :: Method
RPC-specific configuration for switch_to_custom_mode
Returns
(::Gapic::Config::Method)
#update_peering
def update_peering () - > :: Gapic :: Config :: Method
RPC-specific configuration for update_peering
Returns
(::Gapic::Config::Method)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs (v3.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0 (latest)](/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.22.0](/ruby/docs/reference/google-cloud-compute-v1/2.22.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.21.1](/ruby/docs/reference/google-cloud-compute-v1/2.21.1/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.20.0](/ruby/docs/reference/google-cloud-compute-v1/2.20.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.19.1](/ruby/docs/reference/google-cloud-compute-v1/2.19.1/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.18.0](/ruby/docs/reference/google-cloud-compute-v1/2.18.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.17.0](/ruby/docs/reference/google-cloud-compute-v1/2.17.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.16.0](/ruby/docs/reference/google-cloud-compute-v1/2.16.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.15.0](/ruby/docs/reference/google-cloud-compute-v1/2.15.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.14.0](/ruby/docs/reference/google-cloud-compute-v1/2.14.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.13.0](/ruby/docs/reference/google-cloud-compute-v1/2.13.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.12.0](/ruby/docs/reference/google-cloud-compute-v1/2.12.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.11.0](/ruby/docs/reference/google-cloud-compute-v1/2.11.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.10.0](/ruby/docs/reference/google-cloud-compute-v1/2.10.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.9.0](/ruby/docs/reference/google-cloud-compute-v1/2.9.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.8.0](/ruby/docs/reference/google-cloud-compute-v1/2.8.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.7.2](/ruby/docs/reference/google-cloud-compute-v1/2.7.2/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.6.0](/ruby/docs/reference/google-cloud-compute-v1/2.6.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.5.0](/ruby/docs/reference/google-cloud-compute-v1/2.5.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.4.0](/ruby/docs/reference/google-cloud-compute-v1/2.4.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.3.0](/ruby/docs/reference/google-cloud-compute-v1/2.3.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.2.0](/ruby/docs/reference/google-cloud-compute-v1/2.2.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.1.0](/ruby/docs/reference/google-cloud-compute-v1/2.1.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [2.0.0](/ruby/docs/reference/google-cloud-compute-v1/2.0.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.10.0](/ruby/docs/reference/google-cloud-compute-v1/1.10.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.9.0](/ruby/docs/reference/google-cloud-compute-v1/1.9.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.8.0](/ruby/docs/reference/google-cloud-compute-v1/1.8.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.7.1](/ruby/docs/reference/google-cloud-compute-v1/1.7.1/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.6.0](/ruby/docs/reference/google-cloud-compute-v1/1.6.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.5.0](/ruby/docs/reference/google-cloud-compute-v1/1.5.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.4.0](/ruby/docs/reference/google-cloud-compute-v1/1.4.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.3.0](/ruby/docs/reference/google-cloud-compute-v1/1.3.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.2.0](/ruby/docs/reference/google-cloud-compute-v1/1.2.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.1.0](/ruby/docs/reference/google-cloud-compute-v1/1.1.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [1.0.0](/ruby/docs/reference/google-cloud-compute-v1/1.0.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs)\n- [0.5.0](/ruby/docs/reference/google-cloud-compute-v1/0.5.0/Google-Cloud-Compute-V1-Networks-Rest-Client-Configuration-Rpcs) \nReference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs.\n\nConfiguration RPC class for the Networks API.\n\nIncludes fields providing the configuration for each RPC in this service.\nEach configuration object is of type `Gapic::Config::Method` and includes\nthe following configuration fields:\n\n- `timeout` (*type:* `Numeric`) - The call timeout in seconds\n- `metadata` (*type:* `Hash{Symbol=\u003eString}`) - Additional headers\n- `retry_policy (`*type:*Hash\\`) - The retry policy. The policy fields include the following keys:\n - `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.\n - `:max_delay` (*type:* `Numeric`) - The max delay in seconds.\n - `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.\n- `:retry_codes` (*type:* `Array\u003cString\u003e`) - The error codes that should trigger a retry. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #add_peering\n\n def add_peering() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `add_peering` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #delete\n\n def delete() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `delete` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get\n\n def get() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_effective_firewalls\n\n def get_effective_firewalls() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_effective_firewalls` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #insert\n\n def insert() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `insert` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list\n\n def list() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list_peering_routes\n\n def list_peering_routes() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list_peering_routes` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #patch\n\n def patch() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `patch` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #remove_peering\n\n def remove_peering() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `remove_peering` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #request_remove_peering\n\n def request_remove_peering() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `request_remove_peering` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #switch_to_custom_mode\n\n def switch_to_custom_mode() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `switch_to_custom_mode` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #update_peering\n\n def update_peering() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `update_peering` \n**Returns**\n\n- (::Gapic::Config::Method)"]]