Google Cloud Channel V1 Client - Class BillingAccount (2.1.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class BillingAccount.

Represents a billing account.

Generated from protobuf message google.cloud.channel.v1.BillingAccount

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

↳ display_name string

Display name of the billing account.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when this billing account was created.

↳ currency_code string

Output only. The 3-letter currency code defined in ISO 4217.

↳ region_code string

Output only. The CLDR region code.

getName

Output only. Resource name of the billing account.

Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

Returns
Type Description
string

setName

Output only. Resource name of the billing account.

Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Display name of the billing account.

Returns
Type Description
string

setDisplayName

Display name of the billing account.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time when this billing account was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when this billing account was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCurrencyCode

Output only. The 3-letter currency code defined in ISO 4217.

Returns
Type Description
string

setCurrencyCode

Output only. The 3-letter currency code defined in ISO 4217.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegionCode

Output only. The CLDR region code.

Returns
Type Description
string

setRegionCode

Output only. The CLDR region code.

Parameter
Name Description
var string
Returns
Type Description
$this