class Google::Apis::FirestoreV1::FieldFilter

A filter on a specific field.

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 operator to filter by. Corresponds to the JSON property `op` @return [String]

value[RW]

A message that can hold any of the supported value types. Corresponds to the JSON property `value` @return [Google::Apis::FirestoreV1::Value]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 661
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 666
def update!(**args)
  @field = args[:field] if args.key?(:field)
  @op = args[:op] if args.key?(:op)
  @value = args[:value] if args.key?(:value)
end