Reference documentation and code samples for the Google Analytics Data V1alpha Client class SessionSegmentExclusion.
Specifies which sessions are excluded in this segment.
Generated from protobuf message google.analytics.data.v1alpha.SessionSegmentExclusion
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session_exclusion_duration |
int
Specifies how long an exclusion will last if a session matches the |
↳ session_exclusion_criteria |
Google\Analytics\Data\V1alpha\SessionSegmentCriteria
If a session meets this condition, the session is excluded from membership in the segment for the |
getSessionExclusionDuration
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
Returns | |
---|---|
Type | Description |
int |
setSessionExclusionDuration
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSessionExclusionCriteria
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
Returns | |
---|---|
Type | Description |
Google\Analytics\Data\V1alpha\SessionSegmentCriteria|null |
hasSessionExclusionCriteria
clearSessionExclusionCriteria
setSessionExclusionCriteria
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Data\V1alpha\SessionSegmentCriteria
|
Returns | |
---|---|
Type | Description |
$this |