Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Projects::Rest::Client::Configuration::Rpcs (v2.11.0)

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.

Inherits

  • Object

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)

#set_common_instance_metadata

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)