Class QuotaControllerSettings (1.2.0)

public sealed class QuotaControllerSettings : ServiceSettingsBase

Settings for QuotaControllerClient instances.

Inheritance

Object > ServiceSettingsBase > QuotaControllerSettings

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

QuotaControllerSettings()

public QuotaControllerSettings()

Constructs a new QuotaControllerSettings object with default settings.

Properties

AllocateQuotaSettings

public CallSettings AllocateQuotaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to QuotaControllerClient.AllocateQuota and QuotaControllerClient.AllocateQuotaAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public QuotaControllerSettings Clone()

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

Returns
TypeDescription
QuotaControllerSettings

A deep clone of this QuotaControllerSettings object.

GetDefault()

public static QuotaControllerSettings GetDefault()

Get a new instance of the default QuotaControllerSettings.

Returns
TypeDescription
QuotaControllerSettings

A new instance of the default QuotaControllerSettings.