class Google::Apis::FirestoreV1beta1::DocumentDelete
A Document
has been deleted. May be the result of multiple writes, including updates, the last of which deleted the Document
. Multiple DocumentDelete
messages may be returned for the same logical delete, if multiple targets are affected.
Attributes
document[RW]
The resource name of the Document
that was deleted. Corresponds to the JSON property `document` @return [String]
read_time[RW]
The read timestamp at which the delete was observed. Greater or equal to the ` commit_time` of the delete. Corresponds to the JSON property `readTime` @return [String]
removed_target_ids[RW]
A set of target IDs for targets that previously matched this entity. Corresponds to the JSON property `removedTargetIds` @return [Array<Fixnum>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 479 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_v1beta1/classes.rb, line 484 def update!(**args) @document = args[:document] if args.key?(:document) @read_time = args[:read_time] if args.key?(:read_time) @removed_target_ids = args[:removed_target_ids] if args.key?(:removed_target_ids) end