Class: Google::Firestore::V1beta1::WriteResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/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.

Returns:



384
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 384

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.



384
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 384

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.



384
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 384

class WriteResponse; end

#write_resultsArray<Google::Firestore::V1beta1::WriteResult>

Returns The result of applying the writes.

This i-th write result corresponds to the i-th write in the request.

Returns:



384
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 384

class WriteResponse; end