public sealed class BudgetServiceSettings : ServiceSettingsBase
Settings for BudgetServiceClient instances.
Namespace
Google.Cloud.Billing.Budgets.V1Beta1Assembly
Google.Cloud.Billing.Budgets.V1Beta1.dll
Constructors
BudgetServiceSettings()
public BudgetServiceSettings()
Constructs a new BudgetServiceSettings object with default settings.
Properties
CreateBudgetSettings
public CallSettings CreateBudgetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
BudgetServiceClient.CreateBudget
and BudgetServiceClient.CreateBudgetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
DeleteBudgetSettings
public CallSettings DeleteBudgetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
BudgetServiceClient.DeleteBudget
and BudgetServiceClient.DeleteBudgetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
GetBudgetSettings
public CallSettings GetBudgetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
BudgetServiceClient.GetBudget
and BudgetServiceClient.GetBudgetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
ListBudgetsSettings
public CallSettings ListBudgetsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
BudgetServiceClient.ListBudgets
and BudgetServiceClient.ListBudgetsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
UpdateBudgetSettings
public CallSettings UpdateBudgetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
BudgetServiceClient.UpdateBudget
and BudgetServiceClient.UpdateBudgetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
public BudgetServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
BudgetServiceSettings | A deep clone of this BudgetServiceSettings object. |
GetDefault()
public static BudgetServiceSettings GetDefault()
Get a new instance of the default BudgetServiceSettings.
Returns | |
---|---|
Type | Description |
BudgetServiceSettings | A new instance of the default BudgetServiceSettings. |