Google Analytics Data V1alpha Client - Class Entity (0.13.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
NameDescription
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
TypeDescription
string

setPropertyId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this