Send feedback
Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Projects::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::Projects::Rest::Client::Configuration::Rpcs.
Configuration RPC class for the Projects 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
#disable_xpn_host
def disable_xpn_host () - > :: Gapic :: Config :: Method
RPC-specific configuration for disable_xpn_host
Returns
(::Gapic::Config::Method)
#disable_xpn_resource
def disable_xpn_resource () - > :: Gapic :: Config :: Method
RPC-specific configuration for disable_xpn_resource
Returns
(::Gapic::Config::Method)
#enable_xpn_host
def enable_xpn_host () - > :: Gapic :: Config :: Method
RPC-specific configuration for enable_xpn_host
Returns
(::Gapic::Config::Method)
#enable_xpn_resource
def enable_xpn_resource () - > :: Gapic :: Config :: Method
RPC-specific configuration for enable_xpn_resource
Returns
(::Gapic::Config::Method)
#get
def get () - > :: Gapic :: Config :: Method
RPC-specific configuration for get
Returns
(::Gapic::Config::Method)
#get_xpn_host
def get_xpn_host () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_xpn_host
Returns
(::Gapic::Config::Method)
#get_xpn_resources
def get_xpn_resources () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_xpn_resources
Returns
(::Gapic::Config::Method)
#list_xpn_hosts
def list_xpn_hosts () - > :: Gapic :: Config :: Method
RPC-specific configuration for list_xpn_hosts
Returns
(::Gapic::Config::Method)
#move_disk
def move_disk () - > :: Gapic :: Config :: Method
RPC-specific configuration for move_disk
Returns
(::Gapic::Config::Method)
#move_instance
def move_instance () - > :: Gapic :: Config :: Method
RPC-specific configuration for move_instance
Returns
(::Gapic::Config::Method)
#set_cloud_armor_tier
def set_cloud_armor_tier () - > :: Gapic :: Config :: Method
RPC-specific configuration for set_cloud_armor_tier
Returns
(::Gapic::Config::Method)
def set_common_instance_metadata () - > :: Gapic :: Config :: Method
RPC-specific configuration for set_common_instance_metadata
Returns
(::Gapic::Config::Method)
#set_default_network_tier
def set_default_network_tier () - > :: Gapic :: Config :: Method
RPC-specific configuration for set_default_network_tier
Returns
(::Gapic::Config::Method)
#set_usage_export_bucket
def set_usage_export_bucket () - > :: Gapic :: Config :: Method
RPC-specific configuration for set_usage_export_bucket
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::Projects::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-Projects-Rest-Client-Configuration-Rpcs)\n- [2.22.0](/ruby/docs/reference/google-cloud-compute-v1/2.22.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.21.1](/ruby/docs/reference/google-cloud-compute-v1/2.21.1/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.20.0](/ruby/docs/reference/google-cloud-compute-v1/2.20.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.19.1](/ruby/docs/reference/google-cloud-compute-v1/2.19.1/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.18.0](/ruby/docs/reference/google-cloud-compute-v1/2.18.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.17.0](/ruby/docs/reference/google-cloud-compute-v1/2.17.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.16.0](/ruby/docs/reference/google-cloud-compute-v1/2.16.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.15.0](/ruby/docs/reference/google-cloud-compute-v1/2.15.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.14.0](/ruby/docs/reference/google-cloud-compute-v1/2.14.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.13.0](/ruby/docs/reference/google-cloud-compute-v1/2.13.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.12.0](/ruby/docs/reference/google-cloud-compute-v1/2.12.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.11.0](/ruby/docs/reference/google-cloud-compute-v1/2.11.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.10.0](/ruby/docs/reference/google-cloud-compute-v1/2.10.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.9.0](/ruby/docs/reference/google-cloud-compute-v1/2.9.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.8.0](/ruby/docs/reference/google-cloud-compute-v1/2.8.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.7.2](/ruby/docs/reference/google-cloud-compute-v1/2.7.2/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.6.0](/ruby/docs/reference/google-cloud-compute-v1/2.6.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.5.0](/ruby/docs/reference/google-cloud-compute-v1/2.5.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.4.0](/ruby/docs/reference/google-cloud-compute-v1/2.4.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.3.0](/ruby/docs/reference/google-cloud-compute-v1/2.3.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.2.0](/ruby/docs/reference/google-cloud-compute-v1/2.2.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.1.0](/ruby/docs/reference/google-cloud-compute-v1/2.1.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [2.0.0](/ruby/docs/reference/google-cloud-compute-v1/2.0.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.10.0](/ruby/docs/reference/google-cloud-compute-v1/1.10.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.9.0](/ruby/docs/reference/google-cloud-compute-v1/1.9.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.8.0](/ruby/docs/reference/google-cloud-compute-v1/1.8.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.7.1](/ruby/docs/reference/google-cloud-compute-v1/1.7.1/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.6.0](/ruby/docs/reference/google-cloud-compute-v1/1.6.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.5.0](/ruby/docs/reference/google-cloud-compute-v1/1.5.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.4.0](/ruby/docs/reference/google-cloud-compute-v1/1.4.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.3.0](/ruby/docs/reference/google-cloud-compute-v1/1.3.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.2.0](/ruby/docs/reference/google-cloud-compute-v1/1.2.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.1.0](/ruby/docs/reference/google-cloud-compute-v1/1.1.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [1.0.0](/ruby/docs/reference/google-cloud-compute-v1/1.0.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs)\n- [0.5.0](/ruby/docs/reference/google-cloud-compute-v1/0.5.0/Google-Cloud-Compute-V1-Projects-Rest-Client-Configuration-Rpcs) \nReference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Projects::Rest::Client::Configuration::Rpcs.\n\nConfiguration RPC class for the Projects 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### #disable_xpn_host\n\n def disable_xpn_host() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `disable_xpn_host` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #disable_xpn_resource\n\n def disable_xpn_resource() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `disable_xpn_resource` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #enable_xpn_host\n\n def enable_xpn_host() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `enable_xpn_host` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #enable_xpn_resource\n\n def enable_xpn_resource() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `enable_xpn_resource` \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_xpn_host\n\n def get_xpn_host() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_xpn_host` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_xpn_resources\n\n def get_xpn_resources() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_xpn_resources` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list_xpn_hosts\n\n def list_xpn_hosts() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list_xpn_hosts` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #move_disk\n\n def move_disk() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `move_disk` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #move_instance\n\n def move_instance() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `move_instance` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #set_cloud_armor_tier\n\n def set_cloud_armor_tier() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `set_cloud_armor_tier` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #set_common_instance_metadata\n\n def set_common_instance_metadata() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `set_common_instance_metadata` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #set_default_network_tier\n\n def set_default_network_tier() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `set_default_network_tier` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #set_usage_export_bucket\n\n def set_usage_export_bucket() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `set_usage_export_bucket` \n**Returns**\n\n- (::Gapic::Config::Method)"]]