Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::Filter.
An expression to filter dimension or metric values.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#between_filter
def between_filter() -> ::Google::Analytics::Data::V1alpha::Filter::BetweenFilter
Returns
- (::Google::Analytics::Data::V1alpha::Filter::BetweenFilter) — A filter for two values.
#between_filter=
def between_filter=(value) -> ::Google::Analytics::Data::V1alpha::Filter::BetweenFilter
Parameter
- value (::Google::Analytics::Data::V1alpha::Filter::BetweenFilter) — A filter for two values.
Returns
- (::Google::Analytics::Data::V1alpha::Filter::BetweenFilter) — A filter for two values.
#field_name
def field_name() -> ::String
Returns
- (::String) — The dimension name or metric name. Must be a name defined in dimensions or metrics.
#field_name=
def field_name=(value) -> ::String
Parameter
- value (::String) — The dimension name or metric name. Must be a name defined in dimensions or metrics.
Returns
- (::String) — The dimension name or metric name. Must be a name defined in dimensions or metrics.
#in_list_filter
def in_list_filter() -> ::Google::Analytics::Data::V1alpha::Filter::InListFilter
Returns
- (::Google::Analytics::Data::V1alpha::Filter::InListFilter) — A filter for in list values.
#in_list_filter=
def in_list_filter=(value) -> ::Google::Analytics::Data::V1alpha::Filter::InListFilter
Parameter
- value (::Google::Analytics::Data::V1alpha::Filter::InListFilter) — A filter for in list values.
Returns
- (::Google::Analytics::Data::V1alpha::Filter::InListFilter) — A filter for in list values.
#null_filter
def null_filter() -> ::Boolean
Returns
- (::Boolean) — A filter for null values. If True, a null dimension value is matched by this filter. Null filter is commonly used inside a NOT filter expression. For example, a NOT expression of a null filter removes rows when a dimension is null.
#null_filter=
def null_filter=(value) -> ::Boolean
Parameter
- value (::Boolean) — A filter for null values. If True, a null dimension value is matched by this filter. Null filter is commonly used inside a NOT filter expression. For example, a NOT expression of a null filter removes rows when a dimension is null.
Returns
- (::Boolean) — A filter for null values. If True, a null dimension value is matched by this filter. Null filter is commonly used inside a NOT filter expression. For example, a NOT expression of a null filter removes rows when a dimension is null.
#numeric_filter
def numeric_filter() -> ::Google::Analytics::Data::V1alpha::Filter::NumericFilter
Returns
- (::Google::Analytics::Data::V1alpha::Filter::NumericFilter) — A filter for numeric or date values.
#numeric_filter=
def numeric_filter=(value) -> ::Google::Analytics::Data::V1alpha::Filter::NumericFilter
Parameter
- value (::Google::Analytics::Data::V1alpha::Filter::NumericFilter) — A filter for numeric or date values.
Returns
- (::Google::Analytics::Data::V1alpha::Filter::NumericFilter) — A filter for numeric or date values.
#string_filter
def string_filter() -> ::Google::Analytics::Data::V1alpha::Filter::StringFilter
Returns
- (::Google::Analytics::Data::V1alpha::Filter::StringFilter) — Strings related filter.
#string_filter=
def string_filter=(value) -> ::Google::Analytics::Data::V1alpha::Filter::StringFilter
Parameter
- value (::Google::Analytics::Data::V1alpha::Filter::StringFilter) — Strings related filter.
Returns
- (::Google::Analytics::Data::V1alpha::Filter::StringFilter) — Strings related filter.