Google Analytics Data V1alpha Client - Class EventSegmentExclusion (0.22.2)

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

hasEventExclusionCriteria

clearEventExclusionCriteria

setEventExclusionCriteria

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

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: