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)


1405
1406
1407
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1405

def create_hub
  @create_hub
end

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

RPC-specific configuration for create_spoke

Returns:

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


1430
1431
1432
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1430

def create_spoke
  @create_spoke
end

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

RPC-specific configuration for delete_hub

Returns:

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


1415
1416
1417
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1415

def delete_hub
  @delete_hub
end

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

RPC-specific configuration for delete_spoke

Returns:

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


1440
1441
1442
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1440

def delete_spoke
  @delete_spoke
end

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

RPC-specific configuration for get_hub

Returns:

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


1400
1401
1402
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1400

def get_hub
  @get_hub
end

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

RPC-specific configuration for get_spoke

Returns:

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


1425
1426
1427
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1425

def get_spoke
  @get_spoke
end

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

RPC-specific configuration for list_hubs

Returns:

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


1395
1396
1397
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1395

def list_hubs
  @list_hubs
end

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

RPC-specific configuration for list_spokes

Returns:

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


1420
1421
1422
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1420

def list_spokes
  @list_spokes
end

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

RPC-specific configuration for update_hub

Returns:

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


1410
1411
1412
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1410

def update_hub
  @update_hub
end

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

RPC-specific configuration for update_spoke

Returns:

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


1435
1436
1437
# File 'lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb', line 1435

def update_spoke
  @update_spoke
end