Google Cloud Channel V1 Client - Class BillingAccount (1.8.2)

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

setName

Output only. Resource name of the billing account.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Display name of the billing account.

Returns
TypeDescription
string

setDisplayName

Display name of the billing account.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCurrencyCode

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

Returns
TypeDescription
string

setCurrencyCode

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegionCode

Output only. The CLDR region code.

Returns
TypeDescription
string

setRegionCode

Output only. The CLDR region code.

Parameter
NameDescription
var string
Returns
TypeDescription
$this