Google Analytics Admin V1alpha Client - Class PropertySummary (0.17.0)

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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ propertystring

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

↳ display_namestring

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

↳ property_typeint

The property's property type.

↳ parentstring

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
varstring
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
varstring
Returns
TypeDescription
$this

getPropertyType

The property's property type.

Returns
TypeDescription
int

setPropertyType

The property's property type.

Parameter
NameDescription
varint
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
varstring
Returns
TypeDescription
$this