Google Analytics Admin V1alpha Client - Class AccountSummary (0.19.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha 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.v1alpha.AccountSummary

Namespace

Google \ Analytics \ Admin \ V1alpha

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\V1alpha\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\V1alpha\PropertySummary>
Returns
TypeDescription
$this