Class: Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb

Overview

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

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

RPC-specific configuration for create_hub

Returns:

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


1453
1454
1455
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1453

def create_hub
  @create_hub
end

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

RPC-specific configuration for create_spoke

Returns:

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


1478
1479
1480
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1478

def create_spoke
  @create_spoke
end

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

RPC-specific configuration for delete_hub

Returns:

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


1463
1464
1465
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1463

def delete_hub
  @delete_hub
end

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

RPC-specific configuration for delete_spoke

Returns:

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


1488
1489
1490
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1488

def delete_spoke
  @delete_spoke
end

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

RPC-specific configuration for get_hub

Returns:

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


1448
1449
1450
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1448

def get_hub
  @get_hub
end

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

RPC-specific configuration for get_spoke

Returns:

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


1473
1474
1475
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1473

def get_spoke
  @get_spoke
end

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

RPC-specific configuration for list_hubs

Returns:

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


1443
1444
1445
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1443

def list_hubs
  @list_hubs
end

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

RPC-specific configuration for list_spokes

Returns:

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


1468
1469
1470
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1468

def list_spokes
  @list_spokes
end

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

RPC-specific configuration for update_hub

Returns:

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


1458
1459
1460
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1458

def update_hub
  @update_hub
end

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

RPC-specific configuration for update_spoke

Returns:

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


1483
1484
1485
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1483

def update_spoke
  @update_spoke
end