Compute Engine v1 API - Class VpnGatewaysSettings (2.16.0)

public sealed class VpnGatewaysSettings : ServiceSettingsBase

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

Settings for VpnGatewaysClient instances.

Inheritance

object > ServiceSettingsBase > VpnGatewaysSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

VpnGatewaysSettings()

public VpnGatewaysSettings()

Constructs a new VpnGatewaysSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VpnGatewaysClient.AggregatedList and VpnGatewaysClient.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 VpnGatewaysClient.Delete and VpnGatewaysClient.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 VpnGatewaysClient.Delete and VpnGatewaysClient.DeleteAsync.

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

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VpnGatewaysClient.Get and VpnGatewaysClient.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.

GetStatusSettings

public CallSettings GetStatusSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VpnGatewaysClient.GetStatus and VpnGatewaysClient.GetStatusAsync.

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 VpnGatewaysClient.Insert and VpnGatewaysClient.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 VpnGatewaysClient.Insert and VpnGatewaysClient.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 VpnGatewaysClient.List and VpnGatewaysClient.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.

SetLabelsOperationsSettings

public OperationsSettings SetLabelsOperationsSettings { get; set; }

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

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.

SetLabelsSettings

public CallSettings SetLabelsSettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VpnGatewaysClient.TestIamPermissions and VpnGatewaysClient.TestIamPermissionsAsync.

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

Methods

Clone()

public VpnGatewaysSettings Clone()

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

Returns
Type Description
VpnGatewaysSettings

A deep clone of this VpnGatewaysSettings object.

GetDefault()

public static VpnGatewaysSettings GetDefault()

Get a new instance of the default VpnGatewaysSettings.

Returns
Type Description
VpnGatewaysSettings

A new instance of the default VpnGatewaysSettings.