Class: Google::Cloud::Compute::V1::Projects::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
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.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#disable_xpn_host::Gapic::Config::Method (readonly)

RPC-specific configuration for disable_xpn_host

Returns:

  • (::Gapic::Config::Method)


1456
1457
1458
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1456

def disable_xpn_host
  @disable_xpn_host
end

#disable_xpn_resource::Gapic::Config::Method (readonly)

RPC-specific configuration for disable_xpn_resource

Returns:

  • (::Gapic::Config::Method)


1461
1462
1463
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1461

def disable_xpn_resource
  @disable_xpn_resource
end

#enable_xpn_host::Gapic::Config::Method (readonly)

RPC-specific configuration for enable_xpn_host

Returns:

  • (::Gapic::Config::Method)


1466
1467
1468
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1466

def enable_xpn_host
  @enable_xpn_host
end

#enable_xpn_resource::Gapic::Config::Method (readonly)

RPC-specific configuration for enable_xpn_resource

Returns:

  • (::Gapic::Config::Method)


1471
1472
1473
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1471

def enable_xpn_resource
  @enable_xpn_resource
end

#get::Gapic::Config::Method (readonly)

RPC-specific configuration for get

Returns:

  • (::Gapic::Config::Method)


1476
1477
1478
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1476

def get
  @get
end

#get_xpn_host::Gapic::Config::Method (readonly)

RPC-specific configuration for get_xpn_host

Returns:

  • (::Gapic::Config::Method)


1481
1482
1483
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1481

def get_xpn_host
  @get_xpn_host
end

#get_xpn_resources::Gapic::Config::Method (readonly)

RPC-specific configuration for get_xpn_resources

Returns:

  • (::Gapic::Config::Method)


1486
1487
1488
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1486

def get_xpn_resources
  @get_xpn_resources
end

#list_xpn_hosts::Gapic::Config::Method (readonly)

RPC-specific configuration for list_xpn_hosts

Returns:

  • (::Gapic::Config::Method)


1491
1492
1493
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1491

def list_xpn_hosts
  @list_xpn_hosts
end

#move_disk::Gapic::Config::Method (readonly)

RPC-specific configuration for move_disk

Returns:

  • (::Gapic::Config::Method)


1496
1497
1498
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1496

def move_disk
  @move_disk
end

#move_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for move_instance

Returns:

  • (::Gapic::Config::Method)


1501
1502
1503
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1501

def move_instance
  @move_instance
end

#set_common_instance_metadata::Gapic::Config::Method (readonly)

RPC-specific configuration for set_common_instance_metadata

Returns:

  • (::Gapic::Config::Method)


1506
1507
1508
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1506

def 
  
end

#set_default_network_tier::Gapic::Config::Method (readonly)

RPC-specific configuration for set_default_network_tier

Returns:

  • (::Gapic::Config::Method)


1511
1512
1513
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1511

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

Returns:

  • (::Gapic::Config::Method)


1516
1517
1518
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1516

def set_usage_export_bucket
  @set_usage_export_bucket
end