Class RegionOperationsSettings (2.0.0)

public sealed class RegionOperationsSettings : ServiceSettingsBase

Settings for RegionOperationsClient instances.

Inheritance

Object > ServiceSettingsBase > RegionOperationsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionOperationsSettings()

public RegionOperationsSettings()

Constructs a new RegionOperationsSettings object with default settings.

Properties

DeleteSettings

public CallSettings DeleteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegionOperationsClient.Delete and RegionOperationsClient.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 RegionOperationsClient.Get and RegionOperationsClient.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 RegionOperationsClient.List and RegionOperationsClient.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 RegionOperationsClient.Wait and RegionOperationsClient.WaitAsync.

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

Methods

Clone()

public RegionOperationsSettings Clone()

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

Returns
TypeDescription
RegionOperationsSettings

A deep clone of this RegionOperationsSettings object.

GetDefault()

public static RegionOperationsSettings GetDefault()

Get a new instance of the default RegionOperationsSettings.

Returns
TypeDescription
RegionOperationsSettings

A new instance of the default RegionOperationsSettings.