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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb

Overview

The response for Firestore::Write.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_timeGoogle::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.



387
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 387

class WriteResponse; end

#stream_idString

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.



387
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 387

class WriteResponse; end

#stream_tokenString

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.



387
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 387

class WriteResponse; end

#write_resultsArray<Google::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:



387
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 387

class WriteResponse; end