Google Analytics Data V1alpha Client - Class UserSegmentCriteria (0.21.1)

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

A user matches a criteria if the user's events meet the conditions in the criteria.

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

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ and_condition_groups array<UserSegmentConditionGroup>

A user matches this criteria if the user matches each of these andConditionGroups and each of the andSequenceGroups. andConditionGroups may be empty if andSequenceGroups are specified.

↳ and_sequence_groups array<UserSegmentSequenceGroup>

A user matches this criteria if the user matches each of these andSequenceGroups and each of the andConditionGroups. andSequenceGroups may be empty if andConditionGroups are specified.

getAndConditionGroups

A user matches this criteria if the user matches each of these andConditionGroups and each of the andSequenceGroups.

andConditionGroups may be empty if andSequenceGroups are specified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAndConditionGroups

A user matches this criteria if the user matches each of these andConditionGroups and each of the andSequenceGroups.

andConditionGroups may be empty if andSequenceGroups are specified.

Parameter
Name Description
var array<UserSegmentConditionGroup>
Returns
Type Description
$this

getAndSequenceGroups

A user matches this criteria if the user matches each of these andSequenceGroups and each of the andConditionGroups.

andSequenceGroups may be empty if andConditionGroups are specified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAndSequenceGroups

A user matches this criteria if the user matches each of these andSequenceGroups and each of the andConditionGroups.

andSequenceGroups may be empty if andConditionGroups are specified.

Parameter
Name Description
var array<UserSegmentSequenceGroup>
Returns
Type Description
$this