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

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
AudienceFilterExpression|null

hasFilterExpression

clearFilterExpression

setFilterExpression

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

Parameter
Name Description
var AudienceFilterExpression
Returns
Type Description
$this