Google Analytics Admin V1alpha Client - Class AccessFilterExpression (0.8.2)

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

Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ and_group Google\Analytics\Admin\V1alpha\AccessFilterExpressionList

Each of the FilterExpressions in the and_group has an AND relationship.

↳ or_group Google\Analytics\Admin\V1alpha\AccessFilterExpressionList

Each of the FilterExpressions in the or_group has an OR relationship.

↳ not_expression Google\Analytics\Admin\V1alpha\AccessFilterExpression

The FilterExpression is NOT of not_expression.

↳ access_filter Google\Analytics\Admin\V1alpha\AccessFilter

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

getAndGroup

Each of the FilterExpressions in the and_group has an AND relationship.

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

hasAndGroup

setAndGroup

Each of the FilterExpressions in the and_group has an AND relationship.

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

getOrGroup

Each of the FilterExpressions in the or_group has an OR relationship.

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

hasOrGroup

setOrGroup

Each of the FilterExpressions in the or_group has an OR relationship.

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

getNotExpression

The FilterExpression is NOT of not_expression.

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

hasNotExpression

setNotExpression

The FilterExpression is NOT of not_expression.

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

getAccessFilter

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

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

hasAccessFilter

setAccessFilter

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

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

getOneExpression

Returns
TypeDescription
string