Google Analytics Data V1alpha Client - Class EventSegmentExclusion (0.16.4)

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

Specifies which events are excluded in this segment.

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

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ event_exclusion_duration int

eventExclusionDuration should always be PERMANENTLY_EXCLUDE. Optional. If unspecified, an eventExclusionDuration of EVENT_EXCLUSION_PERMANENT is used.

↳ event_exclusion_criteria Google\Analytics\Data\V1alpha\EventSegmentCriteria

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

getEventExclusionDuration

eventExclusionDuration should always be PERMANENTLY_EXCLUDE.

Optional. If unspecified, an eventExclusionDuration of EVENT_EXCLUSION_PERMANENT is used.

Returns
Type Description
int

setEventExclusionDuration

eventExclusionDuration should always be PERMANENTLY_EXCLUDE.

Optional. If unspecified, an eventExclusionDuration of EVENT_EXCLUSION_PERMANENT is used.

Parameter
Name Description
var int
Returns
Type Description
$this

getEventExclusionCriteria

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

Returns
Type Description
Google\Analytics\Data\V1alpha\EventSegmentCriteria|null

hasEventExclusionCriteria

clearEventExclusionCriteria

setEventExclusionCriteria

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\EventSegmentCriteria
Returns
Type Description
$this