Class: Google::Cloud::Spanner::V1::BatchWriteResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/v1/spanner.rb

Overview

The result of applying a batch of mutations.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_timestamp::Google::Protobuf::Timestamp

Returns 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.



1118
1119
1120
1121
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1118

class BatchWriteResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#indexes::Array<::Integer>

Returns 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.



1118
1119
1120
1121
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1118

class BatchWriteResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#status::Google::Rpc::Status

Returns An OK status indicates success. Any other status indicates a failure.

Returns:



1118
1119
1120
1121
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1118

class BatchWriteResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end