class Google::Apis::CloudsearchV1::FilterOptions
Filter
options to be applied on query.
Attributes
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. Corresponds to the JSON property `filter` @return [Google::Apis::CloudsearchV1::Filter]
If object_type
is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters. Corresponds to the JSON property `objectType` @return [String]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1238 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1243 def update!(**args) @filter = args[:filter] if args.key?(:filter) @object_type = args[:object_type] if args.key?(:object_type) end