Class HubServiceSettings (1.1.0)

public sealed class HubServiceSettings : ServiceSettingsBase

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

CreateHubOperationsSettings

public OperationsSettings CreateHubOperationsSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetHubSettings

public CallSettings GetHubSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
HubServiceSettings

A deep clone of this HubServiceSettings object.

GetDefault()

public static HubServiceSettings GetDefault()

Get a new instance of the default HubServiceSettings.

Returns
TypeDescription
HubServiceSettings

A new instance of the default HubServiceSettings.