Class: Google::Firestore::V1::DocumentDelete

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

Returns The resource name of the Document that was deleted.

Returns:

  • (String)

    The resource name of the Document that was deleted.



205
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb', line 205

class DocumentDelete; end

#read_timeGoogle::Protobuf::Timestamp

Returns The read timestamp at which the delete was observed.

Greater or equal to the commit_time of the delete.

Returns:

  • (Google::Protobuf::Timestamp)

    The read timestamp at which the delete was observed.

    Greater or equal to the commit_time of the delete.



205
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb', line 205

class DocumentDelete; end

#removed_target_idsArray<Integer>

Returns A set of target IDs for targets that previously matched this entity.

Returns:

  • (Array<Integer>)

    A set of target IDs for targets that previously matched this entity.



205
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb', line 205

class DocumentDelete; end