lib/google/datastore/v1/datastore_pb.rb in google-cloud-datastore-v1-0.8.0 vs lib/google/datastore/v1/datastore_pb.rb in google-cloud-datastore-v1-0.9.0

- old
+ new

@@ -22,10 +22,11 @@ end add_message "google.datastore.v1.LookupResponse" do repeated :found, :message, 1, "google.datastore.v1.EntityResult" repeated :missing, :message, 2, "google.datastore.v1.EntityResult" repeated :deferred, :message, 3, "google.datastore.v1.Key" + optional :transaction, :bytes, 5 optional :read_time, :message, 7, "google.protobuf.Timestamp" end add_message "google.datastore.v1.RunQueryRequest" do optional :project_id, :string, 8 optional :database_id, :string, 9 @@ -37,10 +38,11 @@ end end add_message "google.datastore.v1.RunQueryResponse" do optional :batch, :message, 1, "google.datastore.v1.QueryResultBatch" optional :query, :message, 2, "google.datastore.v1.Query" + optional :transaction, :bytes, 5 end add_message "google.datastore.v1.RunAggregationQueryRequest" do optional :project_id, :string, 8 optional :database_id, :string, 9 optional :partition_id, :message, 2, "google.datastore.v1.PartitionId" @@ -51,10 +53,11 @@ end end add_message "google.datastore.v1.RunAggregationQueryResponse" do optional :batch, :message, 1, "google.datastore.v1.AggregationResultBatch" optional :query, :message, 2, "google.datastore.v1.AggregationQuery" + optional :transaction, :bytes, 5 end add_message "google.datastore.v1.BeginTransactionRequest" do optional :project_id, :string, 8 optional :database_id, :string, 9 optional :transaction_options, :message, 10, "google.datastore.v1.TransactionOptions" @@ -74,10 +77,11 @@ optional :database_id, :string, 9 optional :mode, :enum, 5, "google.datastore.v1.CommitRequest.Mode" repeated :mutations, :message, 6, "google.datastore.v1.Mutation" oneof :transaction_selector do optional :transaction, :bytes, 1 + optional :single_use_transaction, :message, 10, "google.datastore.v1.TransactionOptions" end end add_enum "google.datastore.v1.CommitRequest.Mode" do value :MODE_UNSPECIFIED, 0 value :TRANSACTIONAL, 1 @@ -123,9 +127,10 @@ end add_message "google.datastore.v1.ReadOptions" do oneof :consistency_type do optional :read_consistency, :enum, 1, "google.datastore.v1.ReadOptions.ReadConsistency" optional :transaction, :bytes, 2 + optional :new_transaction, :message, 3, "google.datastore.v1.TransactionOptions" optional :read_time, :message, 4, "google.protobuf.Timestamp" end end add_enum "google.datastore.v1.ReadOptions.ReadConsistency" do value :READ_CONSISTENCY_UNSPECIFIED, 0