Google Analytics Admin V1beta Client - Class Account (0.12.0)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class Account.

A resource message representing a Google Analytics account.

Generated from protobuf message google.analytics.admin.v1beta.Account

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"

↳ create_time Google\Protobuf\Timestamp

Output only. Time when this account was originally created.

↳ update_time Google\Protobuf\Timestamp

Output only. Time when account payload fields were last updated.

↳ display_name string

Required. Human-readable display name for this account.

↳ region_code string

Country of business. Must be a Unicode CLDR region code.

↳ deleted bool

Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.

getName

Output only. Resource name of this account.

Format: accounts/{account} Example: "accounts/100"

Returns
TypeDescription
string

setName

Output only. Resource name of this account.

Format: accounts/{account} Example: "accounts/100"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Time when this account was originally created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when this account was originally created.

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

getUpdateTime

Output only. Time when account payload fields were last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time when account payload fields were last updated.

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

getDisplayName

Required. Human-readable display name for this account.

Returns
TypeDescription
string

setDisplayName

Required. Human-readable display name for this account.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegionCode

Country of business. Must be a Unicode CLDR region code.

Returns
TypeDescription
string

setRegionCode

Country of business. Must be a Unicode CLDR region code.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeleted

Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.

Returns
TypeDescription
bool

setDeleted

Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this