Compute Engine v1 API - Class AcceleratorTypesSettings (2.12.0)

public sealed class AcceleratorTypesSettings : ServiceSettingsBase

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

Settings for AcceleratorTypesClient instances.

Inheritance

object > ServiceSettingsBase > AcceleratorTypesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AcceleratorTypesSettings()

public AcceleratorTypesSettings()

Constructs a new AcceleratorTypesSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AcceleratorTypesClient.AggregatedList and AcceleratorTypesClient.AggregatedListAsync.

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.

GetSettings

public CallSettings GetSettings { get; set; }

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

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

Returns
TypeDescription
AcceleratorTypesSettings

A deep clone of this AcceleratorTypesSettings object.

GetDefault()

public static AcceleratorTypesSettings GetDefault()

Get a new instance of the default AcceleratorTypesSettings.

Returns
TypeDescription
AcceleratorTypesSettings

A new instance of the default AcceleratorTypesSettings.