Reference documentation and code samples for the Google Cloud Billing V1 Client class GetBillingAccountRequest.
Request message for GetBillingAccount.
Generated from protobuf message google.cloud.billing.v1.GetBillingAccountRequest
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 billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF.
getName
Required. The resource name of the billing account to retrieve. For
example, billingAccounts/012345-567890-ABCDEF.
Returns
Type
Description
string
setName
Required. The resource name of the billing account to retrieve. For
example, billingAccounts/012345-567890-ABCDEF.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource name of the billing account to retrieve. For
example, billingAccounts/012345-567890-ABCDEF. Please see
CloudBillingClient::billingAccountName() 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 GetBillingAccountRequest (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.GetBillingAccountRequest)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.GetBillingAccountRequest)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.GetBillingAccountRequest)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.GetBillingAccountRequest)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.GetBillingAccountRequest)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.GetBillingAccountRequest)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.GetBillingAccountRequest)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.GetBillingAccountRequest) \nReference documentation and code samples for the Google Cloud Billing V1 Client class GetBillingAccountRequest.\n\nRequest message for `GetBillingAccount`.\n\nGenerated from protobuf message `google.cloud.billing.v1.GetBillingAccountRequest`\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 billing account to retrieve. For\nexample, `billingAccounts/012345-567890-ABCDEF`.\n\n### setName\n\nRequired. The resource name of the billing account to retrieve. For\nexample, `billingAccounts/012345-567890-ABCDEF`.\n\n### static::build"]]