proto_docs/google/spanner/v1/result_set.rb in google-cloud-spanner-v1-1.1.0 vs proto_docs/google/spanner/v1/result_set.rb in google-cloud-spanner-v1-1.2.0
- old
+ new
@@ -42,10 +42,19 @@
# DML statements always produce stats containing the number of rows
# modified, unless executed using the
# {::Google::Cloud::Spanner::V1::ExecuteSqlRequest::QueryMode::PLAN ExecuteSqlRequest.QueryMode.PLAN} {::Google::Cloud::Spanner::V1::ExecuteSqlRequest#query_mode ExecuteSqlRequest.query_mode}.
# Other fields may or may not be populated, based on the
# {::Google::Cloud::Spanner::V1::ExecuteSqlRequest#query_mode ExecuteSqlRequest.query_mode}.
+ # @!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 ResultSet
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -149,9 +158,18 @@
# streaming result set. These can be requested by setting
# {::Google::Cloud::Spanner::V1::ExecuteSqlRequest#query_mode ExecuteSqlRequest.query_mode} and are sent
# only once with the last response in the stream.
# This field will also be present in the last response for DML
# statements.
+ # @!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 PartialResultSet
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end