Google Analytics Admin V1alpha Client - Class PropertySummary (0.22.5)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class PropertySummary.

A virtual resource representing metadata for a GA4 property.

Generated from protobuf message google.analytics.admin.v1alpha.PropertySummary

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property string

Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"

↳ display_name string

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

↳ property_type int

The property's property type.

↳ parent string

Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/200"

getProperty

Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"

Returns
Type Description
string

setProperty

Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

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

Returns
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPropertyType

The property's property type.

Returns
Type Description
int

setPropertyType

The property's property type.

Parameter
Name Description
var int
Returns
Type Description
$this

getParent

Resource name of this property's logical parent.

Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/200"

Returns
Type Description
string

setParent

Resource name of this property's logical parent.

Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/200"

Parameter
Name Description
var string
Returns
Type Description
$this