Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: discovery/googleapis/datastore__v1.json

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/dataproc__v1.json ('k') | discovery/googleapis/deploymentmanager__v2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/datastore": { 5 "https://www.googleapis.com/auth/datastore": {
6 "description": "View and manage your Google Cloud Datastore data" 6 "description": "View and manage your Google Cloud Datastore data"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 } 10 }
11 } 11 }
12 } 12 }
13 }, 13 },
14 "basePath": "", 14 "basePath": "",
15 "baseUrl": "https://datastore.googleapis.com/", 15 "baseUrl": "https://datastore.googleapis.com/",
16 "batchPath": "batch", 16 "batchPath": "batch",
17 "description": "Accesses the schemaless NoSQL database to provide fully mana ged, robust, scalable storage for your application.\n", 17 "description": "Accesses the schemaless NoSQL database to provide fully mana ged, robust, scalable storage for your application.\n",
18 "discoveryVersion": "v1", 18 "discoveryVersion": "v1",
19 "documentationLink": "https://cloud.google.com/datastore/", 19 "documentationLink": "https://cloud.google.com/datastore/",
20 "icons": { 20 "icons": {
21 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x16": "http://www.google.com/images/icons/product/search-16.gif",
22 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 "x32": "http://www.google.com/images/icons/product/search-32.gif"
23 }, 23 },
24 "id": "datastore:v1", 24 "id": "datastore:v1",
25 "kind": "discovery#restDescription", 25 "kind": "discovery#restDescription",
26 "name": "datastore", 26 "name": "datastore",
27 "ownerDomain": "google.com", 27 "ownerDomain": "google.com",
28 "ownerName": "Google", 28 "ownerName": "Google",
29 "parameters": { 29 "parameters": {
30 "oauth_token": {
31 "description": "OAuth 2.0 token for the current user.",
32 "location": "query",
33 "type": "string"
34 },
35 "bearer_token": {
36 "description": "OAuth bearer token.",
37 "location": "query",
38 "type": "string"
39 },
40 "upload_protocol": {
41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
42 "location": "query",
43 "type": "string"
44 },
45 "prettyPrint": {
46 "default": "true",
47 "description": "Returns response with indentations and line breaks." ,
48 "location": "query",
49 "type": "boolean"
50 },
51 "fields": {
52 "description": "Selector specifying which fields to include in a par tial response.",
53 "location": "query",
54 "type": "string"
55 },
56 "uploadType": {
57 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
58 "location": "query",
59 "type": "string"
60 },
61 "callback": { 30 "callback": {
62 "description": "JSONP", 31 "description": "JSONP",
63 "location": "query", 32 "location": "query",
64 "type": "string" 33 "type": "string"
65 }, 34 },
66 "$.xgafv": { 35 "$.xgafv": {
67 "description": "V1 error format.", 36 "description": "V1 error format.",
68 "enum": [ 37 "enum": [
69 "1", 38 "1",
70 "2" 39 "2"
(...skipping 14 matching lines...) Expand all
85 "proto" 54 "proto"
86 ], 55 ],
87 "enumDescriptions": [ 56 "enumDescriptions": [
88 "Responses with Content-Type of application/json", 57 "Responses with Content-Type of application/json",
89 "Media download with context-dependent Content-Type", 58 "Media download with context-dependent Content-Type",
90 "Responses with Content-Type of application/x-protobuf" 59 "Responses with Content-Type of application/x-protobuf"
91 ], 60 ],
92 "location": "query", 61 "location": "query",
93 "type": "string" 62 "type": "string"
94 }, 63 },
64 "access_token": {
65 "description": "OAuth access token.",
66 "location": "query",
67 "type": "string"
68 },
95 "key": { 69 "key": {
96 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 70 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
97 "location": "query", 71 "location": "query",
98 "type": "string" 72 "type": "string"
99 }, 73 },
100 "access_token": {
101 "description": "OAuth access token.",
102 "location": "query",
103 "type": "string"
104 },
105 "quotaUser": { 74 "quotaUser": {
106 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 75 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
107 "location": "query", 76 "location": "query",
108 "type": "string" 77 "type": "string"
109 }, 78 },
110 "pp": { 79 "pp": {
111 "default": "true", 80 "default": "true",
112 "description": "Pretty-print response.", 81 "description": "Pretty-print response.",
113 "location": "query", 82 "location": "query",
114 "type": "boolean" 83 "type": "boolean"
84 },
85 "oauth_token": {
86 "description": "OAuth 2.0 token for the current user.",
87 "location": "query",
88 "type": "string"
89 },
90 "bearer_token": {
91 "description": "OAuth bearer token.",
92 "location": "query",
93 "type": "string"
94 },
95 "upload_protocol": {
96 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
97 "location": "query",
98 "type": "string"
99 },
100 "prettyPrint": {
101 "default": "true",
102 "description": "Returns response with indentations and line breaks." ,
103 "location": "query",
104 "type": "boolean"
105 },
106 "uploadType": {
107 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
108 "location": "query",
109 "type": "string"
110 },
111 "fields": {
112 "description": "Selector specifying which fields to include in a par tial response.",
113 "location": "query",
114 "type": "string"
115 } 115 }
116 }, 116 },
117 "protocol": "rest", 117 "protocol": "rest",
118 "resources": { 118 "resources": {
119 "projects": { 119 "projects": {
120 "methods": { 120 "methods": {
121 "runQuery": { 121 "allocateIds": {
122 "description": "Queries for entities.", 122 "description": "Allocates IDs for the given keys, which is u seful for referencing an entity\nbefore it is inserted.",
123 "httpMethod": "POST", 123 "httpMethod": "POST",
124 "id": "datastore.projects.runQuery", 124 "id": "datastore.projects.allocateIds",
125 "parameterOrder": [ 125 "parameterOrder": [
126 "projectId" 126 "projectId"
127 ], 127 ],
128 "parameters": { 128 "parameters": {
129 "projectId": { 129 "projectId": {
130 "description": "The ID of the project against which to make the request.", 130 "description": "The ID of the project against which to make the request.",
131 "location": "path", 131 "location": "path",
132 "required": true, 132 "required": true,
133 "type": "string" 133 "type": "string"
134 } 134 }
135 }, 135 },
136 "path": "v1/projects/{projectId}:runQuery", 136 "path": "v1/projects/{projectId}:allocateIds",
137 "request": { 137 "request": {
138 "$ref": "RunQueryRequest" 138 "$ref": "AllocateIdsRequest"
139 }, 139 },
140 "response": { 140 "response": {
141 "$ref": "RunQueryResponse" 141 "$ref": "AllocateIdsResponse"
142 }, 142 },
143 "scopes": [ 143 "scopes": [
144 "https://www.googleapis.com/auth/cloud-platform", 144 "https://www.googleapis.com/auth/cloud-platform",
145 "https://www.googleapis.com/auth/datastore" 145 "https://www.googleapis.com/auth/datastore"
146 ] 146 ]
147 }, 147 },
148 "rollback": { 148 "commit": {
149 "description": "Rolls back a transaction.", 149 "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.",
150 "httpMethod": "POST", 150 "httpMethod": "POST",
151 "id": "datastore.projects.rollback", 151 "id": "datastore.projects.commit",
152 "parameterOrder": [ 152 "parameterOrder": [
153 "projectId" 153 "projectId"
154 ], 154 ],
155 "parameters": { 155 "parameters": {
156 "projectId": { 156 "projectId": {
157 "description": "The ID of the project against which to make the request.", 157 "description": "The ID of the project against which to make the request.",
158 "location": "path", 158 "location": "path",
159 "required": true, 159 "required": true,
160 "type": "string" 160 "type": "string"
161 } 161 }
162 }, 162 },
163 "path": "v1/projects/{projectId}:rollback", 163 "path": "v1/projects/{projectId}:commit",
164 "request": { 164 "request": {
165 "$ref": "RollbackRequest" 165 "$ref": "CommitRequest"
166 }, 166 },
167 "response": { 167 "response": {
168 "$ref": "RollbackResponse" 168 "$ref": "CommitResponse"
169 }, 169 },
170 "scopes": [ 170 "scopes": [
171 "https://www.googleapis.com/auth/cloud-platform", 171 "https://www.googleapis.com/auth/cloud-platform",
172 "https://www.googleapis.com/auth/datastore" 172 "https://www.googleapis.com/auth/datastore"
173 ] 173 ]
174 }, 174 },
175 "lookup": { 175 "beginTransaction": {
176 "description": "Looks up entities by key.", 176 "description": "Begins a new transaction.",
177 "httpMethod": "POST", 177 "httpMethod": "POST",
178 "id": "datastore.projects.lookup", 178 "id": "datastore.projects.beginTransaction",
179 "parameterOrder": [ 179 "parameterOrder": [
180 "projectId" 180 "projectId"
181 ], 181 ],
182 "parameters": { 182 "parameters": {
183 "projectId": { 183 "projectId": {
184 "description": "The ID of the project against which to make the request.", 184 "description": "The ID of the project against which to make the request.",
185 "location": "path", 185 "location": "path",
186 "required": true, 186 "required": true,
187 "type": "string" 187 "type": "string"
188 } 188 }
189 }, 189 },
190 "path": "v1/projects/{projectId}:lookup", 190 "path": "v1/projects/{projectId}:beginTransaction",
191 "request": { 191 "request": {
192 "$ref": "LookupRequest" 192 "$ref": "BeginTransactionRequest"
193 }, 193 },
194 "response": { 194 "response": {
195 "$ref": "LookupResponse" 195 "$ref": "BeginTransactionResponse"
196 }, 196 },
197 "scopes": [ 197 "scopes": [
198 "https://www.googleapis.com/auth/cloud-platform", 198 "https://www.googleapis.com/auth/cloud-platform",
199 "https://www.googleapis.com/auth/datastore" 199 "https://www.googleapis.com/auth/datastore"
200 ] 200 ]
201 }, 201 },
202 "allocateIds": { 202 "runQuery": {
203 "description": "Allocates IDs for the given keys, which is u seful for referencing an entity\nbefore it is inserted.", 203 "description": "Queries for entities.",
204 "httpMethod": "POST", 204 "httpMethod": "POST",
205 "id": "datastore.projects.allocateIds", 205 "id": "datastore.projects.runQuery",
206 "parameterOrder": [ 206 "parameterOrder": [
207 "projectId" 207 "projectId"
208 ], 208 ],
209 "parameters": { 209 "parameters": {
210 "projectId": { 210 "projectId": {
211 "description": "The ID of the project against which to make the request.", 211 "description": "The ID of the project against which to make the request.",
212 "location": "path", 212 "location": "path",
213 "required": true, 213 "required": true,
214 "type": "string" 214 "type": "string"
215 } 215 }
216 }, 216 },
217 "path": "v1/projects/{projectId}:allocateIds", 217 "path": "v1/projects/{projectId}:runQuery",
218 "request": { 218 "request": {
219 "$ref": "AllocateIdsRequest" 219 "$ref": "RunQueryRequest"
220 }, 220 },
221 "response": { 221 "response": {
222 "$ref": "AllocateIdsResponse" 222 "$ref": "RunQueryResponse"
223 }, 223 },
224 "scopes": [ 224 "scopes": [
225 "https://www.googleapis.com/auth/cloud-platform", 225 "https://www.googleapis.com/auth/cloud-platform",
226 "https://www.googleapis.com/auth/datastore" 226 "https://www.googleapis.com/auth/datastore"
227 ] 227 ]
228 }, 228 },
229 "commit": { 229 "rollback": {
230 "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.", 230 "description": "Rolls back a transaction.",
231 "httpMethod": "POST", 231 "httpMethod": "POST",
232 "id": "datastore.projects.commit", 232 "id": "datastore.projects.rollback",
233 "parameterOrder": [ 233 "parameterOrder": [
234 "projectId" 234 "projectId"
235 ], 235 ],
236 "parameters": { 236 "parameters": {
237 "projectId": { 237 "projectId": {
238 "description": "The ID of the project against which to make the request.", 238 "description": "The ID of the project against which to make the request.",
239 "location": "path", 239 "location": "path",
240 "required": true, 240 "required": true,
241 "type": "string" 241 "type": "string"
242 } 242 }
243 }, 243 },
244 "path": "v1/projects/{projectId}:commit", 244 "path": "v1/projects/{projectId}:rollback",
245 "request": { 245 "request": {
246 "$ref": "CommitRequest" 246 "$ref": "RollbackRequest"
247 }, 247 },
248 "response": { 248 "response": {
249 "$ref": "CommitResponse" 249 "$ref": "RollbackResponse"
250 }, 250 },
251 "scopes": [ 251 "scopes": [
252 "https://www.googleapis.com/auth/cloud-platform", 252 "https://www.googleapis.com/auth/cloud-platform",
253 "https://www.googleapis.com/auth/datastore" 253 "https://www.googleapis.com/auth/datastore"
254 ] 254 ]
255 }, 255 },
256 "beginTransaction": { 256 "lookup": {
257 "description": "Begins a new transaction.", 257 "description": "Looks up entities by key.",
258 "httpMethod": "POST", 258 "httpMethod": "POST",
259 "id": "datastore.projects.beginTransaction", 259 "id": "datastore.projects.lookup",
260 "parameterOrder": [ 260 "parameterOrder": [
261 "projectId" 261 "projectId"
262 ], 262 ],
263 "parameters": { 263 "parameters": {
264 "projectId": { 264 "projectId": {
265 "description": "The ID of the project against which to make the request.", 265 "description": "The ID of the project against which to make the request.",
266 "location": "path", 266 "location": "path",
267 "required": true, 267 "required": true,
268 "type": "string" 268 "type": "string"
269 } 269 }
270 }, 270 },
271 "path": "v1/projects/{projectId}:beginTransaction", 271 "path": "v1/projects/{projectId}:lookup",
272 "request": { 272 "request": {
273 "$ref": "BeginTransactionRequest" 273 "$ref": "LookupRequest"
274 }, 274 },
275 "response": { 275 "response": {
276 "$ref": "BeginTransactionResponse" 276 "$ref": "LookupResponse"
277 }, 277 },
278 "scopes": [ 278 "scopes": [
279 "https://www.googleapis.com/auth/cloud-platform", 279 "https://www.googleapis.com/auth/cloud-platform",
280 "https://www.googleapis.com/auth/datastore" 280 "https://www.googleapis.com/auth/datastore"
281 ] 281 ]
282 } 282 }
283 }, 283 },
284 "resources": { 284 "resources": {
285 "operations": { 285 "operations": {
286 "methods": { 286 "methods": {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 "scopes": [ 398 "scopes": [
399 "https://www.googleapis.com/auth/cloud-platform" , 399 "https://www.googleapis.com/auth/cloud-platform" ,
400 "https://www.googleapis.com/auth/datastore" 400 "https://www.googleapis.com/auth/datastore"
401 ] 401 ]
402 } 402 }
403 } 403 }
404 } 404 }
405 } 405 }
406 } 406 }
407 }, 407 },
408 "revision": "20170811", 408 "revision": "20170821",
409 "rootUrl": "https://datastore.googleapis.com/", 409 "rootUrl": "https://datastore.googleapis.com/",
410 "schemas": { 410 "schemas": {
411 "Mutation": {
412 "description": "A mutation to apply to an entity.",
413 "id": "Mutation",
414 "properties": {
415 "delete": {
416 "$ref": "Key",
417 "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be res erved/read-only."
418 },
419 "baseVersion": {
420 "description": "The version of the entity that this mutation is being applied to. If this\ndoes not match the current version on the server, the mutation conflicts.",
421 "format": "int64",
422 "type": "string"
423 },
424 "insert": {
425 "$ref": "Entity",
426 "description": "The entity to insert. The entity must not al ready exist.\nThe entity key's final path element may be incomplete."
427 },
428 "update": {
429 "$ref": "Entity",
430 "description": "The entity to update. The entity must alread y exist.\nMust have a complete key path."
431 },
432 "upsert": {
433 "$ref": "Entity",
434 "description": "The entity to upsert. The entity may or may not already exist.\nThe entity key's final path element may be incomplete."
435 }
436 },
437 "type": "object"
438 },
439 "ReadOptions": {
440 "description": "The options shared by read requests.",
441 "id": "ReadOptions",
442 "properties": {
443 "transaction": {
444 "description": "The identifier of the transaction in which t o read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTrans action.",
445 "format": "byte",
446 "type": "string"
447 },
448 "readConsistency": {
449 "description": "The non-transactional read consistency to us e.\nCannot be set to `STRONG` for global queries.",
450 "enum": [
451 "READ_CONSISTENCY_UNSPECIFIED",
452 "STRONG",
453 "EVENTUAL"
454 ],
455 "enumDescriptions": [
456 "Unspecified. This value must not be used.",
457 "Strong consistency.",
458 "Eventual consistency."
459 ],
460 "type": "string"
461 }
462 },
463 "type": "object"
464 },
465 "RollbackResponse": {
466 "description": "The response for Datastore.Rollback.\n(an empty mess age).",
467 "id": "RollbackResponse",
468 "properties": {},
469 "type": "object"
470 },
471 "GoogleDatastoreAdminV1beta1ExportEntitiesResponse": {
472 "description": "The response for\ngoogle.datastore.admin.v1beta1.Dat astoreAdmin.ExportEntities.",
473 "id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse",
474 "properties": {
475 "outputUrl": {
476 "description": "Location of the output metadata file. This c an be used to begin an import\ninto Cloud Datastore (this project or another pro ject). See\ngoogle.datastore.admin.v1beta1.ImportEntitiesRequest.input_url.\nOnl y present if the operation completed successfully.",
477 "type": "string"
478 }
479 },
480 "type": "object"
481 },
482 "MutationResult": {
483 "description": "The result of applying a mutation.",
484 "id": "MutationResult",
485 "properties": {
486 "conflictDetected": {
487 "description": "Whether a conflict was detected for this mut ation. Always false when a\nconflict detection strategy field is not set in the mutation.",
488 "type": "boolean"
489 },
490 "key": {
491 "$ref": "Key",
492 "description": "The automatically allocated key.\nSet only w hen the mutation allocated a key."
493 },
494 "version": {
495 "description": "The version of the entity on the server afte r processing the mutation. If\nthe mutation doesn't change anything on the serve r, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.",
496 "format": "int64",
497 "type": "string"
498 }
499 },
500 "type": "object"
501 },
502 "GqlQuery": {
503 "description": "A [GQL query](https://cloud.google.com/datastore/doc s/apis/gql/gql_reference).",
504 "id": "GqlQuery",
505 "properties": {
506 "queryString": {
507 "description": "A string of the format described\n[here](htt ps://cloud.google.com/datastore/docs/apis/gql/gql_reference).",
508 "type": "string"
509 },
510 "positionalBindings": {
511 "description": "Numbered binding site @1 references the firs t numbered parameter,\neffectively using 1-based indexing, rather than the usual 0.\n\nFor each binding site numbered i in `query_string`, there must be an i-th \nnumbered parameter. The inverse must also be true.",
512 "items": {
513 "$ref": "GqlQueryParameter"
514 },
515 "type": "array"
516 },
517 "namedBindings": {
518 "additionalProperties": {
519 "$ref": "GqlQueryParameter"
520 },
521 "description": "For each non-reserved named binding site in the query string, there must be\na named parameter with that name, but not neces sarily the inverse.\n\nKey must match regex `A-Za-z_$*`, must not match regex\n` __.*__`, and must not be `\"\"`.",
522 "type": "object"
523 },
524 "allowLiterals": {
525 "description": "When false, the query string must not contai n any literals and instead must\nbind all values. For example,\n`SELECT * FROM K ind WHERE a = 'string literal'` is not allowed, while\n`SELECT * FROM Kind WHERE a = @value` is.",
526 "type": "boolean"
527 }
528 },
529 "type": "object"
530 },
531 "Filter": {
532 "description": "A holder for any type of filter.",
533 "id": "Filter",
534 "properties": {
535 "compositeFilter": {
536 "$ref": "CompositeFilter",
537 "description": "A composite filter."
538 },
539 "propertyFilter": {
540 "$ref": "PropertyFilter",
541 "description": "A filter on a property."
542 }
543 },
544 "type": "object"
545 },
546 "RollbackRequest": {
547 "description": "The request for Datastore.Rollback.",
548 "id": "RollbackRequest",
549 "properties": {
550 "transaction": {
551 "description": "The transaction identifier, returned by a ca ll to\nDatastore.BeginTransaction.",
552 "format": "byte",
553 "type": "string"
554 }
555 },
556 "type": "object"
557 },
558 "RunQueryRequest": {
559 "description": "The request for Datastore.RunQuery.",
560 "id": "RunQueryRequest",
561 "properties": {
562 "gqlQuery": {
563 "$ref": "GqlQuery",
564 "description": "The GQL query to run."
565 },
566 "partitionId": {
567 "$ref": "PartitionId",
568 "description": "Entities are partitioned into subsets, ident ified by a partition ID.\nQueries are scoped to a single partition.\nThis partit ion ID is normalized with the standard default context\npartition ID."
569 },
570 "readOptions": {
571 "$ref": "ReadOptions",
572 "description": "The options for this query."
573 },
574 "query": {
575 "$ref": "Query",
576 "description": "The query to run."
577 }
578 },
579 "type": "object"
580 },
581 "Empty": {
582 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
583 "id": "Empty",
584 "properties": {},
585 "type": "object"
586 },
587 "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": {
588 "description": "Metadata for ExportEntities operations.",
589 "id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata",
590 "properties": {
591 "common": {
592 "$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
593 "description": "Metadata common to all Datastore Admin opera tions."
594 },
595 "progressBytes": {
596 "$ref": "GoogleDatastoreAdminV1beta1Progress",
597 "description": "An estimate of the number of bytes processed ."
598 },
599 "outputUrlPrefix": {
600 "description": "Location for the export metadata and data fi les. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportE ntitiesRequest.output_url_prefix\nfield. The final output location is provided i n\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
601 "type": "string"
602 },
603 "entityFilter": {
604 "$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
605 "description": "Description of which entities are being expo rted."
606 },
607 "progressEntities": {
608 "$ref": "GoogleDatastoreAdminV1beta1Progress",
609 "description": "An estimate of the number of entities proces sed."
610 }
611 },
612 "type": "object"
613 },
614 "TransactionOptions": {
615 "description": "Options for beginning a new transaction.\n\nTransact ions can be created explicitly with calls to\nDatastore.BeginTransaction or impl icitly by setting\nReadOptions.new_transaction in read requests.",
616 "id": "TransactionOptions",
617 "properties": {
618 "readOnly": {
619 "$ref": "ReadOnly",
620 "description": "The transaction should only allow reads."
621 },
622 "readWrite": {
623 "$ref": "ReadWrite",
624 "description": "The transaction should allow both reads and writes."
625 }
626 },
627 "type": "object"
628 },
629 "CompositeFilter": {
630 "description": "A filter that merges multiple other filters using th e given operator.",
631 "id": "CompositeFilter",
632 "properties": {
633 "op": {
634 "description": "The operator for combining multiple filters. ",
635 "enum": [
636 "OPERATOR_UNSPECIFIED",
637 "AND"
638 ],
639 "enumDescriptions": [
640 "Unspecified. This value must not be used.",
641 "The results are required to satisfy each of the combine d filters."
642 ],
643 "type": "string"
644 },
645 "filters": {
646 "description": "The list of filters to combine.\nMust contai n at least one filter.",
647 "items": {
648 "$ref": "Filter"
649 },
650 "type": "array"
651 }
652 },
653 "type": "object"
654 },
655 "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": {
656 "description": "Metadata for ImportEntities operations.",
657 "id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata",
658 "properties": {
659 "common": {
660 "$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
661 "description": "Metadata common to all Datastore Admin opera tions."
662 },
663 "inputUrl": {
664 "description": "The location of the import metadata file. Th is will be the same value as\nthe google.datastore.admin.v1beta1.ExportEntitiesR esponse.output_url\nfield.",
665 "type": "string"
666 },
667 "progressBytes": {
668 "$ref": "GoogleDatastoreAdminV1beta1Progress",
669 "description": "An estimate of the number of bytes processed ."
670 },
671 "entityFilter": {
672 "$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
673 "description": "Description of which entities are being impo rted."
674 },
675 "progressEntities": {
676 "$ref": "GoogleDatastoreAdminV1beta1Progress",
677 "description": "An estimate of the number of entities proces sed."
678 }
679 },
680 "type": "object"
681 },
682 "AllocateIdsResponse": {
683 "description": "The response for Datastore.AllocateIds.",
684 "id": "AllocateIdsResponse",
685 "properties": {
686 "keys": {
687 "description": "The keys specified in the request (in the sa me order), each with\nits key path completed with a newly allocated ID.",
688 "items": {
689 "$ref": "Key"
690 },
691 "type": "array"
692 }
693 },
694 "type": "object"
695 },
696 "Query": {
697 "description": "A query for entities.",
698 "id": "Query",
699 "properties": {
700 "filter": {
701 "$ref": "Filter",
702 "description": "The filter to apply."
703 },
704 "limit": {
705 "description": "The maximum number of results to return. App lies after all other\nconstraints. Optional.\nUnspecified is interpreted as no l imit.\nMust be >= 0 if specified.",
706 "format": "int32",
707 "type": "integer"
708 },
709 "startCursor": {
710 "description": "A starting point for the query results. Quer y cursors are\nreturned in query result batches and\n[can only be used to contin ue the same query](https://cloud.google.com/datastore/docs/concepts/queries#curs ors_limits_and_offsets).",
711 "format": "byte",
712 "type": "string"
713 },
714 "offset": {
715 "description": "The number of results to skip. Applies befor e limit, but after all other\nconstraints. Optional. Must be >= 0 if specified." ,
716 "format": "int32",
717 "type": "integer"
718 },
719 "kind": {
720 "description": "The kinds to query (if empty, returns entiti es of all kinds).\nCurrently at most 1 kind may be specified.",
721 "items": {
722 "$ref": "KindExpression"
723 },
724 "type": "array"
725 },
726 "distinctOn": {
727 "description": "The properties to make distinct. The query r esults will contain the first\nresult for each distinct combination of values fo r the given properties\n(if empty, all results are returned).",
728 "items": {
729 "$ref": "PropertyReference"
730 },
731 "type": "array"
732 },
733 "order": {
734 "description": "The order to apply to the query results (if empty, order is unspecified).",
735 "items": {
736 "$ref": "PropertyOrder"
737 },
738 "type": "array"
739 },
740 "projection": {
741 "description": "The projection to return. Defaults to return ing all properties.",
742 "items": {
743 "$ref": "Projection"
744 },
745 "type": "array"
746 },
747 "endCursor": {
748 "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit t he same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_ limits_and_offsets).",
749 "format": "byte",
750 "type": "string"
751 }
752 },
753 "type": "object"
754 },
755 "GoogleLongrunningOperation": {
756 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
757 "id": "GoogleLongrunningOperation",
758 "properties": {
759 "error": {
760 "$ref": "Status",
761 "description": "The error result of the operation in case of failure or cancellation."
762 },
763 "metadata": {
764 "additionalProperties": {
765 "description": "Properties of the object. Contains field @type with type URL.",
766 "type": "any"
767 },
768 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
769 "type": "object"
770 },
771 "done": {
772 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
773 "type": "boolean"
774 },
775 "response": {
776 "additionalProperties": {
777 "description": "Properties of the object. Contains field @type with type URL.",
778 "type": "any"
779 },
780 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
781 "type": "object"
782 },
783 "name": {
784 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
785 "type": "string"
786 }
787 },
788 "type": "object"
789 },
790 "ReadOnly": {
791 "description": "Options specific to read-only transactions.",
792 "id": "ReadOnly",
793 "properties": {},
794 "type": "object"
795 },
796 "PropertyFilter": {
797 "description": "A filter on a specific property.",
798 "id": "PropertyFilter",
799 "properties": {
800 "property": {
801 "$ref": "PropertyReference",
802 "description": "The property to filter by."
803 },
804 "op": {
805 "description": "The operator to filter by.",
806 "enum": [
807 "OPERATOR_UNSPECIFIED",
808 "LESS_THAN",
809 "LESS_THAN_OR_EQUAL",
810 "GREATER_THAN",
811 "GREATER_THAN_OR_EQUAL",
812 "EQUAL",
813 "HAS_ANCESTOR"
814 ],
815 "enumDescriptions": [
816 "Unspecified. This value must not be used.",
817 "Less than.",
818 "Less than or equal.",
819 "Greater than.",
820 "Greater than or equal.",
821 "Equal.",
822 "Has ancestor."
823 ],
824 "type": "string"
825 },
826 "value": {
827 "$ref": "Value",
828 "description": "The value to compare the property to."
829 }
830 },
831 "type": "object"
832 },
833 "EntityResult": {
834 "description": "The result of fetching an entity from Datastore.",
835 "id": "EntityResult",
836 "properties": {
837 "cursor": {
838 "description": "A cursor that points to the position after t he result entity.\nSet only when the `EntityResult` is part of a `QueryResultBat ch` message.",
839 "format": "byte",
840 "type": "string"
841 },
842 "version": {
843 "description": "The version of the entity, a strictly positi ve number that monotonically\nincreases with changes to the entity.\n\nThis fiel d is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse` , this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.",
844 "format": "int64",
845 "type": "string"
846 },
847 "entity": {
848 "$ref": "Entity",
849 "description": "The resulting entity."
850 }
851 },
852 "type": "object"
853 },
854 "Value": {
855 "description": "A message that can hold any of the supported value t ypes and associated\nmetadata.",
856 "id": "Value",
857 "properties": {
858 "stringValue": {
859 "description": "A UTF-8 encoded string value.\nWhen `exclude _from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwis e, may be set to at least 1,000,000 bytes.",
860 "type": "string"
861 },
862 "excludeFromIndexes": {
863 "description": "If the value should be excluded from all ind exes including those defined\nexplicitly.",
864 "type": "boolean"
865 },
866 "doubleValue": {
867 "description": "A double value.",
868 "format": "double",
869 "type": "number"
870 },
871 "timestampValue": {
872 "description": "A timestamp value.\nWhen stored in the Datas tore, precise only to microseconds;\nany additional precision is rounded down.",
873 "format": "google-datetime",
874 "type": "string"
875 },
876 "nullValue": {
877 "description": "A null value.",
878 "enum": [
879 "NULL_VALUE"
880 ],
881 "enumDescriptions": [
882 "Null value."
883 ],
884 "type": "string"
885 },
886 "booleanValue": {
887 "description": "A boolean value.",
888 "type": "boolean"
889 },
890 "blobValue": {
891 "description": "A blob value.\nMay have at most 1,000,000 by tes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSO N requests, must be base64-encoded.",
892 "format": "byte",
893 "type": "string"
894 },
895 "meaning": {
896 "description": "The `meaning` field should only be populated for backwards compatibility.",
897 "format": "int32",
898 "type": "integer"
899 },
900 "arrayValue": {
901 "$ref": "ArrayValue",
902 "description": "An array value.\nCannot contain another arra y value.\nA `Value` instance that sets field `array_value` must not set fields\n `meaning` or `exclude_from_indexes`."
903 },
904 "entityValue": {
905 "$ref": "Entity",
906 "description": "An entity value.\n\n- May have no key.\n- Ma y have a key with an incomplete key path.\n- May have a reserved/read-only key."
907 },
908 "geoPointValue": {
909 "$ref": "LatLng",
910 "description": "A geo point value representing a point on th e surface of Earth."
911 },
912 "keyValue": {
913 "$ref": "Key",
914 "description": "A key value."
915 },
916 "integerValue": {
917 "description": "An integer value.",
918 "format": "int64",
919 "type": "string"
920 }
921 },
922 "type": "object"
923 },
924 "CommitResponse": {
925 "description": "The response for Datastore.Commit.",
926 "id": "CommitResponse",
927 "properties": {
928 "indexUpdates": {
929 "description": "The number of index entries updated during t he commit, or zero if none were\nupdated.",
930 "format": "int32",
931 "type": "integer"
932 },
933 "mutationResults": {
934 "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request.",
935 "items": {
936 "$ref": "MutationResult"
937 },
938 "type": "array"
939 }
940 },
941 "type": "object"
942 },
943 "PartitionId": {
944 "description": "A partition ID identifies a grouping of entities. Th e grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n - Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\ nForeign partition IDs (in which the project ID does\nnot match the context proj ect ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.",
945 "id": "PartitionId",
946 "properties": {
947 "namespaceId": {
948 "description": "If not empty, the ID of the namespace to whi ch the entities belong.",
949 "type": "string"
950 },
951 "projectId": {
952 "description": "The ID of the project to which the entities belong.",
953 "type": "string"
954 }
955 },
956 "type": "object"
957 },
958 "Entity": {
959 "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.",
960 "id": "Entity",
961 "properties": {
962 "key": {
963 "$ref": "Key",
964 "description": "The entity's key.\n\nAn entity must have a k ey, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key."
965 },
966 "properties": {
967 "additionalProperties": {
968 "$ref": "Value"
969 },
970 "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserv ed property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.",
971 "type": "object"
972 }
973 },
974 "type": "object"
975 },
976 "ReadWrite": {
977 "description": "Options specific to read / write transactions.",
978 "id": "ReadWrite",
979 "properties": {
980 "previousTransaction": {
981 "description": "The transaction identifier of the transactio n being retried.",
982 "format": "byte",
983 "type": "string"
984 }
985 },
986 "type": "object"
987 },
988 "GoogleDatastoreAdminV1beta1Progress": {
989 "description": "Measures the progress of a particular metric.",
990 "id": "GoogleDatastoreAdminV1beta1Progress",
991 "properties": {
992 "workEstimated": {
993 "description": "An estimate of how much work needs to be per formed. May be zero if the\nwork estimate is unavailable.",
994 "format": "int64",
995 "type": "string"
996 },
997 "workCompleted": {
998 "description": "Note that this may be greater than work_esti mated.",
999 "format": "int64",
1000 "type": "string"
1001 }
1002 },
1003 "type": "object"
1004 },
1005 "LookupRequest": {
1006 "description": "The request for Datastore.Lookup.",
1007 "id": "LookupRequest",
1008 "properties": {
1009 "readOptions": {
1010 "$ref": "ReadOptions",
1011 "description": "The options for this lookup request."
1012 },
1013 "keys": {
1014 "description": "Keys of entities to look up.",
1015 "items": {
1016 "$ref": "Key"
1017 },
1018 "type": "array"
1019 }
1020 },
1021 "type": "object"
1022 },
1023 "QueryResultBatch": {
1024 "description": "A batch of results produced by a query.",
1025 "id": "QueryResultBatch",
1026 "properties": {
1027 "moreResults": {
1028 "description": "The state of the query after the current bat ch.",
1029 "enum": [
1030 "MORE_RESULTS_TYPE_UNSPECIFIED",
1031 "NOT_FINISHED",
1032 "MORE_RESULTS_AFTER_LIMIT",
1033 "MORE_RESULTS_AFTER_CURSOR",
1034 "NO_MORE_RESULTS"
1035 ],
1036 "enumDescriptions": [
1037 "Unspecified. This value is never used.",
1038 "There may be additional batches to fetch from this quer y.",
1039 "The query is finished, but there may be more results af ter the limit.",
1040 "The query is finished, but there may be more results af ter the end\ncursor.",
1041 "The query is finished, and there are no more results."
1042 ],
1043 "type": "string"
1044 },
1045 "endCursor": {
1046 "description": "A cursor that points to the position after t he last result in the batch.",
1047 "format": "byte",
1048 "type": "string"
1049 },
1050 "snapshotVersion": {
1051 "description": "The version number of the snapshot this batc h was returned from.\nThis applies to the range of results from the query's `sta rt_cursor` (or\nthe beginning of the query if no cursor was given) to this batch 's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, sub sequent query result batches for the same query\ncan have a greater snapshot ver sion number. Each batch's snapshot version\nis valid for all preceding batches.\ nThe value will be zero for eventually consistent queries.",
1052 "format": "int64",
1053 "type": "string"
1054 },
1055 "skippedCursor": {
1056 "description": "A cursor that points to the position after t he last skipped result.\nWill be set when `skipped_results` != 0.",
1057 "format": "byte",
1058 "type": "string"
1059 },
1060 "skippedResults": {
1061 "description": "The number of results skipped, typically bec ause of an offset.",
1062 "format": "int32",
1063 "type": "integer"
1064 },
1065 "entityResultType": {
1066 "description": "The result type for every entity in `entity_ results`.",
1067 "enum": [
1068 "RESULT_TYPE_UNSPECIFIED",
1069 "FULL",
1070 "PROJECTION",
1071 "KEY_ONLY"
1072 ],
1073 "enumDescriptions": [
1074 "Unspecified. This value is never used.",
1075 "The key and properties.",
1076 "A projected subset of properties. The entity may have n o key.",
1077 "Only the key."
1078 ],
1079 "type": "string"
1080 },
1081 "entityResults": {
1082 "description": "The results for this batch.",
1083 "items": {
1084 "$ref": "EntityResult"
1085 },
1086 "type": "array"
1087 }
1088 },
1089 "type": "object"
1090 },
1091 "PathElement": {
1092 "description": "A (kind, ID/name) pair used to construct a key path. \n\nIf either name or ID is set, the element is complete.\nIf neither is set, th e element is incomplete.",
1093 "id": "PathElement",
1094 "properties": {
1095 "name": {
1096 "description": "The name of the entity.\nA name matching reg ex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
1097 "type": "string"
1098 },
1099 "kind": {
1100 "description": "The kind of the entity.\nA kind matching reg ex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
1101 "type": "string"
1102 },
1103 "id": {
1104 "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported i n the future.",
1105 "format": "int64",
1106 "type": "string"
1107 }
1108 },
1109 "type": "object"
1110 },
1111 "Status": {
1112 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1113 "id": "Status",
1114 "properties": {
1115 "code": {
1116 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1117 "format": "int32",
1118 "type": "integer"
1119 },
1120 "message": {
1121 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1122 "type": "string"
1123 },
1124 "details": {
1125 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
1126 "items": {
1127 "additionalProperties": {
1128 "description": "Properties of the object. Contains f ield @type with type URL.",
1129 "type": "any"
1130 },
1131 "type": "object"
1132 },
1133 "type": "array"
1134 }
1135 },
1136 "type": "object"
1137 },
1138 "GqlQueryParameter": {
1139 "description": "A binding parameter for a GQL query.",
1140 "id": "GqlQueryParameter",
1141 "properties": {
1142 "cursor": {
1143 "description": "A query cursor. Query cursors are returned i n query\nresult batches.",
1144 "format": "byte",
1145 "type": "string"
1146 },
1147 "value": {
1148 "$ref": "Value",
1149 "description": "A value parameter."
1150 }
1151 },
1152 "type": "object"
1153 },
1154 "GoogleLongrunningListOperationsResponse": { 411 "GoogleLongrunningListOperationsResponse": {
1155 "description": "The response message for Operations.ListOperations." , 412 "description": "The response message for Operations.ListOperations." ,
1156 "id": "GoogleLongrunningListOperationsResponse", 413 "id": "GoogleLongrunningListOperationsResponse",
1157 "properties": { 414 "properties": {
1158 "operations": { 415 "operations": {
1159 "description": "A list of operations that matches the specif ied filter in the request.", 416 "description": "A list of operations that matches the specif ied filter in the request.",
1160 "items": { 417 "items": {
1161 "$ref": "GoogleLongrunningOperation" 418 "$ref": "GoogleLongrunningOperation"
1162 }, 419 },
1163 "type": "array" 420 "type": "array"
(...skipping 10 matching lines...) Expand all
1174 "id": "BeginTransactionResponse", 431 "id": "BeginTransactionResponse",
1175 "properties": { 432 "properties": {
1176 "transaction": { 433 "transaction": {
1177 "description": "The transaction identifier (always present). ", 434 "description": "The transaction identifier (always present). ",
1178 "format": "byte", 435 "format": "byte",
1179 "type": "string" 436 "type": "string"
1180 } 437 }
1181 }, 438 },
1182 "type": "object" 439 "type": "object"
1183 }, 440 },
441 "LookupResponse": {
442 "description": "The response for Datastore.Lookup.",
443 "id": "LookupResponse",
444 "properties": {
445 "deferred": {
446 "description": "A list of keys that were not looked up due t o resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.",
447 "items": {
448 "$ref": "Key"
449 },
450 "type": "array"
451 },
452 "missing": {
453 "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation t o the order of the keys\nin the input.",
454 "items": {
455 "$ref": "EntityResult"
456 },
457 "type": "array"
458 },
459 "found": {
460 "description": "Entities found as `ResultType.FULL` entities . The order of results in this\nfield is undefined and has no relation to the or der of the keys in the\ninput.",
461 "items": {
462 "$ref": "EntityResult"
463 },
464 "type": "array"
465 }
466 },
467 "type": "object"
468 },
469 "RunQueryResponse": {
470 "description": "The response for Datastore.RunQuery.",
471 "id": "RunQueryResponse",
472 "properties": {
473 "query": {
474 "$ref": "Query",
475 "description": "The parsed form of the `GqlQuery` from the r equest, if it was set."
476 },
477 "batch": {
478 "$ref": "QueryResultBatch",
479 "description": "A batch of query results (always present)."
480 }
481 },
482 "type": "object"
483 },
1184 "AllocateIdsRequest": { 484 "AllocateIdsRequest": {
1185 "description": "The request for Datastore.AllocateIds.", 485 "description": "The request for Datastore.AllocateIds.",
1186 "id": "AllocateIdsRequest", 486 "id": "AllocateIdsRequest",
1187 "properties": { 487 "properties": {
1188 "keys": { 488 "keys": {
1189 "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.", 489 "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.",
1190 "items": { 490 "items": {
1191 "$ref": "Key" 491 "$ref": "Key"
1192 }, 492 },
1193 "type": "array" 493 "type": "array"
1194 } 494 }
1195 }, 495 },
1196 "type": "object" 496 "type": "object"
1197 }, 497 },
1198 "RunQueryResponse": {
1199 "description": "The response for Datastore.RunQuery.",
1200 "id": "RunQueryResponse",
1201 "properties": {
1202 "query": {
1203 "$ref": "Query",
1204 "description": "The parsed form of the `GqlQuery` from the r equest, if it was set."
1205 },
1206 "batch": {
1207 "$ref": "QueryResultBatch",
1208 "description": "A batch of query results (always present)."
1209 }
1210 },
1211 "type": "object"
1212 },
1213 "LookupResponse": {
1214 "description": "The response for Datastore.Lookup.",
1215 "id": "LookupResponse",
1216 "properties": {
1217 "deferred": {
1218 "description": "A list of keys that were not looked up due t o resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.",
1219 "items": {
1220 "$ref": "Key"
1221 },
1222 "type": "array"
1223 },
1224 "missing": {
1225 "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation t o the order of the keys\nin the input.",
1226 "items": {
1227 "$ref": "EntityResult"
1228 },
1229 "type": "array"
1230 },
1231 "found": {
1232 "description": "Entities found as `ResultType.FULL` entities . The order of results in this\nfield is undefined and has no relation to the or der of the keys in the\ninput.",
1233 "items": {
1234 "$ref": "EntityResult"
1235 },
1236 "type": "array"
1237 }
1238 },
1239 "type": "object"
1240 },
1241 "CommitRequest": { 498 "CommitRequest": {
1242 "description": "The request for Datastore.Commit.", 499 "description": "The request for Datastore.Commit.",
1243 "id": "CommitRequest", 500 "id": "CommitRequest",
1244 "properties": { 501 "properties": {
1245 "transaction": { 502 "transaction": {
1246 "description": "The identifier of the transaction associated with the commit. A\ntransaction identifier is returned by a call to\nDatastore. BeginTransaction.", 503 "description": "The identifier of the transaction associated with the commit. A\ntransaction identifier is returned by a call to\nDatastore. BeginTransaction.",
1247 "format": "byte", 504 "format": "byte",
1248 "type": "string" 505 "type": "string"
1249 }, 506 },
1250 "mode": { 507 "mode": {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 "description": "A representation of a kind.", 568 "description": "A representation of a kind.",
1312 "id": "KindExpression", 569 "id": "KindExpression",
1313 "properties": { 570 "properties": {
1314 "name": { 571 "name": {
1315 "description": "The name of the kind.", 572 "description": "The name of the kind.",
1316 "type": "string" 573 "type": "string"
1317 } 574 }
1318 }, 575 },
1319 "type": "object" 576 "type": "object"
1320 }, 577 },
578 "Key": {
579 "description": "A unique identifier for an entity.\nIf a key's parti tion ID or any of its path kinds or names are\nreserved/read-only, the key is re served/read-only.\nA reserved/read-only key is forbidden in certain documented c ontexts.",
580 "id": "Key",
581 "properties": {
582 "partitionId": {
583 "$ref": "PartitionId",
584 "description": "Entities are partitioned into subsets, curre ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing le partition."
585 },
586 "path": {
587 "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the seco nd element identifies\na _child_ of the root entity, the third element identifie s a child of the\nsecond entity, and so forth. The entities identified by all pr efixes of\nthe path are called the element's _ancestors_.\n\nAn entity path is a lways fully complete: *all* of the entity's ancestors\nare required to be in the path along with the entity identifier itself.\nThe only exception is that in so me documented cases, the identifier in the\nlast path element (for the entity) i tself may be omitted. For example,\nthe last path element of the key of `Mutatio n.insert` may have no\nidentifier.\n\nA path can never be empty, and a path can have at most 100 elements.",
588 "items": {
589 "$ref": "PathElement"
590 },
591 "type": "array"
592 }
593 },
594 "type": "object"
595 },
1321 "LatLng": { 596 "LatLng": {
1322 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)", 597 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)",
1323 "id": "LatLng", 598 "id": "LatLng",
1324 "properties": { 599 "properties": {
1325 "latitude": { 600 "latitude": {
1326 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].", 601 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
1327 "format": "double", 602 "format": "double",
1328 "type": "number" 603 "type": "number"
1329 }, 604 },
1330 "longitude": { 605 "longitude": {
1331 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", 606 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
1332 "format": "double", 607 "format": "double",
1333 "type": "number" 608 "type": "number"
1334 } 609 }
1335 }, 610 },
1336 "type": "object" 611 "type": "object"
1337 }, 612 },
1338 "Key": {
1339 "description": "A unique identifier for an entity.\nIf a key's parti tion ID or any of its path kinds or names are\nreserved/read-only, the key is re served/read-only.\nA reserved/read-only key is forbidden in certain documented c ontexts.",
1340 "id": "Key",
1341 "properties": {
1342 "path": {
1343 "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the seco nd element identifies\na _child_ of the root entity, the third element identifie s a child of the\nsecond entity, and so forth. The entities identified by all pr efixes of\nthe path are called the element's _ancestors_.\n\nAn entity path is a lways fully complete: *all* of the entity's ancestors\nare required to be in the path along with the entity identifier itself.\nThe only exception is that in so me documented cases, the identifier in the\nlast path element (for the entity) i tself may be omitted. For example,\nthe last path element of the key of `Mutatio n.insert` may have no\nidentifier.\n\nA path can never be empty, and a path can have at most 100 elements.",
1344 "items": {
1345 "$ref": "PathElement"
1346 },
1347 "type": "array"
1348 },
1349 "partitionId": {
1350 "$ref": "PartitionId",
1351 "description": "Entities are partitioned into subsets, curre ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing le partition."
1352 }
1353 },
1354 "type": "object"
1355 },
1356 "PropertyReference": { 613 "PropertyReference": {
1357 "description": "A reference to a property relative to the kind expre ssions.", 614 "description": "A reference to a property relative to the kind expre ssions.",
1358 "id": "PropertyReference", 615 "id": "PropertyReference",
1359 "properties": { 616 "properties": {
1360 "name": { 617 "name": {
1361 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", 618 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
1362 "type": "string" 619 "type": "string"
1363 } 620 }
1364 }, 621 },
1365 "type": "object" 622 "type": "object"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 "properties": { 725 "properties": {
1469 "values": { 726 "values": {
1470 "description": "Values in the array.\nThe order of this arra y may not be preserved if it contains a mix of\nindexed and unindexed values.", 727 "description": "Values in the array.\nThe order of this arra y may not be preserved if it contains a mix of\nindexed and unindexed values.",
1471 "items": { 728 "items": {
1472 "$ref": "Value" 729 "$ref": "Value"
1473 }, 730 },
1474 "type": "array" 731 "type": "array"
1475 } 732 }
1476 }, 733 },
1477 "type": "object" 734 "type": "object"
735 },
736 "Mutation": {
737 "description": "A mutation to apply to an entity.",
738 "id": "Mutation",
739 "properties": {
740 "delete": {
741 "$ref": "Key",
742 "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be res erved/read-only."
743 },
744 "baseVersion": {
745 "description": "The version of the entity that this mutation is being applied to. If this\ndoes not match the current version on the server, the mutation conflicts.",
746 "format": "int64",
747 "type": "string"
748 },
749 "insert": {
750 "$ref": "Entity",
751 "description": "The entity to insert. The entity must not al ready exist.\nThe entity key's final path element may be incomplete."
752 },
753 "update": {
754 "$ref": "Entity",
755 "description": "The entity to update. The entity must alread y exist.\nMust have a complete key path."
756 },
757 "upsert": {
758 "$ref": "Entity",
759 "description": "The entity to upsert. The entity may or may not already exist.\nThe entity key's final path element may be incomplete."
760 }
761 },
762 "type": "object"
763 },
764 "ReadOptions": {
765 "description": "The options shared by read requests.",
766 "id": "ReadOptions",
767 "properties": {
768 "transaction": {
769 "description": "The identifier of the transaction in which t o read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTrans action.",
770 "format": "byte",
771 "type": "string"
772 },
773 "readConsistency": {
774 "description": "The non-transactional read consistency to us e.\nCannot be set to `STRONG` for global queries.",
775 "enum": [
776 "READ_CONSISTENCY_UNSPECIFIED",
777 "STRONG",
778 "EVENTUAL"
779 ],
780 "enumDescriptions": [
781 "Unspecified. This value must not be used.",
782 "Strong consistency.",
783 "Eventual consistency."
784 ],
785 "type": "string"
786 }
787 },
788 "type": "object"
789 },
790 "RollbackResponse": {
791 "description": "The response for Datastore.Rollback.\n(an empty mess age).",
792 "id": "RollbackResponse",
793 "properties": {},
794 "type": "object"
795 },
796 "GoogleDatastoreAdminV1beta1ExportEntitiesResponse": {
797 "description": "The response for\ngoogle.datastore.admin.v1beta1.Dat astoreAdmin.ExportEntities.",
798 "id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse",
799 "properties": {
800 "outputUrl": {
801 "description": "Location of the output metadata file. This c an be used to begin an import\ninto Cloud Datastore (this project or another pro ject). See\ngoogle.datastore.admin.v1beta1.ImportEntitiesRequest.input_url.\nOnl y present if the operation completed successfully.",
802 "type": "string"
803 }
804 },
805 "type": "object"
806 },
807 "MutationResult": {
808 "description": "The result of applying a mutation.",
809 "id": "MutationResult",
810 "properties": {
811 "conflictDetected": {
812 "description": "Whether a conflict was detected for this mut ation. Always false when a\nconflict detection strategy field is not set in the mutation.",
813 "type": "boolean"
814 },
815 "key": {
816 "$ref": "Key",
817 "description": "The automatically allocated key.\nSet only w hen the mutation allocated a key."
818 },
819 "version": {
820 "description": "The version of the entity on the server afte r processing the mutation. If\nthe mutation doesn't change anything on the serve r, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.",
821 "format": "int64",
822 "type": "string"
823 }
824 },
825 "type": "object"
826 },
827 "GqlQuery": {
828 "description": "A [GQL query](https://cloud.google.com/datastore/doc s/apis/gql/gql_reference).",
829 "id": "GqlQuery",
830 "properties": {
831 "queryString": {
832 "description": "A string of the format described\n[here](htt ps://cloud.google.com/datastore/docs/apis/gql/gql_reference).",
833 "type": "string"
834 },
835 "positionalBindings": {
836 "description": "Numbered binding site @1 references the firs t numbered parameter,\neffectively using 1-based indexing, rather than the usual 0.\n\nFor each binding site numbered i in `query_string`, there must be an i-th \nnumbered parameter. The inverse must also be true.",
837 "items": {
838 "$ref": "GqlQueryParameter"
839 },
840 "type": "array"
841 },
842 "namedBindings": {
843 "additionalProperties": {
844 "$ref": "GqlQueryParameter"
845 },
846 "description": "For each non-reserved named binding site in the query string, there must be\na named parameter with that name, but not neces sarily the inverse.\n\nKey must match regex `A-Za-z_$*`, must not match regex\n` __.*__`, and must not be `\"\"`.",
847 "type": "object"
848 },
849 "allowLiterals": {
850 "description": "When false, the query string must not contai n any literals and instead must\nbind all values. For example,\n`SELECT * FROM K ind WHERE a = 'string literal'` is not allowed, while\n`SELECT * FROM Kind WHERE a = @value` is.",
851 "type": "boolean"
852 }
853 },
854 "type": "object"
855 },
856 "Filter": {
857 "description": "A holder for any type of filter.",
858 "id": "Filter",
859 "properties": {
860 "compositeFilter": {
861 "$ref": "CompositeFilter",
862 "description": "A composite filter."
863 },
864 "propertyFilter": {
865 "$ref": "PropertyFilter",
866 "description": "A filter on a property."
867 }
868 },
869 "type": "object"
870 },
871 "RunQueryRequest": {
872 "description": "The request for Datastore.RunQuery.",
873 "id": "RunQueryRequest",
874 "properties": {
875 "gqlQuery": {
876 "$ref": "GqlQuery",
877 "description": "The GQL query to run."
878 },
879 "partitionId": {
880 "$ref": "PartitionId",
881 "description": "Entities are partitioned into subsets, ident ified by a partition ID.\nQueries are scoped to a single partition.\nThis partit ion ID is normalized with the standard default context\npartition ID."
882 },
883 "readOptions": {
884 "$ref": "ReadOptions",
885 "description": "The options for this query."
886 },
887 "query": {
888 "$ref": "Query",
889 "description": "The query to run."
890 }
891 },
892 "type": "object"
893 },
894 "Empty": {
895 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
896 "id": "Empty",
897 "properties": {},
898 "type": "object"
899 },
900 "RollbackRequest": {
901 "description": "The request for Datastore.Rollback.",
902 "id": "RollbackRequest",
903 "properties": {
904 "transaction": {
905 "description": "The transaction identifier, returned by a ca ll to\nDatastore.BeginTransaction.",
906 "format": "byte",
907 "type": "string"
908 }
909 },
910 "type": "object"
911 },
912 "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": {
913 "description": "Metadata for ExportEntities operations.",
914 "id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata",
915 "properties": {
916 "common": {
917 "$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
918 "description": "Metadata common to all Datastore Admin opera tions."
919 },
920 "progressBytes": {
921 "$ref": "GoogleDatastoreAdminV1beta1Progress",
922 "description": "An estimate of the number of bytes processed ."
923 },
924 "outputUrlPrefix": {
925 "description": "Location for the export metadata and data fi les. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportE ntitiesRequest.output_url_prefix\nfield. The final output location is provided i n\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
926 "type": "string"
927 },
928 "entityFilter": {
929 "$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
930 "description": "Description of which entities are being expo rted."
931 },
932 "progressEntities": {
933 "$ref": "GoogleDatastoreAdminV1beta1Progress",
934 "description": "An estimate of the number of entities proces sed."
935 }
936 },
937 "type": "object"
938 },
939 "TransactionOptions": {
940 "description": "Options for beginning a new transaction.\n\nTransact ions can be created explicitly with calls to\nDatastore.BeginTransaction or impl icitly by setting\nReadOptions.new_transaction in read requests.",
941 "id": "TransactionOptions",
942 "properties": {
943 "readOnly": {
944 "$ref": "ReadOnly",
945 "description": "The transaction should only allow reads."
946 },
947 "readWrite": {
948 "$ref": "ReadWrite",
949 "description": "The transaction should allow both reads and writes."
950 }
951 },
952 "type": "object"
953 },
954 "CompositeFilter": {
955 "description": "A filter that merges multiple other filters using th e given operator.",
956 "id": "CompositeFilter",
957 "properties": {
958 "op": {
959 "description": "The operator for combining multiple filters. ",
960 "enum": [
961 "OPERATOR_UNSPECIFIED",
962 "AND"
963 ],
964 "enumDescriptions": [
965 "Unspecified. This value must not be used.",
966 "The results are required to satisfy each of the combine d filters."
967 ],
968 "type": "string"
969 },
970 "filters": {
971 "description": "The list of filters to combine.\nMust contai n at least one filter.",
972 "items": {
973 "$ref": "Filter"
974 },
975 "type": "array"
976 }
977 },
978 "type": "object"
979 },
980 "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": {
981 "description": "Metadata for ImportEntities operations.",
982 "id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata",
983 "properties": {
984 "common": {
985 "$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
986 "description": "Metadata common to all Datastore Admin opera tions."
987 },
988 "inputUrl": {
989 "description": "The location of the import metadata file. Th is will be the same value as\nthe google.datastore.admin.v1beta1.ExportEntitiesR esponse.output_url\nfield.",
990 "type": "string"
991 },
992 "progressBytes": {
993 "$ref": "GoogleDatastoreAdminV1beta1Progress",
994 "description": "An estimate of the number of bytes processed ."
995 },
996 "entityFilter": {
997 "$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
998 "description": "Description of which entities are being impo rted."
999 },
1000 "progressEntities": {
1001 "$ref": "GoogleDatastoreAdminV1beta1Progress",
1002 "description": "An estimate of the number of entities proces sed."
1003 }
1004 },
1005 "type": "object"
1006 },
1007 "AllocateIdsResponse": {
1008 "description": "The response for Datastore.AllocateIds.",
1009 "id": "AllocateIdsResponse",
1010 "properties": {
1011 "keys": {
1012 "description": "The keys specified in the request (in the sa me order), each with\nits key path completed with a newly allocated ID.",
1013 "items": {
1014 "$ref": "Key"
1015 },
1016 "type": "array"
1017 }
1018 },
1019 "type": "object"
1020 },
1021 "Query": {
1022 "description": "A query for entities.",
1023 "id": "Query",
1024 "properties": {
1025 "kind": {
1026 "description": "The kinds to query (if empty, returns entiti es of all kinds).\nCurrently at most 1 kind may be specified.",
1027 "items": {
1028 "$ref": "KindExpression"
1029 },
1030 "type": "array"
1031 },
1032 "distinctOn": {
1033 "description": "The properties to make distinct. The query r esults will contain the first\nresult for each distinct combination of values fo r the given properties\n(if empty, all results are returned).",
1034 "items": {
1035 "$ref": "PropertyReference"
1036 },
1037 "type": "array"
1038 },
1039 "order": {
1040 "description": "The order to apply to the query results (if empty, order is unspecified).",
1041 "items": {
1042 "$ref": "PropertyOrder"
1043 },
1044 "type": "array"
1045 },
1046 "projection": {
1047 "description": "The projection to return. Defaults to return ing all properties.",
1048 "items": {
1049 "$ref": "Projection"
1050 },
1051 "type": "array"
1052 },
1053 "endCursor": {
1054 "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit t he same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_ limits_and_offsets).",
1055 "format": "byte",
1056 "type": "string"
1057 },
1058 "filter": {
1059 "$ref": "Filter",
1060 "description": "The filter to apply."
1061 },
1062 "limit": {
1063 "description": "The maximum number of results to return. App lies after all other\nconstraints. Optional.\nUnspecified is interpreted as no l imit.\nMust be >= 0 if specified.",
1064 "format": "int32",
1065 "type": "integer"
1066 },
1067 "offset": {
1068 "description": "The number of results to skip. Applies befor e limit, but after all other\nconstraints. Optional. Must be >= 0 if specified." ,
1069 "format": "int32",
1070 "type": "integer"
1071 },
1072 "startCursor": {
1073 "description": "A starting point for the query results. Quer y cursors are\nreturned in query result batches and\n[can only be used to contin ue the same query](https://cloud.google.com/datastore/docs/concepts/queries#curs ors_limits_and_offsets).",
1074 "format": "byte",
1075 "type": "string"
1076 }
1077 },
1078 "type": "object"
1079 },
1080 "GoogleLongrunningOperation": {
1081 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
1082 "id": "GoogleLongrunningOperation",
1083 "properties": {
1084 "error": {
1085 "$ref": "Status",
1086 "description": "The error result of the operation in case of failure or cancellation."
1087 },
1088 "metadata": {
1089 "additionalProperties": {
1090 "description": "Properties of the object. Contains field @type with type URL.",
1091 "type": "any"
1092 },
1093 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
1094 "type": "object"
1095 },
1096 "done": {
1097 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
1098 "type": "boolean"
1099 },
1100 "response": {
1101 "additionalProperties": {
1102 "description": "Properties of the object. Contains field @type with type URL.",
1103 "type": "any"
1104 },
1105 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
1106 "type": "object"
1107 },
1108 "name": {
1109 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
1110 "type": "string"
1111 }
1112 },
1113 "type": "object"
1114 },
1115 "ReadOnly": {
1116 "description": "Options specific to read-only transactions.",
1117 "id": "ReadOnly",
1118 "properties": {},
1119 "type": "object"
1120 },
1121 "PropertyFilter": {
1122 "description": "A filter on a specific property.",
1123 "id": "PropertyFilter",
1124 "properties": {
1125 "value": {
1126 "$ref": "Value",
1127 "description": "The value to compare the property to."
1128 },
1129 "property": {
1130 "$ref": "PropertyReference",
1131 "description": "The property to filter by."
1132 },
1133 "op": {
1134 "description": "The operator to filter by.",
1135 "enum": [
1136 "OPERATOR_UNSPECIFIED",
1137 "LESS_THAN",
1138 "LESS_THAN_OR_EQUAL",
1139 "GREATER_THAN",
1140 "GREATER_THAN_OR_EQUAL",
1141 "EQUAL",
1142 "HAS_ANCESTOR"
1143 ],
1144 "enumDescriptions": [
1145 "Unspecified. This value must not be used.",
1146 "Less than.",
1147 "Less than or equal.",
1148 "Greater than.",
1149 "Greater than or equal.",
1150 "Equal.",
1151 "Has ancestor."
1152 ],
1153 "type": "string"
1154 }
1155 },
1156 "type": "object"
1157 },
1158 "EntityResult": {
1159 "description": "The result of fetching an entity from Datastore.",
1160 "id": "EntityResult",
1161 "properties": {
1162 "entity": {
1163 "$ref": "Entity",
1164 "description": "The resulting entity."
1165 },
1166 "cursor": {
1167 "description": "A cursor that points to the position after t he result entity.\nSet only when the `EntityResult` is part of a `QueryResultBat ch` message.",
1168 "format": "byte",
1169 "type": "string"
1170 },
1171 "version": {
1172 "description": "The version of the entity, a strictly positi ve number that monotonically\nincreases with changes to the entity.\n\nThis fiel d is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse` , this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.",
1173 "format": "int64",
1174 "type": "string"
1175 }
1176 },
1177 "type": "object"
1178 },
1179 "Value": {
1180 "description": "A message that can hold any of the supported value t ypes and associated\nmetadata.",
1181 "id": "Value",
1182 "properties": {
1183 "stringValue": {
1184 "description": "A UTF-8 encoded string value.\nWhen `exclude _from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwis e, may be set to at least 1,000,000 bytes.",
1185 "type": "string"
1186 },
1187 "excludeFromIndexes": {
1188 "description": "If the value should be excluded from all ind exes including those defined\nexplicitly.",
1189 "type": "boolean"
1190 },
1191 "doubleValue": {
1192 "description": "A double value.",
1193 "format": "double",
1194 "type": "number"
1195 },
1196 "timestampValue": {
1197 "description": "A timestamp value.\nWhen stored in the Datas tore, precise only to microseconds;\nany additional precision is rounded down.",
1198 "format": "google-datetime",
1199 "type": "string"
1200 },
1201 "nullValue": {
1202 "description": "A null value.",
1203 "enum": [
1204 "NULL_VALUE"
1205 ],
1206 "enumDescriptions": [
1207 "Null value."
1208 ],
1209 "type": "string"
1210 },
1211 "booleanValue": {
1212 "description": "A boolean value.",
1213 "type": "boolean"
1214 },
1215 "blobValue": {
1216 "description": "A blob value.\nMay have at most 1,000,000 by tes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSO N requests, must be base64-encoded.",
1217 "format": "byte",
1218 "type": "string"
1219 },
1220 "meaning": {
1221 "description": "The `meaning` field should only be populated for backwards compatibility.",
1222 "format": "int32",
1223 "type": "integer"
1224 },
1225 "arrayValue": {
1226 "$ref": "ArrayValue",
1227 "description": "An array value.\nCannot contain another arra y value.\nA `Value` instance that sets field `array_value` must not set fields\n `meaning` or `exclude_from_indexes`."
1228 },
1229 "entityValue": {
1230 "$ref": "Entity",
1231 "description": "An entity value.\n\n- May have no key.\n- Ma y have a key with an incomplete key path.\n- May have a reserved/read-only key."
1232 },
1233 "geoPointValue": {
1234 "$ref": "LatLng",
1235 "description": "A geo point value representing a point on th e surface of Earth."
1236 },
1237 "keyValue": {
1238 "$ref": "Key",
1239 "description": "A key value."
1240 },
1241 "integerValue": {
1242 "description": "An integer value.",
1243 "format": "int64",
1244 "type": "string"
1245 }
1246 },
1247 "type": "object"
1248 },
1249 "CommitResponse": {
1250 "description": "The response for Datastore.Commit.",
1251 "id": "CommitResponse",
1252 "properties": {
1253 "mutationResults": {
1254 "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request.",
1255 "items": {
1256 "$ref": "MutationResult"
1257 },
1258 "type": "array"
1259 },
1260 "indexUpdates": {
1261 "description": "The number of index entries updated during t he commit, or zero if none were\nupdated.",
1262 "format": "int32",
1263 "type": "integer"
1264 }
1265 },
1266 "type": "object"
1267 },
1268 "PartitionId": {
1269 "description": "A partition ID identifies a grouping of entities. Th e grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n - Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\ nForeign partition IDs (in which the project ID does\nnot match the context proj ect ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.",
1270 "id": "PartitionId",
1271 "properties": {
1272 "namespaceId": {
1273 "description": "If not empty, the ID of the namespace to whi ch the entities belong.",
1274 "type": "string"
1275 },
1276 "projectId": {
1277 "description": "The ID of the project to which the entities belong.",
1278 "type": "string"
1279 }
1280 },
1281 "type": "object"
1282 },
1283 "Entity": {
1284 "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.",
1285 "id": "Entity",
1286 "properties": {
1287 "key": {
1288 "$ref": "Key",
1289 "description": "The entity's key.\n\nAn entity must have a k ey, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key."
1290 },
1291 "properties": {
1292 "additionalProperties": {
1293 "$ref": "Value"
1294 },
1295 "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserv ed property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.",
1296 "type": "object"
1297 }
1298 },
1299 "type": "object"
1300 },
1301 "ReadWrite": {
1302 "description": "Options specific to read / write transactions.",
1303 "id": "ReadWrite",
1304 "properties": {
1305 "previousTransaction": {
1306 "description": "The transaction identifier of the transactio n being retried.",
1307 "format": "byte",
1308 "type": "string"
1309 }
1310 },
1311 "type": "object"
1312 },
1313 "LookupRequest": {
1314 "description": "The request for Datastore.Lookup.",
1315 "id": "LookupRequest",
1316 "properties": {
1317 "readOptions": {
1318 "$ref": "ReadOptions",
1319 "description": "The options for this lookup request."
1320 },
1321 "keys": {
1322 "description": "Keys of entities to look up.",
1323 "items": {
1324 "$ref": "Key"
1325 },
1326 "type": "array"
1327 }
1328 },
1329 "type": "object"
1330 },
1331 "QueryResultBatch": {
1332 "description": "A batch of results produced by a query.",
1333 "id": "QueryResultBatch",
1334 "properties": {
1335 "endCursor": {
1336 "description": "A cursor that points to the position after t he last result in the batch.",
1337 "format": "byte",
1338 "type": "string"
1339 },
1340 "moreResults": {
1341 "description": "The state of the query after the current bat ch.",
1342 "enum": [
1343 "MORE_RESULTS_TYPE_UNSPECIFIED",
1344 "NOT_FINISHED",
1345 "MORE_RESULTS_AFTER_LIMIT",
1346 "MORE_RESULTS_AFTER_CURSOR",
1347 "NO_MORE_RESULTS"
1348 ],
1349 "enumDescriptions": [
1350 "Unspecified. This value is never used.",
1351 "There may be additional batches to fetch from this quer y.",
1352 "The query is finished, but there may be more results af ter the limit.",
1353 "The query is finished, but there may be more results af ter the end\ncursor.",
1354 "The query is finished, and there are no more results."
1355 ],
1356 "type": "string"
1357 },
1358 "snapshotVersion": {
1359 "description": "The version number of the snapshot this batc h was returned from.\nThis applies to the range of results from the query's `sta rt_cursor` (or\nthe beginning of the query if no cursor was given) to this batch 's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, sub sequent query result batches for the same query\ncan have a greater snapshot ver sion number. Each batch's snapshot version\nis valid for all preceding batches.\ nThe value will be zero for eventually consistent queries.",
1360 "format": "int64",
1361 "type": "string"
1362 },
1363 "skippedCursor": {
1364 "description": "A cursor that points to the position after t he last skipped result.\nWill be set when `skipped_results` != 0.",
1365 "format": "byte",
1366 "type": "string"
1367 },
1368 "skippedResults": {
1369 "description": "The number of results skipped, typically bec ause of an offset.",
1370 "format": "int32",
1371 "type": "integer"
1372 },
1373 "entityResultType": {
1374 "description": "The result type for every entity in `entity_ results`.",
1375 "enum": [
1376 "RESULT_TYPE_UNSPECIFIED",
1377 "FULL",
1378 "PROJECTION",
1379 "KEY_ONLY"
1380 ],
1381 "enumDescriptions": [
1382 "Unspecified. This value is never used.",
1383 "The key and properties.",
1384 "A projected subset of properties. The entity may have n o key.",
1385 "Only the key."
1386 ],
1387 "type": "string"
1388 },
1389 "entityResults": {
1390 "description": "The results for this batch.",
1391 "items": {
1392 "$ref": "EntityResult"
1393 },
1394 "type": "array"
1395 }
1396 },
1397 "type": "object"
1398 },
1399 "GoogleDatastoreAdminV1beta1Progress": {
1400 "description": "Measures the progress of a particular metric.",
1401 "id": "GoogleDatastoreAdminV1beta1Progress",
1402 "properties": {
1403 "workEstimated": {
1404 "description": "An estimate of how much work needs to be per formed. May be zero if the\nwork estimate is unavailable.",
1405 "format": "int64",
1406 "type": "string"
1407 },
1408 "workCompleted": {
1409 "description": "Note that this may be greater than work_esti mated.",
1410 "format": "int64",
1411 "type": "string"
1412 }
1413 },
1414 "type": "object"
1415 },
1416 "PathElement": {
1417 "description": "A (kind, ID/name) pair used to construct a key path. \n\nIf either name or ID is set, the element is complete.\nIf neither is set, th e element is incomplete.",
1418 "id": "PathElement",
1419 "properties": {
1420 "kind": {
1421 "description": "The kind of the entity.\nA kind matching reg ex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
1422 "type": "string"
1423 },
1424 "id": {
1425 "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported i n the future.",
1426 "format": "int64",
1427 "type": "string"
1428 },
1429 "name": {
1430 "description": "The name of the entity.\nA name matching reg ex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
1431 "type": "string"
1432 }
1433 },
1434 "type": "object"
1435 },
1436 "GqlQueryParameter": {
1437 "description": "A binding parameter for a GQL query.",
1438 "id": "GqlQueryParameter",
1439 "properties": {
1440 "cursor": {
1441 "description": "A query cursor. Query cursors are returned i n query\nresult batches.",
1442 "format": "byte",
1443 "type": "string"
1444 },
1445 "value": {
1446 "$ref": "Value",
1447 "description": "A value parameter."
1448 }
1449 },
1450 "type": "object"
1451 },
1452 "Status": {
1453 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1454 "id": "Status",
1455 "properties": {
1456 "details": {
1457 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
1458 "items": {
1459 "additionalProperties": {
1460 "description": "Properties of the object. Contains f ield @type with type URL.",
1461 "type": "any"
1462 },
1463 "type": "object"
1464 },
1465 "type": "array"
1466 },
1467 "code": {
1468 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1469 "format": "int32",
1470 "type": "integer"
1471 },
1472 "message": {
1473 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1474 "type": "string"
1475 }
1476 },
1477 "type": "object"
1478 } 1478 }
1479 }, 1479 },
1480 "servicePath": "", 1480 "servicePath": "",
1481 "title": "Google Cloud Datastore API", 1481 "title": "Google Cloud Datastore API",
1482 "version": "v1" 1482 "version": "v1"
1483 } 1483 }
OLDNEW
« no previous file with comments | « discovery/googleapis/dataproc__v1.json ('k') | discovery/googleapis/deploymentmanager__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698