class Google::Apis::FirestoreV1::UnaryFilter
A filter with a single operand.
Attributes
field[RW]
A reference to a field, such as `max(messages.time) as max_time`. Corresponds to the JSON property `field` @return [Google::Apis::FirestoreV1::FieldReference]
op[RW]
The unary operator to apply. Corresponds to the JSON property `op` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 2362 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1/classes.rb, line 2367 def update!(**args) @field = args[:field] if args.key?(:field) @op = args[:op] if args.key?(:op) end