Class: Google::Cloud::Firestore::V1::WriteResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::WriteResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/firestore.rb
Overview
The response for Firestore.Write.
Instance Attribute Summary collapse
-
#commit_time ⇒ ::Google::Protobuf::Timestamp
The time at which the commit occurred.
-
#stream_id ⇒ ::String
The ID of the stream.
-
#stream_token ⇒ ::String
A token that represents the position of this response in the stream.
-
#write_results ⇒ ::Array<::Google::Cloud::Firestore::V1::WriteResult>
The result of applying the writes.
Instance Attribute Details
#commit_time ⇒ ::Google::Protobuf::Timestamp
Returns The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the write.
635 636 637 638 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 635 class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#stream_id ⇒ ::String
Returns The ID of the stream. Only set on the first message, when a new stream was created.
635 636 637 638 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 635 class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#stream_token ⇒ ::String
Returns A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point.
This field is always set.
635 636 637 638 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 635 class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#write_results ⇒ ::Array<::Google::Cloud::Firestore::V1::WriteResult>
Returns The result of applying the writes.
This i-th write result corresponds to the i-th write in the request.
635 636 637 638 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 635 class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |