Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::DocumentChange (v0.11.1)

Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::DocumentChange.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::Firestore::V1::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::Firestore::V1::Document
Parameter
Returns

#removed_target_ids

def removed_target_ids() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — A set of target IDs for targets that no longer match this document.

#removed_target_ids=

def removed_target_ids=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — 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.

#target_ids

def target_ids() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — A set of target IDs of targets that match this document.

#target_ids=

def target_ids=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — 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.