Google Analytics Admin V1beta Client - Class PropertySummary (0.13.0)

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

A virtual resource representing metadata for a GA4 property.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setProperty

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

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

Returns
TypeDescription
string

setDisplayName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPropertyType

The property's property type.

Returns
TypeDescription
int

setPropertyType

The property's property type.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this