class Google::Apis::FirestoreV1::ExistenceFilter

A digest of all the documents that match a given target.

Attributes

count[RW]

The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target. Corresponds to the JSON property `count` @return [Fixnum]

target_id[RW]

The target ID to which this filter applies. Corresponds to the JSON property `targetId` @return [Fixnum]

Public Class Methods

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