Cloud Spanner API - Class Google::Cloud::Spanner::BatchWriteResults::BatchResult (v2.23.0)

Reference documentation and code samples for the Cloud Spanner API class Google::Cloud::Spanner::BatchWriteResults::BatchResult.

Result of a set of mutation groups applied together.

Inherits

  • Object

Methods

#commit_timestamp

def commit_timestamp() -> ::Time

The timestamp of the commit.

Returns
  • (::Time)

#error?

def error?() -> ::Boolean

Whether these mutation groups were unsuccessful.

Returns
  • (::Boolean)

#indexes

def indexes() -> ::Array<::Integer>

The indexes of the mutation groups applied together.

Returns
  • (::Array<::Integer>)

#ok?

def ok?() -> ::Boolean

Whether these mutation groups were successful.

Returns
  • (::Boolean)

#status

def status() -> ::Google::Rpc::Status

The result of this set of mutation groups.

Returns
  • (::Google::Rpc::Status)