- JSON representation
- AccessFilterExpressionList
- AccessFilter
- AccessStringFilter
- MatchType
- AccessInListFilter
- AccessNumericFilter
- Operation
- NumericValue
- AccessBetweenFilter
Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field one_expression . Specify one type of filter expression for FilterExpression . one_expression can be only one of the following: |
|
andGroup |
Each of the FilterExpressions in the andGroup has an AND relationship. |
orGroup |
Each of the FilterExpressions in the orGroup has an OR relationship. |
notExpression |
The FilterExpression is NOT of notExpression. |
accessFilter |
A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics. |
AccessFilterExpressionList
A list of filter expressions.
JSON representation |
---|
{
"expressions": [
{
object ( |
Fields | |
---|---|
expressions[] |
A list of filter expressions. |
AccessFilter
An expression to filter dimension or metric values.
JSON representation |
---|
{ "fieldName": string, // Union field |
Fields | |
---|---|
fieldName |
The dimension name or metric name. |
Union field one_filter . Specify one type of filter for Filter . one_filter can be only one of the following: |
|
stringFilter |
Strings related filter. |
inListFilter |
A filter for in list values. |
numericFilter |
A filter for numeric or date values. |
betweenFilter |
A filter for two values. |
AccessStringFilter
The filter for strings.
JSON representation |
---|
{
"matchType": enum ( |
Fields | |
---|---|
matchType |
The match type for this filter. |
value |
The string value used for the matching. |
caseSensitive |
If true, the string value is case sensitive. |
MatchType
The match type of a string filter.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Unspecified |
EXACT |
Exact match of the string value. |
BEGINS_WITH |
Begins with the string value. |
ENDS_WITH |
Ends with the string value. |
CONTAINS |
Contains the string value. |
FULL_REGEXP |
Full match for the regular expression with the string value. |
PARTIAL_REGEXP |
Partial match for the regular expression with the string value. |
AccessInListFilter
The result needs to be in a list of string values.
JSON representation |
---|
{ "values": [ string ], "caseSensitive": boolean } |
Fields | |
---|---|
values[] |
The list of string values. Must be non-empty. |
caseSensitive |
If true, the string value is case sensitive. |
AccessNumericFilter
Filters for numeric or date values.
JSON representation |
---|
{ "operation": enum ( |
Fields | |
---|---|
operation |
The operation type for this filter. |
value |
A numeric value or a date value. |
Operation
The operation applied to a numeric filter.
Enums | |
---|---|
OPERATION_UNSPECIFIED |
Unspecified. |
EQUAL |
Equal |
LESS_THAN |
Less than |
LESS_THAN_OR_EQUAL |
Less than or equal |
GREATER_THAN |
Greater than |
GREATER_THAN_OR_EQUAL |
Greater than or equal |
NumericValue
To represent a number.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field one_value . One of a numeric value one_value can be only one of the following: |
|
int64Value |
Integer value |
doubleValue |
Double value |
AccessBetweenFilter
To express that the result needs to be between two numbers (inclusive).
JSON representation |
---|
{ "fromValue": { object ( |
Fields | |
---|---|
fromValue |
Begins with this number. |
toValue |
Ends with this number. |