google_api_cloud_search v0.2.0 GoogleApi.CloudSearch.V1.Model.Filter View Source

A generic way of expressing filters in a query, which supports two approaches:

1. Setting a ValueFilter. The name must match an operator_name defined in the schema for your data source.


2. Setting a CompositeFilter. The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.

Attributes

  • compositeFilter (type: GoogleApi.CloudSearch.V1.Model.CompositeFilter.t, default: nil) -
  • valueFilter (type: GoogleApi.CloudSearch.V1.Model.ValueFilter.t, default: nil) -

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudSearch.V1.Model.Filter{
  compositeFilter: GoogleApi.CloudSearch.V1.Model.CompositeFilter.t(),
  valueFilter: GoogleApi.CloudSearch.V1.Model.ValueFilter.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.