Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::DataFilter.
A filter on a datasource's underlying data. Filter syntax documentation: https://cloud.google.com/looker/docs/filter-expressions
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#field
def field() -> ::String
Returns
- (::String) — Optional. The field to filter on. For example: ["event_date", "customer_id", "product_category"]
#field=
def field=(value) -> ::String
Parameter
- value (::String) — Optional. The field to filter on. For example: ["event_date", "customer_id", "product_category"]
Returns
- (::String) — Optional. The field to filter on. For example: ["event_date", "customer_id", "product_category"]
#type
def type() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DataFilterType
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::DataFilterType) — Optional. The type of filter present on a datasource, such as ALWAYS_FILTER.
#type=
def type=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DataFilterType
Parameter
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::DataFilterType) — Optional. The type of filter present on a datasource, such as ALWAYS_FILTER.
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::DataFilterType) — Optional. The type of filter present on a datasource, such as ALWAYS_FILTER.
#value
def value() -> ::String
Returns
- (::String) — Optional. The default value used for this filter if the filter is not overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
#value=
def value=(value) -> ::String
Parameter
- value (::String) — Optional. The default value used for this filter if the filter is not overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
Returns
- (::String) — Optional. The default value used for this filter if the filter is not overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]