Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::BatchWriteResponse (v0.23.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::BatchWriteResponse.

The result of applying a batch of mutations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#commit_timestamp

def commit_timestamp() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch. Present if status is OK, absent otherwise.

#commit_timestamp=

def commit_timestamp=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch. Present if status is OK, absent otherwise.
Returns
  • (::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch. Present if status is OK, absent otherwise.

#indexes

def indexes() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the mutation_groups field in the corresponding BatchWriteRequest.

#indexes=

def indexes=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the mutation_groups field in the corresponding BatchWriteRequest.
Returns
  • (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the mutation_groups field in the corresponding BatchWriteRequest.

#status

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

#status=

def status=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — An OK status indicates success. Any other status indicates a failure.
Returns