Cloud Quotas v1 API - Class CloudQuotasSettings (1.0.0-beta05)

public sealed class CloudQuotasSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Quotas v1 API class CloudQuotasSettings.

Settings for CloudQuotasClient instances.

Inheritance

object > ServiceSettingsBase > CloudQuotasSettings

Namespace

Google.Cloud.CloudQuotas.V1

Assembly

Google.Cloud.CloudQuotas.V1.dll

Constructors

CloudQuotasSettings()

public CloudQuotasSettings()

Constructs a new CloudQuotasSettings object with default settings.

Properties

CreateQuotaPreferenceSettings

public CallSettings CreateQuotaPreferenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.CreateQuotaPreference and CloudQuotasClient.CreateQuotaPreferenceAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetQuotaInfoSettings

public CallSettings GetQuotaInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.GetQuotaInfo and CloudQuotasClient.GetQuotaInfoAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetQuotaPreferenceSettings

public CallSettings GetQuotaPreferenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.GetQuotaPreference and CloudQuotasClient.GetQuotaPreferenceAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListQuotaInfosSettings

public CallSettings ListQuotaInfosSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.ListQuotaInfos and CloudQuotasClient.ListQuotaInfosAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListQuotaPreferencesSettings

public CallSettings ListQuotaPreferencesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.ListQuotaPreferences and CloudQuotasClient.ListQuotaPreferencesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateQuotaPreferenceSettings

public CallSettings UpdateQuotaPreferenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudQuotasClient.UpdateQuotaPreference and CloudQuotasClient.UpdateQuotaPreferenceAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public CloudQuotasSettings Clone()

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

Returns
Type Description
CloudQuotasSettings

A deep clone of this CloudQuotasSettings object.

GetDefault()

public static CloudQuotasSettings GetDefault()

Get a new instance of the default CloudQuotasSettings.

Returns
Type Description
CloudQuotasSettings

A new instance of the default CloudQuotasSettings.