Compute Engine v1 API - Class VpnTunnelsSettings (2.4.0)

public sealed class VpnTunnelsSettings : ServiceSettingsBase

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

Settings for VpnTunnelsClient instances.

Inheritance

Object > ServiceSettingsBase > VpnTunnelsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

VpnTunnelsSettings()

public VpnTunnelsSettings()

Constructs a new VpnTunnelsSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

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

Property Value
TypeDescription
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 VpnTunnelsClient.Delete and VpnTunnelsClient.DeleteAsync.

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.

DeleteSettings

public CallSettings DeleteSettings { get; set; }

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

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

GetSettings

public CallSettings GetSettings { get; set; }

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

Property Value
TypeDescription
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 VpnTunnelsClient.Insert and VpnTunnelsClient.InsertAsync.

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.

InsertSettings

public CallSettings InsertSettings { get; set; }

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

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

ListSettings

public CallSettings ListSettings { get; set; }

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

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

SetLabelsOperationsSettings

public OperationsSettings SetLabelsOperationsSettings { get; set; }

Long Running Operation settings for calls to VpnTunnelsClient.SetLabels and VpnTunnelsClient.SetLabelsAsync.

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.

SetLabelsSettings

public CallSettings SetLabelsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VpnTunnelsClient.SetLabels and VpnTunnelsClient.SetLabelsAsync.

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

Methods

Clone()

public VpnTunnelsSettings Clone()

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

Returns
TypeDescription
VpnTunnelsSettings

A deep clone of this VpnTunnelsSettings object.

GetDefault()

public static VpnTunnelsSettings GetDefault()

Get a new instance of the default VpnTunnelsSettings.

Returns
TypeDescription
VpnTunnelsSettings

A new instance of the default VpnTunnelsSettings.