Network Connectivity v1 API - Class HubServiceSettings (2.8.0)

public sealed class HubServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Network Connectivity v1 API class HubServiceSettings.

Settings for HubServiceClient instances.

Inheritance

object > ServiceSettingsBase > HubServiceSettings

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

HubServiceSettings()

public HubServiceSettings()

Constructs a new HubServiceSettings object with default settings.

Properties

AcceptHubSpokeOperationsSettings

public OperationsSettings AcceptHubSpokeOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.AcceptHubSpoke and HubServiceClient.AcceptHubSpokeAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

AcceptHubSpokeSettings

public CallSettings AcceptHubSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.AcceptHubSpoke and HubServiceClient.AcceptHubSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

CreateHubOperationsSettings

public OperationsSettings CreateHubOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.CreateHub and HubServiceClient.CreateHubAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateHubSettings

public CallSettings CreateHubSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.CreateHub and HubServiceClient.CreateHubAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

CreateSpokeOperationsSettings

public OperationsSettings CreateSpokeOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.CreateSpoke and HubServiceClient.CreateSpokeAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateSpokeSettings

public CallSettings CreateSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.CreateSpoke and HubServiceClient.CreateSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteHubOperationsSettings

public OperationsSettings DeleteHubOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.DeleteHub and HubServiceClient.DeleteHubAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteHubSettings

public CallSettings DeleteHubSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.DeleteHub and HubServiceClient.DeleteHubAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteSpokeOperationsSettings

public OperationsSettings DeleteSpokeOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.DeleteSpoke and HubServiceClient.DeleteSpokeAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteSpokeSettings

public CallSettings DeleteSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.DeleteSpoke and HubServiceClient.DeleteSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetGroupSettings

public CallSettings GetGroupSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.GetGroup and HubServiceClient.GetGroupAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetHubSettings

public CallSettings GetHubSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.GetHub and HubServiceClient.GetHubAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetRouteSettings

public CallSettings GetRouteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.GetRoute and HubServiceClient.GetRouteAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetRouteTableSettings

public CallSettings GetRouteTableSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.GetRouteTable and HubServiceClient.GetRouteTableAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetSpokeSettings

public CallSettings GetSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.GetSpoke and HubServiceClient.GetSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListGroupsSettings

public CallSettings ListGroupsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListGroups and HubServiceClient.ListGroupsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListHubSpokesSettings

public CallSettings ListHubSpokesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListHubSpokes and HubServiceClient.ListHubSpokesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListHubsSettings

public CallSettings ListHubsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListHubs and HubServiceClient.ListHubsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListRouteTablesSettings

public CallSettings ListRouteTablesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListRouteTables and HubServiceClient.ListRouteTablesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListRoutesSettings

public CallSettings ListRoutesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListRoutes and HubServiceClient.ListRoutesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListSpokesSettings

public CallSettings ListSpokesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.ListSpokes and HubServiceClient.ListSpokesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

RejectHubSpokeOperationsSettings

public OperationsSettings RejectHubSpokeOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.RejectHubSpoke and HubServiceClient.RejectHubSpokeAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

RejectHubSpokeSettings

public CallSettings RejectHubSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.RejectHubSpoke and HubServiceClient.RejectHubSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateHubOperationsSettings

public OperationsSettings UpdateHubOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.UpdateHub and HubServiceClient.UpdateHubAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateHubSettings

public CallSettings UpdateHubSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.UpdateHub and HubServiceClient.UpdateHubAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateSpokeOperationsSettings

public OperationsSettings UpdateSpokeOperationsSettings { get; set; }

Long Running Operation settings for calls to HubServiceClient.UpdateSpoke and HubServiceClient.UpdateSpokeAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateSpokeSettings

public CallSettings UpdateSpokeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HubServiceClient.UpdateSpoke and HubServiceClient.UpdateSpokeAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public HubServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
HubServiceSettings

A deep clone of this HubServiceSettings object.

GetDefault()

public static HubServiceSettings GetDefault()

Get a new instance of the default HubServiceSettings.

Returns
Type Description
HubServiceSettings

A new instance of the default HubServiceSettings.