Compute Engine v1 API - Class ZonesSettings (2.6.0)

public sealed class ZonesSettings : ServiceSettingsBase

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

Settings for ZonesClient instances.

Inheritance

Object > ServiceSettingsBase > ZonesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ZonesSettings()

public ZonesSettings()

Constructs a new ZonesSettings object with default settings.

Properties

GetSettings

public CallSettings GetSettings { get; set; }

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

Methods

Clone()

public ZonesSettings Clone()

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

Returns
TypeDescription
ZonesSettings

A deep clone of this ZonesSettings object.

GetDefault()

public static ZonesSettings GetDefault()

Get a new instance of the default ZonesSettings.

Returns
TypeDescription
ZonesSettings

A new instance of the default ZonesSettings.