Google Analytics Admin V1alpha Client - Class AudienceSimpleFilter (0.23.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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setScope

Required. Immutable. Specifies the scope for this filter.

Parameter
Name Description
var int
Returns
Type Description
$this

getFilterExpression

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

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

hasFilterExpression

clearFilterExpression

setFilterExpression

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

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