Google Analytics Admin V1alpha Client - Class SubpropertyEventFilterClause (0.24.2)

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

A clause for defining a filter. A filter may be inclusive (events satisfying the filter clause are included in the subproperty's data) or exclusive (events satisfying the filter clause are excluded from the subproperty's data).

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ filter_clause_type int

Required. The type for the filter clause.

↳ filter_expression SubpropertyEventFilterExpression

Required. The logical expression for what events are sent to the subproperty.

getFilterClauseType

Required. The type for the filter clause.

Returns
Type Description
int

setFilterClauseType

Required. The type for the filter clause.

Parameter
Name Description
var int
Returns
Type Description
$this

getFilterExpression

Required. The logical expression for what events are sent to the subproperty.

Returns
Type Description
SubpropertyEventFilterExpression|null

hasFilterExpression

clearFilterExpression

setFilterExpression

Required. The logical expression for what events are sent to the subproperty.

Parameter
Name Description
var SubpropertyEventFilterExpression
Returns
Type Description
$this