Compute Engine v1 API - Class DiskTypesSettings (3.2.0)

public sealed class DiskTypesSettings : ServiceSettingsBase

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

Settings for DiskTypesClient instances.

Inheritance

object > ServiceSettingsBase > DiskTypesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

DiskTypesSettings()

public DiskTypesSettings()

Constructs a new DiskTypesSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

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

Property Value
Type Description
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 DiskTypesClient.Get and DiskTypesClient.GetAsync.

Property Value
Type Description
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 DiskTypesClient.List and DiskTypesClient.ListAsync.

Property Value
Type Description
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 DiskTypesSettings Clone()

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

Returns
Type Description
DiskTypesSettings

A deep clone of this DiskTypesSettings object.

GetDefault()

public static DiskTypesSettings GetDefault()

Get a new instance of the default DiskTypesSettings.

Returns
Type Description
DiskTypesSettings

A new instance of the default DiskTypesSettings.