Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::FilterExpression.
To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#and_group
def and_group() -> ::Google::Analytics::Data::V1alpha::FilterExpressionList
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in and_group have an AND relationship.
#and_group=
def and_group=(value) -> ::Google::Analytics::Data::V1alpha::FilterExpressionList
Parameter
- value (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in and_group have an AND relationship.
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in and_group have an AND relationship.
#filter
def filter() -> ::Google::Analytics::Data::V1alpha::Filter
Returns
- (::Google::Analytics::Data::V1alpha::Filter) — A primitive filter. All fields in filter in same FilterExpression needs to be either all dimensions or metrics.
#filter=
def filter=(value) -> ::Google::Analytics::Data::V1alpha::Filter
Parameter
- value (::Google::Analytics::Data::V1alpha::Filter) — A primitive filter. All fields in filter in same FilterExpression needs to be either all dimensions or metrics.
Returns
- (::Google::Analytics::Data::V1alpha::Filter) — A primitive filter. All fields in filter in same FilterExpression needs to be either all dimensions or metrics.
#not_expression
def not_expression() -> ::Google::Analytics::Data::V1alpha::FilterExpression
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpression) — The FilterExpression is NOT of not_expression.
#not_expression=
def not_expression=(value) -> ::Google::Analytics::Data::V1alpha::FilterExpression
Parameter
- value (::Google::Analytics::Data::V1alpha::FilterExpression) — The FilterExpression is NOT of not_expression.
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpression) — The FilterExpression is NOT of not_expression.
#or_group
def or_group() -> ::Google::Analytics::Data::V1alpha::FilterExpressionList
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in or_group have an OR relationship.
#or_group=
def or_group=(value) -> ::Google::Analytics::Data::V1alpha::FilterExpressionList
Parameter
- value (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in or_group have an OR relationship.
Returns
- (::Google::Analytics::Data::V1alpha::FilterExpressionList) — The FilterExpressions in or_group have an OR relationship.