Google Analytics Admin V1alpha Client - Class SubpropertyEventFilterClause (0.20.0)

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

Optional. Data for populating the Message object.

↳ filter_clause_type int

Required. The type for the filter clause.

↳ filter_expression Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression

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

getFilterClauseType

Required. The type for the filter clause.

Returns
TypeDescription
int

setFilterClauseType

Required. The type for the filter clause.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFilterExpression

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

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null

hasFilterExpression

clearFilterExpression

setFilterExpression

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

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression
Returns
TypeDescription
$this