Google Cloud Billing V1 Client - Class GetBillingAccountRequest (1.8.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The resource name of the billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Billing\V1\GetBillingAccountRequest