Cloud Billing Budget v1 API - Class BudgetServiceSettings (2.3.0)

public sealed class BudgetServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Billing Budget v1 API class BudgetServiceSettings.

Settings for BudgetServiceClient instances.

Inheritance

object > ServiceSettingsBase > BudgetServiceSettings

Namespace

Google.Cloud.Billing.Budgets.V1

Assembly

Google.Cloud.Billing.Budgets.V1.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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
BudgetServiceSettings

A deep clone of this BudgetServiceSettings object.

GetDefault()

public static BudgetServiceSettings GetDefault()

Get a new instance of the default BudgetServiceSettings.

Returns
TypeDescription
BudgetServiceSettings

A new instance of the default BudgetServiceSettings.