Class RegionsSettings (2.1.0)

public sealed class RegionsSettings : ServiceSettingsBase

Settings for RegionsClient instances.

Inheritance

Object > ServiceSettingsBase > RegionsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionsSettings()

public RegionsSettings()

Constructs a new RegionsSettings object with default settings.

Properties

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegionsClient.Get and RegionsClient.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 RegionsClient.List and RegionsClient.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 RegionsSettings Clone()

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

Returns
TypeDescription
RegionsSettings

A deep clone of this RegionsSettings object.

GetDefault()

public static RegionsSettings GetDefault()

Get a new instance of the default RegionsSettings.

Returns
TypeDescription
RegionsSettings

A new instance of the default RegionsSettings.