Google Cloud Billing v1 API - Class ProjectBillingInfo (3.3.0)

public sealed class ProjectBillingInfo : IMessage<ProjectBillingInfo>, IEquatable<ProjectBillingInfo>, IDeepCloneable<ProjectBillingInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Billing v1 API 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).

Inheritance

object > ProjectBillingInfo

Namespace

Google.Cloud.Billing.V1

Assembly

Google.Cloud.Billing.V1.dll

Constructors

ProjectBillingInfo()

public ProjectBillingInfo()

ProjectBillingInfo(ProjectBillingInfo)

public ProjectBillingInfo(ProjectBillingInfo other)
Parameter
NameDescription
otherProjectBillingInfo

Properties

BillingAccountName

public string BillingAccountName { get; set; }

The resource name of the billing account associated with the project, if any. For example, billingAccounts/012345-567890-ABCDEF.

Property Value
TypeDescription
string

BillingEnabled

public bool BillingEnabled { get; set; }

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. This field is read-only.

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

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. This field is read-only.

Property Value
TypeDescription
string

ProjectBillingInfoName

public ProjectBillingInfoName ProjectBillingInfoName { get; set; }

ProjectBillingInfoName-typed view over the Name resource name property.

Property Value
TypeDescription
ProjectBillingInfoName

ProjectId

public string ProjectId { get; set; }

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. This field is read-only.

Property Value
TypeDescription
string