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

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

RPC-specific configuration for create_hub

Returns:

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


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

def create_hub
  @create_hub
end

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

RPC-specific configuration for create_spoke

Returns:

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


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

def create_spoke
  @create_spoke
end

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

RPC-specific configuration for delete_hub

Returns:

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


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

def delete_hub
  @delete_hub
end

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

RPC-specific configuration for delete_spoke

Returns:

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


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

def delete_spoke
  @delete_spoke
end

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

RPC-specific configuration for get_hub

Returns:

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


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

def get_hub
  @get_hub
end

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

RPC-specific configuration for get_spoke

Returns:

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


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

def get_spoke
  @get_spoke
end

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

RPC-specific configuration for list_hubs

Returns:

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


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

def list_hubs
  @list_hubs
end

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

RPC-specific configuration for list_spokes

Returns:

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


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

def list_spokes
  @list_spokes
end

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

RPC-specific configuration for update_hub

Returns:

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


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

def update_hub
  @update_hub
end

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

RPC-specific configuration for update_spoke

Returns:

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


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

def update_spoke
  @update_spoke
end