Google Analytics Data V1alpha Client - Class SegmentParameterFilterExpression (0.20.0)

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 Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList

The SegmentParameterFilterExpression in andGroup have an AND relationship.

↳ or_group Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList

The SegmentParameterFilterExpression in orGroup have an OR relationship.

↳ not_expression Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression

The SegmentParameterFilterExpression is NOT of notExpression.

↳ segment_parameter_filter Google\Analytics\Data\V1alpha\SegmentParameterFilter

A primitive segment parameter filter.

getAndGroup

The SegmentParameterFilterExpression in andGroup have an AND relationship.

Returns
Type Description
Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList|null

hasAndGroup

setAndGroup

The SegmentParameterFilterExpression in andGroup have an AND relationship.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList
Returns
Type Description
$this

getOrGroup

The SegmentParameterFilterExpression in orGroup have an OR relationship.

Returns
Type Description
Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList|null

hasOrGroup

setOrGroup

The SegmentParameterFilterExpression in orGroup have an OR relationship.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList
Returns
Type Description
$this

getNotExpression

The SegmentParameterFilterExpression is NOT of notExpression.

Returns
Type Description
Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression|null

hasNotExpression

setNotExpression

The SegmentParameterFilterExpression is NOT of notExpression.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression
Returns
Type Description
$this

getSegmentParameterFilter

A primitive segment parameter filter.

Returns
Type Description
Google\Analytics\Data\V1alpha\SegmentParameterFilter|null

hasSegmentParameterFilter

setSegmentParameterFilter

A primitive segment parameter filter.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\SegmentParameterFilter
Returns
Type Description
$this

getExpr

Returns
Type Description
string