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.
    • :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)


1493
1494
1495
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1493

def add_health_check
  @add_health_check
end

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

RPC-specific configuration for add_instance

Returns:

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


1498
1499
1500
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1498

def add_instance
  @add_instance
end

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

RPC-specific configuration for aggregated_list

Returns:

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


1503
1504
1505
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1503

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for delete

Returns:

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


1508
1509
1510
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1508

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1513
1514
1515
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1513

def get
  @get
end

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

RPC-specific configuration for get_health

Returns:

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


1518
1519
1520
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1518

def get_health
  @get_health
end

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

RPC-specific configuration for insert

Returns:

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


1523
1524
1525
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1523

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1528
1529
1530
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1528

def list
  @list
end

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

RPC-specific configuration for remove_health_check

Returns:

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


1533
1534
1535
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1533

def remove_health_check
  @remove_health_check
end

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

RPC-specific configuration for remove_instance

Returns:

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


1538
1539
1540
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1538

def remove_instance
  @remove_instance
end

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

RPC-specific configuration for set_backup

Returns:

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


1543
1544
1545
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1543

def set_backup
  @set_backup
end

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

RPC-specific configuration for set_security_policy

Returns:

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


1548
1549
1550
# File 'lib/google/cloud/compute/v1/target_pools/rest/client.rb', line 1548

def set_security_policy
  @set_security_policy
end