Class: Google::Cloud::Firestore::V1::DocumentChange

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/v1/write.rb

Overview

A Document has changed.

May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document.

Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::Firestore::V1::Document

Returns The new state of the Document.

If mask is set, contains only fields that were updated or added.

Returns:



206
207
208
209
# File 'proto_docs/google/firestore/v1/write.rb', line 206

class DocumentChange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#removed_target_ids::Array<::Integer>

Returns A set of target IDs for targets that no longer match this document.

Returns:

  • (::Array<::Integer>)

    A set of target IDs for targets that no longer match this document.



206
207
208
209
# File 'proto_docs/google/firestore/v1/write.rb', line 206

class DocumentChange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_ids::Array<::Integer>

Returns A set of target IDs of targets that match this document.

Returns:

  • (::Array<::Integer>)

    A set of target IDs of targets that match this document.



206
207
208
209
# File 'proto_docs/google/firestore/v1/write.rb', line 206

class DocumentChange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end