Compute Engine v1 API - Class NetworksSettings (3.1.0)

public sealed class NetworksSettings : ServiceSettingsBase

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

Settings for NetworksClient instances.

Inheritance

object > ServiceSettingsBase > NetworksSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NetworksSettings()

public NetworksSettings()

Constructs a new NetworksSettings object with default settings.

Properties

AddPeeringOperationsSettings

public OperationsSettings AddPeeringOperationsSettings { get; set; }

Long Running Operation settings for calls to NetworksClient.AddPeering and NetworksClient.AddPeeringAsync.

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.

AddPeeringSettings

public CallSettings AddPeeringSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.AddPeering and NetworksClient.AddPeeringAsync.

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

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to NetworksClient.Delete and NetworksClient.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 NetworksClient.Delete and NetworksClient.DeleteAsync.

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

GetEffectiveFirewallsSettings

public CallSettings GetEffectiveFirewallsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.GetEffectiveFirewalls and NetworksClient.GetEffectiveFirewallsAsync.

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 NetworksClient.Get and NetworksClient.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 NetworksClient.Insert and NetworksClient.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 NetworksClient.Insert and NetworksClient.InsertAsync.

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

ListPeeringRoutesSettings

public CallSettings ListPeeringRoutesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.ListPeeringRoutes and NetworksClient.ListPeeringRoutesAsync.

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.

ListSettings

public CallSettings ListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.List and NetworksClient.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 NetworksClient.Patch and NetworksClient.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 NetworksClient.Patch and NetworksClient.PatchAsync.

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

RemovePeeringOperationsSettings

public OperationsSettings RemovePeeringOperationsSettings { get; set; }

Long Running Operation settings for calls to NetworksClient.RemovePeering and NetworksClient.RemovePeeringAsync.

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.

RemovePeeringSettings

public CallSettings RemovePeeringSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.RemovePeering and NetworksClient.RemovePeeringAsync.

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

SwitchToCustomModeOperationsSettings

public OperationsSettings SwitchToCustomModeOperationsSettings { get; set; }

Long Running Operation settings for calls to NetworksClient.SwitchToCustomMode and NetworksClient.SwitchToCustomModeAsync.

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.

SwitchToCustomModeSettings

public CallSettings SwitchToCustomModeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.SwitchToCustomMode and NetworksClient.SwitchToCustomModeAsync.

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

UpdatePeeringOperationsSettings

public OperationsSettings UpdatePeeringOperationsSettings { get; set; }

Long Running Operation settings for calls to NetworksClient.UpdatePeering and NetworksClient.UpdatePeeringAsync.

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.

UpdatePeeringSettings

public CallSettings UpdatePeeringSettings { get; set; }

CallSettings for synchronous and asynchronous calls to NetworksClient.UpdatePeering and NetworksClient.UpdatePeeringAsync.

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

Methods

Clone()

public NetworksSettings Clone()

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

Returns
Type Description
NetworksSettings

A deep clone of this NetworksSettings object.

GetDefault()

public static NetworksSettings GetDefault()

Get a new instance of the default NetworksSettings.

Returns
Type Description
NetworksSettings

A new instance of the default NetworksSettings.