Google Cloud Billing V1 Client - Class GetBillingAccountRequest (2.1.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
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.

Returns
Type Description
GetBillingAccountRequest