Class ZoneOperationsSettings (2.0.0)

public sealed class ZoneOperationsSettings : ServiceSettingsBase

Settings for ZoneOperationsClient instances.

Inheritance

Object > ServiceSettingsBase > ZoneOperationsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ZoneOperationsSettings()

public ZoneOperationsSettings()

Constructs a new ZoneOperationsSettings object with default settings.

Properties

DeleteSettings

public CallSettings DeleteSettings { get; set; }

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

ListSettings

public CallSettings ListSettings { get; set; }

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

WaitSettings

public CallSettings WaitSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ZoneOperationsClient.Wait and ZoneOperationsClient.WaitAsync.

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

Methods

Clone()

public ZoneOperationsSettings Clone()

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

Returns
TypeDescription
ZoneOperationsSettings

A deep clone of this ZoneOperationsSettings object.

GetDefault()

public static ZoneOperationsSettings GetDefault()

Get a new instance of the default ZoneOperationsSettings.

Returns
TypeDescription
ZoneOperationsSettings

A new instance of the default ZoneOperationsSettings.