public sealed class ProjectBillingInfo : IMessage<ProjectBillingInfo>, IEquatable<ProjectBillingInfo>, IDeepCloneable<ProjectBillingInfo>, IBufferMessage, IMessage
Encapsulation of billing information for a GCP Console project. A project
has at most one associated billing account at a time (but a billing account
can be assigned to multiple projects).
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eProjectBillingInfo\u003c/code\u003e class encapsulates billing details for a Google Cloud Platform (GCP) project, allowing for the management of billing accounts associated with it.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions, with version 3.9.0 being the latest, and allows checking if a project has an open billing account through the read-only \u003ccode\u003eBillingEnabled\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProjectBillingInfo\u003c/code\u003e includes properties like \u003ccode\u003eBillingAccountName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e to access specific billing details, such as the associated billing account's name and the project's unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, enabling functionalities like message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor methods, a default one and one that takes in another \u003ccode\u003eProjectBillingInfo\u003c/code\u003e object as a parameter, for a variety of different initiation options.\u003c/p\u003e\n"]]],[],null,[]]