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).
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.
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.
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.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eProjectBillingInfo\u003c/code\u003e class within the Google Cloud Billing v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProjectBillingInfo\u003c/code\u003e encapsulates billing details for a Google Cloud project, including its associated billing account and whether billing is enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting methods from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions of the Google.Cloud.Billing.V1 package, with 3.9.0 being the latest, and shows older versions from 3.8.0 down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eProperties within the \u003ccode\u003eProjectBillingInfo\u003c/code\u003e class like \u003ccode\u003eBillingAccountName\u003c/code\u003e, \u003ccode\u003eBillingEnabled\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProjectBillingInfoName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e provide various details related to a project's billing configuration.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Billing v1 API - Class ProjectBillingInfo (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.8.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.7.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.6.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.5.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.4.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.3.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.2.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.1.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.0.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/2.3.0/Google.Cloud.Billing.V1.ProjectBillingInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/2.2.0/Google.Cloud.Billing.V1.ProjectBillingInfo) \n\n public sealed class ProjectBillingInfo : IMessage\u003cProjectBillingInfo\u003e, IEquatable\u003cProjectBillingInfo\u003e, IDeepCloneable\u003cProjectBillingInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Billing v1 API class ProjectBillingInfo.\n\nEncapsulation of billing information for a Google Cloud Console project. A\nproject has at most one associated billing account at a time (but a billing\naccount can be assigned to multiple projects). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProjectBillingInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProjectBillingInfo](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProjectBillingInfo](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProjectBillingInfo](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Billing.V1](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.V1.dll\n\nConstructors\n------------\n\n### ProjectBillingInfo()\n\n public ProjectBillingInfo()\n\n### ProjectBillingInfo(ProjectBillingInfo)\n\n public ProjectBillingInfo(ProjectBillingInfo other)\n\nProperties\n----------\n\n### BillingAccountName\n\n public string BillingAccountName { get; set; }\n\nThe resource name of the billing account associated with the project, if\nany. For example, `billingAccounts/012345-567890-ABCDEF`.\n\n### BillingEnabled\n\n public bool BillingEnabled { get; set; }\n\nOutput only. True if the project is associated with an open billing\naccount, to which usage on the project is charged. False if the project is\nassociated with a closed billing account, or no billing account at all, and\ntherefore cannot use paid services.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The resource name for the `ProjectBillingInfo`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`projects/tokyo-rain-123/billingInfo`.\n\n### ProjectBillingInfoName\n\n public ProjectBillingInfoName ProjectBillingInfoName { get; set; }\n\n[ProjectBillingInfoName](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfoName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.ProjectBillingInfo#Google_Cloud_Billing_V1_ProjectBillingInfo_Name) resource name property.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nOutput only. The ID of the project that this `ProjectBillingInfo`\nrepresents, such as `tokyo-rain-123`. This is a convenience field so that\nyou don't need to parse the `name` field to obtain a project ID."]]