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
statusisOK, 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
statusisOK, absent otherwise.
Returns
- (::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch. Present if
statusisOK, absent otherwise.
#indexes
def indexes() -> ::Array<::Integer> Returns
- (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the
mutation_groupsfield in the correspondingBatchWriteRequest.
#indexes=
def indexes=(value) -> ::Array<::Integer> Parameter
- value (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the
mutation_groupsfield in the correspondingBatchWriteRequest.
Returns
- (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the
mutation_groupsfield in the correspondingBatchWriteRequest.
#status
def status() -> ::Google::Rpc::Status Returns
- (::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.
#status=
def status=(value) -> ::Google::Rpc::Status Parameter
- value (::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.
Returns
- (::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.