Compute Engine v1 API - Class MachineTypesSettings (2.5.0)

public sealed class MachineTypesSettings : ServiceSettingsBase

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

Settings for MachineTypesClient instances.

Inheritance

Object > ServiceSettingsBase > MachineTypesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

MachineTypesSettings()

public MachineTypesSettings()

Constructs a new MachineTypesSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

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

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

Returns
TypeDescription
MachineTypesSettings

A deep clone of this MachineTypesSettings object.

GetDefault()

public static MachineTypesSettings GetDefault()

Get a new instance of the default MachineTypesSettings.

Returns
TypeDescription
MachineTypesSettings

A new instance of the default MachineTypesSettings.