Google Analytics Admin V1beta Client - Class AccountSummary (0.27.0)

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

A virtual resource representing an overview of an account and all its child Google Analytics properties.

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

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"

↳ accountstring

Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"

↳ display_namestring

Display name for the account referred to in this account summary.

↳ property_summariesarray<PropertySummary>

List of summaries for child accounts of this account.

getName

Resource name for this account summary.

Format: accountSummaries/{account_id} Example: "accountSummaries/1000"

Returns
TypeDescription
string

setName

Resource name for this account summary.

Format: accountSummaries/{account_id} Example: "accountSummaries/1000"

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAccount

Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"

Returns
TypeDescription
string

setAccount

Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDisplayName

Display name for the account referred to in this account summary.

Returns
TypeDescription
string

setDisplayName

Display name for the account referred to in this account summary.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getPropertySummaries

List of summaries for child accounts of this account.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPropertySummaries

List of summaries for child accounts of this account.

Parameter
NameDescription
vararray<PropertySummary>
Returns
TypeDescription
$this