Show / Hide Table of Contents

Class BillingAccount

A billing account in the Google Cloud Console. You can assign a billing account to one or more projects.

Inheritance
System.Object
BillingAccount
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Cloudbilling.v1.Data
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class BillingAccount : IDirectResponseSchema

Properties

DisplayName

The display name given to the billing account, such as My Billing Account. This name is displayed in the Google Cloud Console.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

MasterBillingAccount

If this account is a subaccount, then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.

Declaration
[JsonProperty("masterBillingAccount")]
public virtual string MasterBillingAccount { get; set; }
Property Value
Type Description
System.String

Name

Output only. The resource name of the billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF would be the resource name for billing account 012345-567890-ABCDEF.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Open

Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.

Declaration
[JsonProperty("open")]
public virtual bool? Open { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top