Reference documentation and code samples for the Google Cloud Billing V1 Client class GetProjectBillingInfoRequest.
Request message forGetProjectBillingInfo.
Generated from protobuf messagegoogle.cloud.billing.v1.GetProjectBillingInfoRequest
Namespace
Google \ Cloud \ Billing \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the project for which billing information is retrieved. For example,projects/tokyo-rain-123.
getName
Required. The resource name of the project for which billing information is
retrieved. For example,projects/tokyo-rain-123.
Returns
Type
Description
string
setName
Required. The resource name of the project for which billing information is
retrieved. For example,projects/tokyo-rain-123.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource name of the project for which billing information is
retrieved. For example,projects/tokyo-rain-123. Please seeCloudBillingClient::projectName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Billing V1 Client - Class GetProjectBillingInfoRequest (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.GetProjectBillingInfoRequest)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.GetProjectBillingInfoRequest)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.GetProjectBillingInfoRequest)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.GetProjectBillingInfoRequest)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.GetProjectBillingInfoRequest)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.GetProjectBillingInfoRequest)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.GetProjectBillingInfoRequest)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.GetProjectBillingInfoRequest) \nReference documentation and code samples for the Google Cloud Billing V1 Client class GetProjectBillingInfoRequest.\n\nRequest message for `GetProjectBillingInfo`.\n\nGenerated from protobuf message `google.cloud.billing.v1.GetProjectBillingInfoRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the project for which billing information is\nretrieved. For example, `projects/tokyo-rain-123`.\n\n### setName\n\nRequired. The resource name of the project for which billing information is\nretrieved. For example, `projects/tokyo-rain-123`.\n\n### static::build"]]