class Google::Apis::CloudsearchV1::ValueFilter
Attributes
operator_name[RW]
The `operator_name` applied to the query, such as price_greater_than. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or ` less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query. Corresponds to the JSON property `operatorName` @return [String]
value[RW]
Definition of a single value with generic type. Corresponds to the JSON property `value` @return [Google::Apis::CloudsearchV1::Value]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 5204 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 5209 def update!(**args) @operator_name = args[:operator_name] if args.key?(:operator_name) @value = args[:value] if args.key?(:value) end