Google Cloud Billing V1 Client - Class GetBillingAccountRequest (1.9.5)

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 Google\Cloud\Billing\V1\CloudBillingClient::billingAccountName() for help formatting this field.

Returns
Type Description
Google\Cloud\Billing\V1\GetBillingAccountRequest