public sealed class QuotaControllerSettings : ServiceSettingsBase
Settings for QuotaControllerClient instances.
Namespace
Google.Cloud.ServiceControl.V1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
QuotaControllerSettings | A deep clone of this QuotaControllerSettings object. |
GetDefault()
public static QuotaControllerSettings GetDefault()
Get a new instance of the default QuotaControllerSettings.
Returns | |
---|---|
Type | Description |
QuotaControllerSettings | A new instance of the default QuotaControllerSettings. |