Google Analytics Admin V1beta Client - Class AccountSummary (0.9.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 GA4 properties.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ account string

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

↳ display_name string

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

↳ property_summaries array<Google\Analytics\Admin\V1beta\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
var string
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
var string
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
var string
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
var array<Google\Analytics\Admin\V1beta\PropertySummary>
Returns
TypeDescription
$this