Class ProjectBillingInfo
Encapsulation of billing information for a Google Cloud Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
Implements
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1.Data
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class ProjectBillingInfo : IDirectResponseSchema
Properties
BillingAccountName
The resource name of the billing account associated with the project, if any. For example,
billingAccounts/012345-567890-ABCDEF
.
Declaration
[JsonProperty("billingAccountName")]
public virtual string BillingAccountName { get; set; }
Property Value
Type | Description |
---|---|
string |
BillingEnabled
Output only. True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services.
Declaration
[JsonProperty("billingEnabled")]
public virtual bool? BillingEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. The resource name for the ProjectBillingInfo
; has the form
projects/{project_id}/billingInfo
. For example, the resource name for the billing information for project
tokyo-rain-123
would be projects/tokyo-rain-123/billingInfo
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Output only. The ID of the project that this ProjectBillingInfo
represents, such as tokyo-rain-123
. This
is a convenience field so that you don't need to parse the name
field to obtain a project ID.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |