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-
(::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch.
Present if status is OK and the mutation groups were applied, absent
otherwise.
For mutation groups with conditions, a status=OK and missing commit_timestamp means that the mutation groups were not applied due to the condition not being satisfied after evaluation.
#commit_timestamp=
def commit_timestamp=(value) -> ::Google::Protobuf::Timestamp-
value (::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch.
Present if status is OK and the mutation groups were applied, absent
otherwise.
For mutation groups with conditions, a status=OK and missing commit_timestamp means that the mutation groups were not applied due to the condition not being satisfied after evaluation.
-
(::Google::Protobuf::Timestamp) — The commit timestamp of the transaction that applied this batch.
Present if status is OK and the mutation groups were applied, absent
otherwise.
For mutation groups with conditions, a status=OK and missing commit_timestamp means that the mutation groups were not applied due to the condition not being satisfied after evaluation.
#indexes
def indexes() -> ::Array<::Integer>-
(::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>-
value (::Array<::Integer>) — The mutation groups applied in this batch. The values index into the
mutation_groupsfield in the correspondingBatchWriteRequest.
-
(::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-
(::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.
#status=
def status=(value) -> ::Google::Rpc::Status-
value (::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.
-
(::Google::Rpc::Status) — An
OKstatus indicates success. Any other status indicates a failure.