Google Analytics Admin V1alpha Client - Class AudienceSimpleFilter (0.31.1)

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
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
Enum of type AudienceFilterScope .

setScope

Required. Immutable. Specifies the scope for this filter.

Parameter
Name
Description
var
int

Enum of type AudienceFilterScope .

Returns
Type
Description
$this

getFilterExpression

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

Returns
Type
Description

hasFilterExpression

clearFilterExpression

setFilterExpression

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

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: