Google Analytics Admin V1alpha Client - Class AudienceSimpleFilter (0.13.0)

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

Defines a simple filter that a user must satisfy to be a member of the Audience.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ scope int

Required. Immutable. Specifies the scope for this filter.

↳ filter_expression Google\Analytics\Admin\V1alpha\AudienceFilterExpression

Required. Immutable. A logical expression of Audience dimension, metric, or event filters.

getScope

Required. Immutable. Specifies the scope for this filter.

Returns
TypeDescription
int

setScope

Required. Immutable. Specifies the scope for this filter.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFilterExpression

Required. Immutable. A logical expression of Audience dimension, metric, or event filters.

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

hasFilterExpression

clearFilterExpression

setFilterExpression

Required. Immutable. A logical expression of Audience dimension, metric, or event filters.

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