|
|
|
@ -116,6 +116,12 @@ message LookupRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// The options for this lookup request. |
|
|
|
|
ReadOptions read_options = 1; |
|
|
|
|
|
|
|
|
@ -149,6 +155,12 @@ message RunQueryRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// Entities are partitioned into subsets, identified by a partition ID. |
|
|
|
|
// Queries are scoped to a single partition. |
|
|
|
|
// This partition ID is normalized with the standard default context |
|
|
|
@ -163,7 +175,7 @@ message RunQueryRequest { |
|
|
|
|
// The query to run. |
|
|
|
|
Query query = 3; |
|
|
|
|
|
|
|
|
|
// The GQL query to run. |
|
|
|
|
// The GQL query to run. This query must be a non-aggregation query. |
|
|
|
|
GqlQuery gql_query = 7; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -182,6 +194,12 @@ message BeginTransactionRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// Options for a new transaction. |
|
|
|
|
TransactionOptions transaction_options = 10; |
|
|
|
|
} |
|
|
|
@ -197,6 +215,12 @@ message RollbackRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// Required. The transaction identifier, returned by a call to |
|
|
|
|
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
|
|
|
|
bytes transaction = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
@ -227,6 +251,12 @@ message CommitRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// The type of commit to perform. Defaults to `TRANSACTIONAL`. |
|
|
|
|
Mode mode = 5; |
|
|
|
|
|
|
|
|
@ -273,6 +303,12 @@ message AllocateIdsRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// Required. A list of keys with incomplete key paths for which to allocate IDs. |
|
|
|
|
// No key may be reserved/read-only. |
|
|
|
|
repeated Key keys = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
@ -290,7 +326,10 @@ message ReserveIdsRequest { |
|
|
|
|
// Required. The ID of the project against which to make the request. |
|
|
|
|
string project_id = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// If not empty, the ID of the database against which to make the request. |
|
|
|
|
// The ID of the database against which to make the request. |
|
|
|
|
// |
|
|
|
|
// '(default)' is not allowed; please use empty string '' to refer the default |
|
|
|
|
// database. |
|
|
|
|
string database_id = 9; |
|
|
|
|
|
|
|
|
|
// Required. A list of keys with complete key paths whose numeric IDs should not be |
|
|
|
|