Google Cloud Billing v1 API - Class CloudBillingSettings (3.5.0)

public sealed class CloudBillingSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Billing v1 API class CloudBillingSettings.

Settings for CloudBillingClient instances.

Inheritance

object > ServiceSettingsBase > CloudBillingSettings

Namespace

Google.Cloud.Billing.V1

Assembly

Google.Cloud.Billing.V1.dll

Constructors

CloudBillingSettings()

public CloudBillingSettings()

Constructs a new CloudBillingSettings object with default settings.

Properties

CreateBillingAccountSettings

public CallSettings CreateBillingAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.CreateBillingAccount and CloudBillingClient.CreateBillingAccountAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetBillingAccountSettings

public CallSettings GetBillingAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.GetBillingAccount and CloudBillingClient.GetBillingAccountAsync.

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.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.GetIamPolicy and CloudBillingClient.GetIamPolicyAsync.

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.

GetProjectBillingInfoSettings

public CallSettings GetProjectBillingInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.GetProjectBillingInfo and CloudBillingClient.GetProjectBillingInfoAsync.

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.

ListBillingAccountsSettings

public CallSettings ListBillingAccountsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.ListBillingAccounts and CloudBillingClient.ListBillingAccountsAsync.

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.

ListProjectBillingInfoSettings

public CallSettings ListProjectBillingInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.ListProjectBillingInfo and CloudBillingClient.ListProjectBillingInfoAsync.

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.

MoveBillingAccountSettings

public CallSettings MoveBillingAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.MoveBillingAccount and CloudBillingClient.MoveBillingAccountAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.SetIamPolicy and CloudBillingClient.SetIamPolicyAsync.

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.

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.TestIamPermissions and CloudBillingClient.TestIamPermissionsAsync.

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.

UpdateBillingAccountSettings

public CallSettings UpdateBillingAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.UpdateBillingAccount and CloudBillingClient.UpdateBillingAccountAsync.

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.

UpdateProjectBillingInfoSettings

public CallSettings UpdateProjectBillingInfoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBillingClient.UpdateProjectBillingInfo and CloudBillingClient.UpdateProjectBillingInfoAsync .

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 CloudBillingSettings Clone()

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

Returns
TypeDescription
CloudBillingSettings

A deep clone of this CloudBillingSettings object.

GetDefault()

public static CloudBillingSettings GetDefault()

Get a new instance of the default CloudBillingSettings.

Returns
TypeDescription
CloudBillingSettings

A new instance of the default CloudBillingSettings.