Google Analytics Admin V1alpha Client - Class SubpropertyEventFilterExpression (0.24.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class SubpropertyEventFilterExpression.

A logical expression of Subproperty event filters.

Generated from protobuf message google.analytics.admin.v1alpha.SubpropertyEventFilterExpression

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ or_group Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList

A list of expressions to OR’ed together. Must only contain not_expression or filter_condition expressions.

↳ not_expression Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression

A filter expression to be NOT'ed (inverted, complemented). It can only include a filter. This cannot be set on the top level SubpropertyEventFilterExpression.

↳ filter_condition Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition

Creates a filter that matches a specific event. This cannot be set on the top level SubpropertyEventFilterExpression.

getOrGroup

A list of expressions to OR’ed together. Must only contain not_expression or filter_condition expressions.

Returns
Type Description
Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList|null

hasOrGroup

setOrGroup

A list of expressions to OR’ed together. Must only contain not_expression or filter_condition expressions.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList
Returns
Type Description
$this

getNotExpression

A filter expression to be NOT'ed (inverted, complemented). It can only include a filter. This cannot be set on the top level SubpropertyEventFilterExpression.

Returns
Type Description
Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null

hasNotExpression

setNotExpression

A filter expression to be NOT'ed (inverted, complemented). It can only include a filter. This cannot be set on the top level SubpropertyEventFilterExpression.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression
Returns
Type Description
$this

getFilterCondition

Creates a filter that matches a specific event. This cannot be set on the top level SubpropertyEventFilterExpression.

Returns
Type Description
Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition|null

hasFilterCondition

setFilterCondition

Creates a filter that matches a specific event. This cannot be set on the top level SubpropertyEventFilterExpression.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition
Returns
Type Description
$this

getExpr

Returns
Type Description
string