Compute Engine v1 API - Class RoutersSettings (3.2.0)

public sealed class RoutersSettings : ServiceSettingsBase

Reference documentation and code samples for the Compute Engine v1 API class RoutersSettings.

Settings for RoutersClient instances.

Inheritance

object > ServiceSettingsBase > RoutersSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RoutersSettings()

public RoutersSettings()

Constructs a new RoutersSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.AggregatedList and RoutersClient.AggregatedListAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to RoutersClient.Delete and RoutersClient.DeleteAsync .

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.

DeleteSettings

public CallSettings DeleteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Delete and RoutersClient.DeleteAsync.

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

GetNatIpInfoSettings

public CallSettings GetNatIpInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.GetNatIpInfo and RoutersClient.GetNatIpInfoAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetNatMappingInfoSettings

public CallSettings GetNatMappingInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.GetNatMappingInfo and RoutersClient.GetNatMappingInfoAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetRouterStatusSettings

public CallSettings GetRouterStatusSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.GetRouterStatus and RoutersClient.GetRouterStatusAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Get and RoutersClient.GetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

InsertOperationsSettings

public OperationsSettings InsertOperationsSettings { get; set; }

Long Running Operation settings for calls to RoutersClient.Insert and RoutersClient.InsertAsync .

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.

InsertSettings

public CallSettings InsertSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Insert and RoutersClient.InsertAsync.

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

ListSettings

public CallSettings ListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.List and RoutersClient.ListAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

Long Running Operation settings for calls to RoutersClient.Patch and RoutersClient.PatchAsync.

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.

PatchSettings

public CallSettings PatchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Patch and RoutersClient.PatchAsync.

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

PreviewSettings

public CallSettings PreviewSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Preview and RoutersClient.PreviewAsync.

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

UpdateOperationsSettings

public OperationsSettings UpdateOperationsSettings { get; set; }

Long Running Operation settings for calls to RoutersClient.Update and RoutersClient.UpdateAsync .

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.

UpdateSettings

public CallSettings UpdateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RoutersClient.Update and RoutersClient.UpdateAsync.

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

Methods

Clone()

public RoutersSettings Clone()

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

Returns
Type Description
RoutersSettings

A deep clone of this RoutersSettings object.

GetDefault()

public static RoutersSettings GetDefault()

Get a new instance of the default RoutersSettings.

Returns
Type Description
RoutersSettings

A new instance of the default RoutersSettings.