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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/compute/v1/target_pools/rest/client.rb

Overview

Configuration RPC class for the TargetPools 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

Instance Attribute Details

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

RPC-specific configuration for add_health_check

Returns:

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


1849
1850
1851
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1849

def add_health_check
  @add_health_check
end

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

RPC-specific configuration for add_instance

Returns:

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


1854
1855
1856
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1854

def add_instance
  @add_instance
end

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

RPC-specific configuration for aggregated_list

Returns:

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


1859
1860
1861
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1859

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for delete

Returns:

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


1864
1865
1866
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1864

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1869
1870
1871
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1869

def get
  @get
end

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

RPC-specific configuration for get_health

Returns:

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


1874
1875
1876
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1874

def get_health
  @get_health
end

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

RPC-specific configuration for insert

Returns:

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


1879
1880
1881
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1879

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1884
1885
1886
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1884

def list
  @list
end

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

RPC-specific configuration for remove_health_check

Returns:

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


1889
1890
1891
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1889

def remove_health_check
  @remove_health_check
end

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

RPC-specific configuration for remove_instance

Returns:

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


1894
1895
1896
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1894

def remove_instance
  @remove_instance
end

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

RPC-specific configuration for set_backup

Returns:

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


1899
1900
1901
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1899

def set_backup
  @set_backup
end

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

RPC-specific configuration for set_security_policy

Returns:

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


1904
1905
1906
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1904

def set_security_policy
  @set_security_policy
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


1909
1910
1911
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1909

def test_iam_permissions
  @test_iam_permissions
end