Class: Google::Cloud::Compute::V1::Projects::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Projects::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/compute/v1/projects/rest/client.rb
Overview
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. -
:jitter(type:Numeric) - The jitter in seconds. Default: 1.0. -
:retry_codes(type:Array<String>) - The error codes that should trigger a retry.
-
Instance Attribute Summary collapse
-
#disable_xpn_host ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
disable_xpn_host. -
#disable_xpn_resource ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
disable_xpn_resource. -
#enable_xpn_host ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
enable_xpn_host. -
#enable_xpn_resource ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
enable_xpn_resource. -
#get ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get. -
#get_xpn_host ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_xpn_host. -
#get_xpn_resources ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_xpn_resources. -
#list_xpn_hosts ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_xpn_hosts. -
#move_disk ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
move_disk. -
#move_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
move_instance. -
#set_cloud_armor_tier ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_cloud_armor_tier. -
#set_common_instance_metadata ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_common_instance_metadata. -
#set_default_network_tier ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_default_network_tier. -
#set_usage_export_bucket ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_usage_export_bucket.
Instance Attribute Details
#disable_xpn_host ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_xpn_host
1941 1942 1943 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1941 def disable_xpn_host @disable_xpn_host end |
#disable_xpn_resource ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_xpn_resource
1946 1947 1948 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1946 def disable_xpn_resource @disable_xpn_resource end |
#enable_xpn_host ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_xpn_host
1951 1952 1953 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1951 def enable_xpn_host @enable_xpn_host end |
#enable_xpn_resource ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_xpn_resource
1956 1957 1958 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1956 def enable_xpn_resource @enable_xpn_resource end |
#get ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get
1961 1962 1963 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1961 def get @get end |
#get_xpn_host ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_xpn_host
1966 1967 1968 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1966 def get_xpn_host @get_xpn_host end |
#get_xpn_resources ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_xpn_resources
1971 1972 1973 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1971 def get_xpn_resources @get_xpn_resources end |
#list_xpn_hosts ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_xpn_hosts
1976 1977 1978 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1976 def list_xpn_hosts @list_xpn_hosts end |
#move_disk ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for move_disk
1981 1982 1983 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1981 def move_disk @move_disk end |
#move_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for move_instance
1986 1987 1988 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1986 def move_instance @move_instance end |
#set_cloud_armor_tier ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_cloud_armor_tier
1991 1992 1993 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1991 def set_cloud_armor_tier @set_cloud_armor_tier end |
#set_common_instance_metadata ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_common_instance_metadata
1996 1997 1998 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1996 def @set_common_instance_metadata end |
#set_default_network_tier ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_default_network_tier
2001 2002 2003 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 2001 def set_default_network_tier @set_default_network_tier end |
#set_usage_export_bucket ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_usage_export_bucket
2006 2007 2008 |
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 2006 def set_usage_export_bucket @set_usage_export_bucket end |