Google Analytics Data V1alpha Client - Class UserSegmentCriteria (0.14.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ and_condition_groups array<Google\Analytics\Data\V1alpha\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<Google\Analytics\Data\V1alpha\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
TypeDescription
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
NameDescription
var array<Google\Analytics\Data\V1alpha\UserSegmentConditionGroup>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Analytics\Data\V1alpha\UserSegmentSequenceGroup>
Returns
TypeDescription
$this