Google Analytics Data V1alpha Client - Class Entity (0.20.0)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class Entity.

The unique identifier of the property whose events are tracked.

Generated from protobuf message google.analytics.data.v1alpha.Entity

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property_id string

A Google Analytics GA4 property id. To learn more, see where to find your Property ID.

getPropertyId

A Google Analytics GA4 property id. To learn more, see where to find your Property ID.

Returns
Type Description
string

setPropertyId

A Google Analytics GA4 property id. To learn more, see where to find your Property ID.

Parameter
Name Description
var string
Returns
Type Description
$this