proto_docs/google/spanner/v1/spanner.rb in google-cloud-spanner-v1-1.1.0 vs proto_docs/google/spanner/v1/spanner.rb in google-cloud-spanner-v1-1.2.0
- old
+ new
@@ -642,10 +642,19 @@
# contains valid {::Google::Cloud::Spanner::V1::ResultSetMetadata ResultSetMetadata}.
# @!attribute [rw] status
# @return [::Google::Rpc::Status]
# If all DML statements are executed successfully, the status is `OK`.
# Otherwise, the error status of the first failed statement.
+ # @!attribute [rw] precommit_token
+ # @return [::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken]
+ # Optional. A precommit token will be included if the read-write transaction
+ # is on a multiplexed session.
+ # The precommit token with the highest sequence number from this transaction
+ # attempt should be passed to the
+ # {::Google::Cloud::Spanner::V1::Spanner::Client#commit Commit} request for this transaction.
+ # This feature is not yet supported and will result in an UNIMPLEMENTED
+ # error.
class ExecuteBatchDmlResponse
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -976,10 +985,18 @@
# Common options for this request.
# Priority is ignored for this request. Setting the priority in this
# request_options struct will not do anything. To set the priority for a
# transaction, set it on the reads and writes that are part of this
# transaction instead.
+ # @!attribute [rw] mutation_key
+ # @return [::Google::Cloud::Spanner::V1::Mutation]
+ # Optional. Required for read-write transactions on a multiplexed session
+ # that commit mutations but do not perform any reads or queries. Clients
+ # should randomly select one of the mutations from the mutation set and send
+ # it as a part of this request.
+ # This feature is not yet supported and will result in an UNIMPLEMENTED
+ # error.
class BeginTransactionRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1019,9 +1036,17 @@
# appropriate delay time. You can specify a batching delay value between 0
# and 500 ms.
# @!attribute [rw] request_options
# @return [::Google::Cloud::Spanner::V1::RequestOptions]
# Common options for this request.
+ # @!attribute [rw] precommit_token
+ # @return [::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken]
+ # Optional. If the read-write transaction was executed on a multiplexed
+ # session, the precommit token with the highest sequence number received in
+ # this transaction attempt, should be included here. Failing to do so will
+ # result in a FailedPrecondition error.
+ # This feature is not yet supported and will result in an UNIMPLEMENTED
+ # error.
class CommitRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end