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
Namespace
Google \ Analytics \ Admin \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ and_group |
AccessFilterExpressionList
Each of the FilterExpressions in the and_group has an AND relationship. |
↳ or_group |
AccessFilterExpressionList
Each of the FilterExpressions in the or_group has an OR relationship. |
↳ not_expression |
AccessFilterExpression
The FilterExpression is NOT of not_expression. |
↳ access_filter |
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 | |
---|---|
Type | Description |
AccessFilterExpressionList|null |
hasAndGroup
setAndGroup
Each of the FilterExpressions in the and_group has an AND relationship.
Parameter | |
---|---|
Name | Description |
var |
AccessFilterExpressionList
|
Returns | |
---|---|
Type | Description |
$this |
getOrGroup
Each of the FilterExpressions in the or_group has an OR relationship.
Returns | |
---|---|
Type | Description |
AccessFilterExpressionList|null |
hasOrGroup
setOrGroup
Each of the FilterExpressions in the or_group has an OR relationship.
Parameter | |
---|---|
Name | Description |
var |
AccessFilterExpressionList
|
Returns | |
---|---|
Type | Description |
$this |
getNotExpression
The FilterExpression is NOT of not_expression.
Returns | |
---|---|
Type | Description |
AccessFilterExpression|null |
hasNotExpression
setNotExpression
The FilterExpression is NOT of not_expression.
Parameter | |
---|---|
Name | Description |
var |
AccessFilterExpression
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
AccessFilter
|
Returns | |
---|---|
Type | Description |
$this |
getOneExpression
Returns | |
---|---|
Type | Description |
string |