Class: Google::Cloud::Firestore::V1::WriteResponse

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Google::Protobuf::Timestamp)

    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.



674
675
676
677
# File 'proto_docs/google/firestore/v1/firestore.rb', line 674

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.

Returns:

  • (::String)

    The ID of the stream. Only set on the first message, when a new stream was created.



674
675
676
677
# File 'proto_docs/google/firestore/v1/firestore.rb', line 674

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.

Returns:

  • (::String)

    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.



674
675
676
677
# File 'proto_docs/google/firestore/v1/firestore.rb', line 674

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.

Returns:



674
675
676
677
# File 'proto_docs/google/firestore/v1/firestore.rb', line 674

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