Google Analytics Admin V1beta Client - Class AccountSummary (0.22.5)

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

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

Resource name for this account summary.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getAccount

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

Returns
Type Description
string

setAccount

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

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

Returns
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPropertySummaries

List of summaries for child accounts of this account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPropertySummaries

List of summaries for child accounts of this account.

Parameter
Name Description
var array<Google\Analytics\Admin\V1beta\PropertySummary>
Returns
Type Description
$this