Class DiskTypesSettings (2.1.0)

public sealed class DiskTypesSettings : ServiceSettingsBase

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
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 DiskTypesClient.Get and DiskTypesClient.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 DiskTypesClient.List and DiskTypesClient.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 DiskTypesSettings Clone()

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

Returns
TypeDescription
DiskTypesSettings

A deep clone of this DiskTypesSettings object.

GetDefault()

public static DiskTypesSettings GetDefault()

Get a new instance of the default DiskTypesSettings.

Returns
TypeDescription
DiskTypesSettings

A new instance of the default DiskTypesSettings.