Class: Google::Firestore::V1beta1::DocumentDelete

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/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.



131
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 131

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.



131
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 131

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.



131
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 131

class DocumentDelete; end