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 \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ event_exclusion_duration |
int
|
↳ event_exclusion_criteria |
EventSegmentCriteria
If an event meets this condition, the event is excluded from membership in the segment for the |
getEventExclusionDuration
eventExclusionDuration should always be PERMANENTLY_EXCLUDE.
Optional. If unspecified, an eventExclusionDuration of
EVENT_EXCLUSION_PERMANENT is used.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type EventExclusionDuration. |
setEventExclusionDuration
eventExclusionDuration should always be PERMANENTLY_EXCLUDE.
Optional. If unspecified, an eventExclusionDuration of
EVENT_EXCLUSION_PERMANENT is used.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type EventExclusionDuration. |
| 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 |
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 |
EventSegmentCriteria
|
| Returns | |
|---|---|
| Type | Description |
$this |
|