Google Analytics Data V1alpha Client - Class SegmentParameterFilterExpression (0.20.1)

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

Expresses combinations of segment filter on parameters.

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

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ and_group SegmentParameterFilterExpressionList

The SegmentParameterFilterExpression in andGroup have an AND relationship.

↳ or_group SegmentParameterFilterExpressionList

The SegmentParameterFilterExpression in orGroup have an OR relationship.

↳ not_expression SegmentParameterFilterExpression

The SegmentParameterFilterExpression is NOT of notExpression.

↳ segment_parameter_filter SegmentParameterFilter

A primitive segment parameter filter.

getAndGroup

The SegmentParameterFilterExpression in andGroup have an AND relationship.

Returns
Type Description
SegmentParameterFilterExpressionList|null

hasAndGroup

setAndGroup

The SegmentParameterFilterExpression in andGroup have an AND relationship.

Parameter
Name Description
var SegmentParameterFilterExpressionList
Returns
Type Description
$this

getOrGroup

The SegmentParameterFilterExpression in orGroup have an OR relationship.

Returns
Type Description
SegmentParameterFilterExpressionList|null

hasOrGroup

setOrGroup

The SegmentParameterFilterExpression in orGroup have an OR relationship.

Parameter
Name Description
var SegmentParameterFilterExpressionList
Returns
Type Description
$this

getNotExpression

The SegmentParameterFilterExpression is NOT of notExpression.

Returns
Type Description
SegmentParameterFilterExpression|null

hasNotExpression

setNotExpression

The SegmentParameterFilterExpression is NOT of notExpression.

Parameter
Name Description
var SegmentParameterFilterExpression
Returns
Type Description
$this

getSegmentParameterFilter

A primitive segment parameter filter.

Returns
Type Description
SegmentParameterFilter|null

hasSegmentParameterFilter

setSegmentParameterFilter

A primitive segment parameter filter.

Parameter
Name Description
var SegmentParameterFilter
Returns
Type Description
$this

getExpr

Returns
Type Description
string