| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
| 5 "https://www.googleapis.com/auth/datastore": { | 8 "https://www.googleapis.com/auth/datastore": { |
| 6 "description": "View and manage your Google Cloud Datastore
data" | 9 "description": "View and manage your Google Cloud Datastore
data" |
| 7 }, | 10 }, |
| 8 "https://www.googleapis.com/auth/userinfo.email": { | 11 "https://www.googleapis.com/auth/userinfo.email": { |
| 9 "description": "View your email address" | 12 "description": "View your email address" |
| 10 } | 13 } |
| 11 } | 14 } |
| 12 } | 15 } |
| 13 }, | 16 }, |
| 14 "basePath": "/datastore/v1beta2/datasets/", | 17 "basePath": "/datastore/v1beta2/datasets/", |
| 15 "baseUrl": "https://www.googleapis.com/datastore/v1beta2/datasets/", | 18 "baseUrl": "https://www.googleapis.com/datastore/v1beta2/datasets/", |
| 16 "batchPath": "batch", | 19 "batchPath": "batch", |
| 17 "description": "API for accessing Google Cloud Datastore.", | 20 "description": "API for accessing Google Cloud Datastore.", |
| 18 "discoveryVersion": "v1", | 21 "discoveryVersion": "v1", |
| 19 "documentationLink": "https://developers.google.com/datastore/", | 22 "documentationLink": "https://developers.google.com/datastore/", |
| 20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2BYNDaZqMjLdfTtg3EL0oL8j6oI\"", | 23 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/LDhSkY4UxrCPhfQmh9G4U2uaRlU\"", |
| 21 "icons": { | 24 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, | 27 }, |
| 25 "id": "datastore:v1beta2", | 28 "id": "datastore:v1beta2", |
| 26 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
| 27 "name": "datastore", | 30 "name": "datastore", |
| 28 "ownerDomain": "google.com", | 31 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", | 32 "ownerName": "Google", |
| 30 "parameters": { | 33 "parameters": { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 97 } |
| 95 }, | 98 }, |
| 96 "path": "{datasetId}/allocateIds", | 99 "path": "{datasetId}/allocateIds", |
| 97 "request": { | 100 "request": { |
| 98 "$ref": "AllocateIdsRequest" | 101 "$ref": "AllocateIdsRequest" |
| 99 }, | 102 }, |
| 100 "response": { | 103 "response": { |
| 101 "$ref": "AllocateIdsResponse" | 104 "$ref": "AllocateIdsResponse" |
| 102 }, | 105 }, |
| 103 "scopes": [ | 106 "scopes": [ |
| 107 "https://www.googleapis.com/auth/cloud-platform", |
| 104 "https://www.googleapis.com/auth/datastore", | 108 "https://www.googleapis.com/auth/datastore", |
| 105 "https://www.googleapis.com/auth/userinfo.email" | 109 "https://www.googleapis.com/auth/userinfo.email" |
| 106 ] | 110 ] |
| 107 }, | 111 }, |
| 108 "beginTransaction": { | 112 "beginTransaction": { |
| 109 "description": "Begin a new transaction.", | 113 "description": "Begin a new transaction.", |
| 110 "httpMethod": "POST", | 114 "httpMethod": "POST", |
| 111 "id": "datastore.datasets.beginTransaction", | 115 "id": "datastore.datasets.beginTransaction", |
| 112 "parameterOrder": [ | 116 "parameterOrder": [ |
| 113 "datasetId" | 117 "datasetId" |
| 114 ], | 118 ], |
| 115 "parameters": { | 119 "parameters": { |
| 116 "datasetId": { | 120 "datasetId": { |
| 117 "description": "Identifies the dataset.", | 121 "description": "Identifies the dataset.", |
| 118 "location": "path", | 122 "location": "path", |
| 119 "required": true, | 123 "required": true, |
| 120 "type": "string" | 124 "type": "string" |
| 121 } | 125 } |
| 122 }, | 126 }, |
| 123 "path": "{datasetId}/beginTransaction", | 127 "path": "{datasetId}/beginTransaction", |
| 124 "request": { | 128 "request": { |
| 125 "$ref": "BeginTransactionRequest" | 129 "$ref": "BeginTransactionRequest" |
| 126 }, | 130 }, |
| 127 "response": { | 131 "response": { |
| 128 "$ref": "BeginTransactionResponse" | 132 "$ref": "BeginTransactionResponse" |
| 129 }, | 133 }, |
| 130 "scopes": [ | 134 "scopes": [ |
| 135 "https://www.googleapis.com/auth/cloud-platform", |
| 131 "https://www.googleapis.com/auth/datastore", | 136 "https://www.googleapis.com/auth/datastore", |
| 132 "https://www.googleapis.com/auth/userinfo.email" | 137 "https://www.googleapis.com/auth/userinfo.email" |
| 133 ] | 138 ] |
| 134 }, | 139 }, |
| 135 "commit": { | 140 "commit": { |
| 136 "description": "Commit a transaction, optionally creating, d
eleting or modifying some entities.", | 141 "description": "Commit a transaction, optionally creating, d
eleting or modifying some entities.", |
| 137 "httpMethod": "POST", | 142 "httpMethod": "POST", |
| 138 "id": "datastore.datasets.commit", | 143 "id": "datastore.datasets.commit", |
| 139 "parameterOrder": [ | 144 "parameterOrder": [ |
| 140 "datasetId" | 145 "datasetId" |
| 141 ], | 146 ], |
| 142 "parameters": { | 147 "parameters": { |
| 143 "datasetId": { | 148 "datasetId": { |
| 144 "description": "Identifies the dataset.", | 149 "description": "Identifies the dataset.", |
| 145 "location": "path", | 150 "location": "path", |
| 146 "required": true, | 151 "required": true, |
| 147 "type": "string" | 152 "type": "string" |
| 148 } | 153 } |
| 149 }, | 154 }, |
| 150 "path": "{datasetId}/commit", | 155 "path": "{datasetId}/commit", |
| 151 "request": { | 156 "request": { |
| 152 "$ref": "CommitRequest" | 157 "$ref": "CommitRequest" |
| 153 }, | 158 }, |
| 154 "response": { | 159 "response": { |
| 155 "$ref": "CommitResponse" | 160 "$ref": "CommitResponse" |
| 156 }, | 161 }, |
| 157 "scopes": [ | 162 "scopes": [ |
| 163 "https://www.googleapis.com/auth/cloud-platform", |
| 158 "https://www.googleapis.com/auth/datastore", | 164 "https://www.googleapis.com/auth/datastore", |
| 159 "https://www.googleapis.com/auth/userinfo.email" | 165 "https://www.googleapis.com/auth/userinfo.email" |
| 160 ] | 166 ] |
| 161 }, | 167 }, |
| 162 "lookup": { | 168 "lookup": { |
| 163 "description": "Look up some entities by key.", | 169 "description": "Look up some entities by key.", |
| 164 "httpMethod": "POST", | 170 "httpMethod": "POST", |
| 165 "id": "datastore.datasets.lookup", | 171 "id": "datastore.datasets.lookup", |
| 166 "parameterOrder": [ | 172 "parameterOrder": [ |
| 167 "datasetId" | 173 "datasetId" |
| 168 ], | 174 ], |
| 169 "parameters": { | 175 "parameters": { |
| 170 "datasetId": { | 176 "datasetId": { |
| 171 "description": "Identifies the dataset.", | 177 "description": "Identifies the dataset.", |
| 172 "location": "path", | 178 "location": "path", |
| 173 "required": true, | 179 "required": true, |
| 174 "type": "string" | 180 "type": "string" |
| 175 } | 181 } |
| 176 }, | 182 }, |
| 177 "path": "{datasetId}/lookup", | 183 "path": "{datasetId}/lookup", |
| 178 "request": { | 184 "request": { |
| 179 "$ref": "LookupRequest" | 185 "$ref": "LookupRequest" |
| 180 }, | 186 }, |
| 181 "response": { | 187 "response": { |
| 182 "$ref": "LookupResponse" | 188 "$ref": "LookupResponse" |
| 183 }, | 189 }, |
| 184 "scopes": [ | 190 "scopes": [ |
| 191 "https://www.googleapis.com/auth/cloud-platform", |
| 185 "https://www.googleapis.com/auth/datastore", | 192 "https://www.googleapis.com/auth/datastore", |
| 186 "https://www.googleapis.com/auth/userinfo.email" | 193 "https://www.googleapis.com/auth/userinfo.email" |
| 187 ] | 194 ] |
| 188 }, | 195 }, |
| 189 "rollback": { | 196 "rollback": { |
| 190 "description": "Roll back a transaction.", | 197 "description": "Roll back a transaction.", |
| 191 "httpMethod": "POST", | 198 "httpMethod": "POST", |
| 192 "id": "datastore.datasets.rollback", | 199 "id": "datastore.datasets.rollback", |
| 193 "parameterOrder": [ | 200 "parameterOrder": [ |
| 194 "datasetId" | 201 "datasetId" |
| 195 ], | 202 ], |
| 196 "parameters": { | 203 "parameters": { |
| 197 "datasetId": { | 204 "datasetId": { |
| 198 "description": "Identifies the dataset.", | 205 "description": "Identifies the dataset.", |
| 199 "location": "path", | 206 "location": "path", |
| 200 "required": true, | 207 "required": true, |
| 201 "type": "string" | 208 "type": "string" |
| 202 } | 209 } |
| 203 }, | 210 }, |
| 204 "path": "{datasetId}/rollback", | 211 "path": "{datasetId}/rollback", |
| 205 "request": { | 212 "request": { |
| 206 "$ref": "RollbackRequest" | 213 "$ref": "RollbackRequest" |
| 207 }, | 214 }, |
| 208 "response": { | 215 "response": { |
| 209 "$ref": "RollbackResponse" | 216 "$ref": "RollbackResponse" |
| 210 }, | 217 }, |
| 211 "scopes": [ | 218 "scopes": [ |
| 219 "https://www.googleapis.com/auth/cloud-platform", |
| 212 "https://www.googleapis.com/auth/datastore", | 220 "https://www.googleapis.com/auth/datastore", |
| 213 "https://www.googleapis.com/auth/userinfo.email" | 221 "https://www.googleapis.com/auth/userinfo.email" |
| 214 ] | 222 ] |
| 215 }, | 223 }, |
| 216 "runQuery": { | 224 "runQuery": { |
| 217 "description": "Query for entities.", | 225 "description": "Query for entities.", |
| 218 "httpMethod": "POST", | 226 "httpMethod": "POST", |
| 219 "id": "datastore.datasets.runQuery", | 227 "id": "datastore.datasets.runQuery", |
| 220 "parameterOrder": [ | 228 "parameterOrder": [ |
| 221 "datasetId" | 229 "datasetId" |
| 222 ], | 230 ], |
| 223 "parameters": { | 231 "parameters": { |
| 224 "datasetId": { | 232 "datasetId": { |
| 225 "description": "Identifies the dataset.", | 233 "description": "Identifies the dataset.", |
| 226 "location": "path", | 234 "location": "path", |
| 227 "required": true, | 235 "required": true, |
| 228 "type": "string" | 236 "type": "string" |
| 229 } | 237 } |
| 230 }, | 238 }, |
| 231 "path": "{datasetId}/runQuery", | 239 "path": "{datasetId}/runQuery", |
| 232 "request": { | 240 "request": { |
| 233 "$ref": "RunQueryRequest" | 241 "$ref": "RunQueryRequest" |
| 234 }, | 242 }, |
| 235 "response": { | 243 "response": { |
| 236 "$ref": "RunQueryResponse" | 244 "$ref": "RunQueryResponse" |
| 237 }, | 245 }, |
| 238 "scopes": [ | 246 "scopes": [ |
| 247 "https://www.googleapis.com/auth/cloud-platform", |
| 239 "https://www.googleapis.com/auth/datastore", | 248 "https://www.googleapis.com/auth/datastore", |
| 240 "https://www.googleapis.com/auth/userinfo.email" | 249 "https://www.googleapis.com/auth/userinfo.email" |
| 241 ] | 250 ] |
| 242 } | 251 } |
| 243 } | 252 } |
| 244 } | 253 } |
| 245 }, | 254 }, |
| 246 "revision": "20140613", | 255 "revision": "20140916", |
| 247 "rootUrl": "https://www.googleapis.com/", | 256 "rootUrl": "https://www.googleapis.com/", |
| 248 "schemas": { | 257 "schemas": { |
| 249 "AllocateIdsRequest": { | 258 "AllocateIdsRequest": { |
| 250 "id": "AllocateIdsRequest", | 259 "id": "AllocateIdsRequest", |
| 251 "properties": { | 260 "properties": { |
| 252 "keys": { | 261 "keys": { |
| 253 "description": "A list of keys with incomplete key paths to
allocate IDs for. No key may be reserved/read-only.", | 262 "description": "A list of keys with incomplete key paths to
allocate IDs for. No key may be reserved/read-only.", |
| 254 "items": { | 263 "items": { |
| 255 "$ref": "Key" | 264 "$ref": "Key" |
| 256 }, | 265 }, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 "$ref": "ResponseHeader" | 353 "$ref": "ResponseHeader" |
| 345 }, | 354 }, |
| 346 "mutationResult": { | 355 "mutationResult": { |
| 347 "$ref": "MutationResult", | 356 "$ref": "MutationResult", |
| 348 "description": "The result of performing the mutation (if an
y)." | 357 "description": "The result of performing the mutation (if an
y)." |
| 349 } | 358 } |
| 350 }, | 359 }, |
| 351 "type": "object" | 360 "type": "object" |
| 352 }, | 361 }, |
| 353 "CompositeFilter": { | 362 "CompositeFilter": { |
| 363 "description": "A filter that merges the multiple other filters usin
g the given operation.", |
| 354 "id": "CompositeFilter", | 364 "id": "CompositeFilter", |
| 355 "properties": { | 365 "properties": { |
| 356 "filters": { | 366 "filters": { |
| 357 "description": "The list of filters to combine. Must contain
at least one filter.", | 367 "description": "The list of filters to combine. Must contain
at least one filter.", |
| 358 "items": { | 368 "items": { |
| 359 "$ref": "Filter" | 369 "$ref": "Filter" |
| 360 }, | 370 }, |
| 361 "type": "array" | 371 "type": "array" |
| 362 }, | 372 }, |
| 363 "operator": { | 373 "operator": { |
| 364 "description": "The operator for combining multiple filters.
Only \"and\" is currently supported.", | 374 "description": "The operator for combining multiple filters.
Only \"and\" is currently supported.", |
| 365 "enum": [ | 375 "enum": [ |
| 366 "AND" | 376 "AND" |
| 367 ], | 377 ], |
| 368 "enumDescriptions": [ | 378 "enumDescriptions": [ |
| 369 "" | 379 "" |
| 370 ], | 380 ], |
| 371 "type": "string" | 381 "type": "string" |
| 372 } | 382 } |
| 373 }, | 383 }, |
| 374 "type": "object" | 384 "type": "object" |
| 375 }, | 385 }, |
| 376 "Entity": { | 386 "Entity": { |
| 387 "description": "An entity.", |
| 377 "id": "Entity", | 388 "id": "Entity", |
| 378 "properties": { | 389 "properties": { |
| 379 "key": { | 390 "key": { |
| 380 "$ref": "Key", | 391 "$ref": "Key", |
| 381 "description": "The entity's key.\n\nAn entity must have a k
ey, unless otherwise documented (for example, an entity in Value.entityValue may
have no key). An entity's kind is its key's path's last element's kind, or null
if it has no key." | 392 "description": "The entity's key.\n\nAn entity must have a k
ey, unless otherwise documented (for example, an entity in Value.entityValue may
have no key). An entity's kind is its key's path's last element's kind, or null
if it has no key." |
| 382 }, | 393 }, |
| 383 "properties": { | 394 "properties": { |
| 384 "additionalProperties": { | 395 "additionalProperties": { |
| 385 "$ref": "Property", | 396 "$ref": "Property", |
| 386 "description": "The name of the property. A property nam
e matching regex \"__.*__\" is reserved. A reserved property name is forbidden i
n certain documented contexts. The name must not contain more than 500 character
s. Cannot be \"\"." | 397 "description": "The name of the property. A property nam
e matching regex \"__.*__\" is reserved. A reserved property name is forbidden i
n certain documented contexts. The name must not contain more than 500 character
s. Cannot be \"\"." |
| 387 }, | 398 }, |
| 388 "description": "The entity's properties.", | 399 "description": "The entity's properties.", |
| 389 "type": "object" | 400 "type": "object" |
| 390 } | 401 } |
| 391 }, | 402 }, |
| 392 "type": "object" | 403 "type": "object" |
| 393 }, | 404 }, |
| 394 "EntityResult": { | 405 "EntityResult": { |
| 406 "description": "The result of fetching an entity from the datastore.
", |
| 395 "id": "EntityResult", | 407 "id": "EntityResult", |
| 396 "properties": { | 408 "properties": { |
| 397 "entity": { | 409 "entity": { |
| 398 "$ref": "Entity", | 410 "$ref": "Entity", |
| 399 "description": "The resulting entity." | 411 "description": "The resulting entity." |
| 400 } | 412 } |
| 401 }, | 413 }, |
| 402 "type": "object" | 414 "type": "object" |
| 403 }, | 415 }, |
| 404 "Filter": { | 416 "Filter": { |
| 417 "description": "A holder for any type of filter. Exactly one field s
hould be specified.", |
| 405 "id": "Filter", | 418 "id": "Filter", |
| 406 "properties": { | 419 "properties": { |
| 407 "compositeFilter": { | 420 "compositeFilter": { |
| 408 "$ref": "CompositeFilter", | 421 "$ref": "CompositeFilter", |
| 409 "description": "A composite filter." | 422 "description": "A composite filter." |
| 410 }, | 423 }, |
| 411 "propertyFilter": { | 424 "propertyFilter": { |
| 412 "$ref": "PropertyFilter", | 425 "$ref": "PropertyFilter", |
| 413 "description": "A filter on a property." | 426 "description": "A filter on a property." |
| 414 } | 427 } |
| 415 }, | 428 }, |
| 416 "type": "object" | 429 "type": "object" |
| 417 }, | 430 }, |
| 418 "GqlQuery": { | 431 "GqlQuery": { |
| 432 "description": "A GQL query.", |
| 419 "id": "GqlQuery", | 433 "id": "GqlQuery", |
| 420 "properties": { | 434 "properties": { |
| 421 "allowLiteral": { | 435 "allowLiteral": { |
| 422 "description": "When false, the query string must not contai
n a literal.", | 436 "description": "When false, the query string must not contai
n a literal.", |
| 423 "type": "boolean" | 437 "type": "boolean" |
| 424 }, | 438 }, |
| 425 "nameArgs": { | 439 "nameArgs": { |
| 426 "description": "A named argument must set field GqlQueryArg.
name. No two named arguments may have the same name. For each non-reserved named
binding site in the query string, there must be a named argument with that name
, but not necessarily the inverse.", | 440 "description": "A named argument must set field GqlQueryArg.
name. No two named arguments may have the same name. For each non-reserved named
binding site in the query string, there must be a named argument with that name
, but not necessarily the inverse.", |
| 427 "items": { | 441 "items": { |
| 428 "$ref": "GqlQueryArg" | 442 "$ref": "GqlQueryArg" |
| 429 }, | 443 }, |
| 430 "type": "array" | 444 "type": "array" |
| 431 }, | 445 }, |
| 432 "numberArgs": { | 446 "numberArgs": { |
| 433 "description": "Numbered binding site @1 references the firs
t numbered argument, effectively using 1-based indexing, rather than the usual 0
. A numbered argument must NOT set field GqlQueryArg.name. For each binding site
numbered i in query_string, there must be an ith numbered argument. The inverse
must also be true.", | 447 "description": "Numbered binding site @1 references the firs
t numbered argument, effectively using 1-based indexing, rather than the usual 0
. A numbered argument must NOT set field GqlQueryArg.name. For each binding site
numbered i in query_string, there must be an ith numbered argument. The inverse
must also be true.", |
| 434 "items": { | 448 "items": { |
| 435 "$ref": "GqlQueryArg" | 449 "$ref": "GqlQueryArg" |
| 436 }, | 450 }, |
| 437 "type": "array" | 451 "type": "array" |
| 438 }, | 452 }, |
| 439 "queryString": { | 453 "queryString": { |
| 454 "description": "The query string.", |
| 440 "type": "string" | 455 "type": "string" |
| 441 } | 456 } |
| 442 }, | 457 }, |
| 443 "type": "object" | 458 "type": "object" |
| 444 }, | 459 }, |
| 445 "GqlQueryArg": { | 460 "GqlQueryArg": { |
| 461 "description": "A binding argument for a GQL query.", |
| 446 "id": "GqlQueryArg", | 462 "id": "GqlQueryArg", |
| 447 "properties": { | 463 "properties": { |
| 448 "cursor": { | 464 "cursor": { |
| 449 "format": "byte", | 465 "format": "byte", |
| 450 "type": "string" | 466 "type": "string" |
| 451 }, | 467 }, |
| 452 "name": { | 468 "name": { |
| 453 "description": "Must match regex \"[A-Za-z_$][A-Za-z_$0-9]*\
". Must not match regex \"__.*__\". Must not be \"\".", | 469 "description": "Must match regex \"[A-Za-z_$][A-Za-z_$0-9]*\
". Must not match regex \"__.*__\". Must not be \"\".", |
| 454 "type": "string" | 470 "type": "string" |
| 455 }, | 471 }, |
| 456 "value": { | 472 "value": { |
| 457 "$ref": "Value" | 473 "$ref": "Value" |
| 458 } | 474 } |
| 459 }, | 475 }, |
| 460 "type": "object" | 476 "type": "object" |
| 461 }, | 477 }, |
| 462 "Key": { | 478 "Key": { |
| 479 "description": "A unique identifier for an entity.", |
| 463 "id": "Key", | 480 "id": "Key", |
| 464 "properties": { | 481 "properties": { |
| 465 "partitionId": { | 482 "partitionId": { |
| 466 "$ref": "PartitionId", | 483 "$ref": "PartitionId", |
| 467 "description": "Entities are partitioned into subsets, curre
ntly identified by a dataset (usually implicitly specified by the project) and n
amespace ID. Queries are scoped to a single partition." | 484 "description": "Entities are partitioned into subsets, curre
ntly identified by a dataset (usually implicitly specified by the project) and n
amespace ID. Queries are scoped to a single partition." |
| 468 }, | 485 }, |
| 469 "path": { | 486 "path": { |
| 470 "description": "The entity path. An entity path consists of
one or more elements composed of a kind and a string or numerical identifier, wh
ich identify entities. The first element identifies a root entity, the second el
ement identifies a child of the root entity, the third element a child of the se
cond entity, and so forth. The entities identified by all prefixes of the path a
re called the element's ancestors. An entity path is always fully complete: ALL
of the entity's ancestors are required to be in the path along with the entity i
dentifier itself. The only exception is that in some documented cases, the ident
ifier in the last path element (for the entity) itself may be omitted. A path ca
n never be empty. The path can have at most 100 elements.", | 487 "description": "The entity path. An entity path consists of
one or more elements composed of a kind and a string or numerical identifier, wh
ich identify entities. The first element identifies a root entity, the second el
ement identifies a child of the root entity, the third element a child of the se
cond entity, and so forth. The entities identified by all prefixes of the path a
re called the element's ancestors. An entity path is always fully complete: ALL
of the entity's ancestors are required to be in the path along with the entity i
dentifier itself. The only exception is that in some documented cases, the ident
ifier in the last path element (for the entity) itself may be omitted. A path ca
n never be empty. The path can have at most 100 elements.", |
| 471 "items": { | 488 "items": { |
| 472 "$ref": "KeyPathElement" | 489 "$ref": "KeyPathElement" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 490 "type": "string" | 507 "type": "string" |
| 491 }, | 508 }, |
| 492 "name": { | 509 "name": { |
| 493 "description": "The name of the entity. A name matching rege
x \"__.*__\" is reserved/read-only. A name must not be more than 500 characters.
Cannot be \"\".", | 510 "description": "The name of the entity. A name matching rege
x \"__.*__\" is reserved/read-only. A name must not be more than 500 characters.
Cannot be \"\".", |
| 494 "type": "string" | 511 "type": "string" |
| 495 } | 512 } |
| 496 }, | 513 }, |
| 497 "type": "object" | 514 "type": "object" |
| 498 }, | 515 }, |
| 499 "KindExpression": { | 516 "KindExpression": { |
| 517 "description": "A representation of a kind.", |
| 500 "id": "KindExpression", | 518 "id": "KindExpression", |
| 501 "properties": { | 519 "properties": { |
| 502 "name": { | 520 "name": { |
| 503 "description": "The name of the kind.", | 521 "description": "The name of the kind.", |
| 504 "type": "string" | 522 "type": "string" |
| 505 } | 523 } |
| 506 }, | 524 }, |
| 507 "type": "object" | 525 "type": "object" |
| 508 }, | 526 }, |
| 509 "LookupRequest": { | 527 "LookupRequest": { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 "description": "Entities not found, with only the key popula
ted.", | 565 "description": "Entities not found, with only the key popula
ted.", |
| 548 "items": { | 566 "items": { |
| 549 "$ref": "EntityResult" | 567 "$ref": "EntityResult" |
| 550 }, | 568 }, |
| 551 "type": "array" | 569 "type": "array" |
| 552 } | 570 } |
| 553 }, | 571 }, |
| 554 "type": "object" | 572 "type": "object" |
| 555 }, | 573 }, |
| 556 "Mutation": { | 574 "Mutation": { |
| 575 "description": "A set of changes to apply.", |
| 557 "id": "Mutation", | 576 "id": "Mutation", |
| 558 "properties": { | 577 "properties": { |
| 559 "delete": { | 578 "delete": { |
| 560 "description": "Keys of entities to delete. Each key must ha
ve a complete key path and must not be reserved/read-only.", | 579 "description": "Keys of entities to delete. Each key must ha
ve a complete key path and must not be reserved/read-only.", |
| 561 "items": { | 580 "items": { |
| 562 "$ref": "Key" | 581 "$ref": "Key" |
| 563 }, | 582 }, |
| 564 "type": "array" | 583 "type": "array" |
| 565 }, | 584 }, |
| 566 "force": { | 585 "force": { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 "description": "Keys for insertAutoId entities. One per enti
ty from the request, in the same order.", | 629 "description": "Keys for insertAutoId entities. One per enti
ty from the request, in the same order.", |
| 611 "items": { | 630 "items": { |
| 612 "$ref": "Key" | 631 "$ref": "Key" |
| 613 }, | 632 }, |
| 614 "type": "array" | 633 "type": "array" |
| 615 } | 634 } |
| 616 }, | 635 }, |
| 617 "type": "object" | 636 "type": "object" |
| 618 }, | 637 }, |
| 619 "PartitionId": { | 638 "PartitionId": { |
| 639 "description": "An identifier for a particular subset of entities.\n
\nEntities are partitioned into various subsets, each used by different datasets
and different namespaces within a dataset and so forth.", |
| 620 "id": "PartitionId", | 640 "id": "PartitionId", |
| 621 "properties": { | 641 "properties": { |
| 622 "datasetId": { | 642 "datasetId": { |
| 623 "description": "The dataset ID.", | 643 "description": "The dataset ID.", |
| 624 "type": "string" | 644 "type": "string" |
| 625 }, | 645 }, |
| 626 "namespace": { | 646 "namespace": { |
| 627 "description": "The namespace.", | 647 "description": "The namespace.", |
| 628 "type": "string" | 648 "type": "string" |
| 629 } | 649 } |
| 630 }, | 650 }, |
| 631 "type": "object" | 651 "type": "object" |
| 632 }, | 652 }, |
| 633 "Property": { | 653 "Property": { |
| 654 "description": "An entity property.", |
| 634 "id": "Property", | 655 "id": "Property", |
| 635 "properties": { | 656 "properties": { |
| 636 "blobKeyValue": { | 657 "blobKeyValue": { |
| 637 "description": "A blob key value.", | 658 "description": "A blob key value.", |
| 638 "type": "string" | 659 "type": "string" |
| 639 }, | 660 }, |
| 640 "blobValue": { | 661 "blobValue": { |
| 641 "description": "A blob value. May be a maximum of 1,000,000
bytes.", | 662 "description": "A blob value. May be a maximum of 1,000,000
bytes.", |
| 642 "format": "byte", | 663 "format": "byte", |
| 643 "type": "string" | 664 "type": "string" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 "type": "integer" | 707 "type": "integer" |
| 687 }, | 708 }, |
| 688 "stringValue": { | 709 "stringValue": { |
| 689 "description": "A UTF-8 encoded string value.", | 710 "description": "A UTF-8 encoded string value.", |
| 690 "type": "string" | 711 "type": "string" |
| 691 } | 712 } |
| 692 }, | 713 }, |
| 693 "type": "object" | 714 "type": "object" |
| 694 }, | 715 }, |
| 695 "PropertyExpression": { | 716 "PropertyExpression": { |
| 717 "description": "A representation of a property in a projection.", |
| 696 "id": "PropertyExpression", | 718 "id": "PropertyExpression", |
| 697 "properties": { | 719 "properties": { |
| 698 "aggregationFunction": { | 720 "aggregationFunction": { |
| 699 "description": "The aggregation function to apply to the pro
perty. Optional. Can only be used when grouping by at least one property. Must t
hen be set on all properties in the projection that are not being grouped by. Ag
gregation functions: first selects the first result as determined by the query's
order.", | 721 "description": "The aggregation function to apply to the pro
perty. Optional. Can only be used when grouping by at least one property. Must t
hen be set on all properties in the projection that are not being grouped by. Ag
gregation functions: first selects the first result as determined by the query's
order.", |
| 700 "enum": [ | 722 "enum": [ |
| 701 "FIRST" | 723 "FIRST" |
| 702 ], | 724 ], |
| 703 "enumDescriptions": [ | 725 "enumDescriptions": [ |
| 704 "" | 726 "" |
| 705 ], | 727 ], |
| 706 "type": "string" | 728 "type": "string" |
| 707 }, | 729 }, |
| 708 "property": { | 730 "property": { |
| 709 "$ref": "PropertyReference", | 731 "$ref": "PropertyReference", |
| 710 "description": "The property to project." | 732 "description": "The property to project." |
| 711 } | 733 } |
| 712 }, | 734 }, |
| 713 "type": "object" | 735 "type": "object" |
| 714 }, | 736 }, |
| 715 "PropertyFilter": { | 737 "PropertyFilter": { |
| 738 "description": "A filter on a specific property.", |
| 716 "id": "PropertyFilter", | 739 "id": "PropertyFilter", |
| 717 "properties": { | 740 "properties": { |
| 718 "operator": { | 741 "operator": { |
| 719 "description": "The operator to filter by. One of lessThan,
lessThanOrEqual, greaterThan, greaterThanOrEqual, equal, or hasAncestor.", | 742 "description": "The operator to filter by. One of lessThan,
lessThanOrEqual, greaterThan, greaterThanOrEqual, equal, or hasAncestor.", |
| 720 "enum": [ | 743 "enum": [ |
| 721 "EQUAL", | 744 "EQUAL", |
| 722 "GREATER_THAN", | 745 "GREATER_THAN", |
| 723 "GREATER_THAN_OR_EQUAL", | 746 "GREATER_THAN_OR_EQUAL", |
| 724 "HAS_ANCESTOR", | 747 "HAS_ANCESTOR", |
| 725 "LESS_THAN", | 748 "LESS_THAN", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 740 "description": "The property to filter by." | 763 "description": "The property to filter by." |
| 741 }, | 764 }, |
| 742 "value": { | 765 "value": { |
| 743 "$ref": "Value", | 766 "$ref": "Value", |
| 744 "description": "The value to compare the property to." | 767 "description": "The value to compare the property to." |
| 745 } | 768 } |
| 746 }, | 769 }, |
| 747 "type": "object" | 770 "type": "object" |
| 748 }, | 771 }, |
| 749 "PropertyOrder": { | 772 "PropertyOrder": { |
| 773 "description": "The desired order for a specific property.", |
| 750 "id": "PropertyOrder", | 774 "id": "PropertyOrder", |
| 751 "properties": { | 775 "properties": { |
| 752 "direction": { | 776 "direction": { |
| 753 "description": "The direction to order by. One of ascending
or descending. Optional, defaults to ascending.", | 777 "description": "The direction to order by. One of ascending
or descending. Optional, defaults to ascending.", |
| 754 "enum": [ | 778 "enum": [ |
| 755 "ASCENDING", | 779 "ASCENDING", |
| 756 "DESCENDING" | 780 "DESCENDING" |
| 757 ], | 781 ], |
| 758 "enumDescriptions": [ | 782 "enumDescriptions": [ |
| 759 "", | 783 "", |
| 760 "" | 784 "" |
| 761 ], | 785 ], |
| 762 "type": "string" | 786 "type": "string" |
| 763 }, | 787 }, |
| 764 "property": { | 788 "property": { |
| 765 "$ref": "PropertyReference", | 789 "$ref": "PropertyReference", |
| 766 "description": "The property to order by." | 790 "description": "The property to order by." |
| 767 } | 791 } |
| 768 }, | 792 }, |
| 769 "type": "object" | 793 "type": "object" |
| 770 }, | 794 }, |
| 771 "PropertyReference": { | 795 "PropertyReference": { |
| 796 "description": "A reference to a property relative to the kind expre
ssions.", |
| 772 "id": "PropertyReference", | 797 "id": "PropertyReference", |
| 773 "properties": { | 798 "properties": { |
| 774 "name": { | 799 "name": { |
| 775 "description": "The name of the property.", | 800 "description": "The name of the property.", |
| 776 "type": "string" | 801 "type": "string" |
| 777 } | 802 } |
| 778 }, | 803 }, |
| 779 "type": "object" | 804 "type": "object" |
| 780 }, | 805 }, |
| 781 "Query": { | 806 "Query": { |
| 807 "description": "A query.", |
| 782 "id": "Query", | 808 "id": "Query", |
| 783 "properties": { | 809 "properties": { |
| 784 "endCursor": { | 810 "endCursor": { |
| 785 "description": "An ending point for the query results. Optio
nal. Query cursors are returned in query result batches.", | 811 "description": "An ending point for the query results. Optio
nal. Query cursors are returned in query result batches.", |
| 786 "format": "byte", | 812 "format": "byte", |
| 787 "type": "string" | 813 "type": "string" |
| 788 }, | 814 }, |
| 789 "filter": { | 815 "filter": { |
| 790 "$ref": "Filter", | 816 "$ref": "Filter", |
| 791 "description": "The filter to apply (optional)." | 817 "description": "The filter to apply (optional)." |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 }, | 856 }, |
| 831 "startCursor": { | 857 "startCursor": { |
| 832 "description": "A starting point for the query results. Opti
onal. Query cursors are returned in query result batches.", | 858 "description": "A starting point for the query results. Opti
onal. Query cursors are returned in query result batches.", |
| 833 "format": "byte", | 859 "format": "byte", |
| 834 "type": "string" | 860 "type": "string" |
| 835 } | 861 } |
| 836 }, | 862 }, |
| 837 "type": "object" | 863 "type": "object" |
| 838 }, | 864 }, |
| 839 "QueryResultBatch": { | 865 "QueryResultBatch": { |
| 866 "description": "A batch of results produced by a query.", |
| 840 "id": "QueryResultBatch", | 867 "id": "QueryResultBatch", |
| 841 "properties": { | 868 "properties": { |
| 842 "endCursor": { | 869 "endCursor": { |
| 843 "description": "A cursor that points to the position after t
he last result in the batch. May be absent.", | 870 "description": "A cursor that points to the position after t
he last result in the batch. May be absent. TODO(arfuller): Once all plans produ
ce cursors update documentation here.", |
| 844 "format": "byte", | 871 "format": "byte", |
| 845 "type": "string" | 872 "type": "string" |
| 846 }, | 873 }, |
| 847 "entityResultType": { | 874 "entityResultType": { |
| 848 "description": "The result type for every entity in entityRe
sults. full for full entities, projection for entities with only projected prope
rties, keyOnly for entities with only a key.", | 875 "description": "The result type for every entity in entityRe
sults. full for full entities, projection for entities with only projected prope
rties, keyOnly for entities with only a key.", |
| 849 "enum": [ | 876 "enum": [ |
| 850 "FULL", | 877 "FULL", |
| 851 "KEY_ONLY", | 878 "KEY_ONLY", |
| 852 "PROJECTION" | 879 "PROJECTION" |
| 853 ], | 880 ], |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 "$ref": "QueryResultBatch", | 999 "$ref": "QueryResultBatch", |
| 973 "description": "A batch of query results (always present)." | 1000 "description": "A batch of query results (always present)." |
| 974 }, | 1001 }, |
| 975 "header": { | 1002 "header": { |
| 976 "$ref": "ResponseHeader" | 1003 "$ref": "ResponseHeader" |
| 977 } | 1004 } |
| 978 }, | 1005 }, |
| 979 "type": "object" | 1006 "type": "object" |
| 980 }, | 1007 }, |
| 981 "Value": { | 1008 "Value": { |
| 1009 "description": "A message that can hold any of the supported value t
ypes and associated metadata.", |
| 982 "id": "Value", | 1010 "id": "Value", |
| 983 "properties": { | 1011 "properties": { |
| 984 "blobKeyValue": { | 1012 "blobKeyValue": { |
| 985 "description": "A blob key value.", | 1013 "description": "A blob key value.", |
| 986 "type": "string" | 1014 "type": "string" |
| 987 }, | 1015 }, |
| 988 "blobValue": { | 1016 "blobValue": { |
| 989 "description": "A blob value. May be a maximum of 1,000,000
bytes.", | 1017 "description": "A blob value. May be a maximum of 1,000,000
bytes.", |
| 990 "format": "byte", | 1018 "format": "byte", |
| 991 "type": "string" | 1019 "type": "string" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 "type": "string" | 1066 "type": "string" |
| 1039 } | 1067 } |
| 1040 }, | 1068 }, |
| 1041 "type": "object" | 1069 "type": "object" |
| 1042 } | 1070 } |
| 1043 }, | 1071 }, |
| 1044 "servicePath": "datastore/v1beta2/datasets/", | 1072 "servicePath": "datastore/v1beta2/datasets/", |
| 1045 "title": "Google Cloud Datastore API", | 1073 "title": "Google Cloud Datastore API", |
| 1046 "version": "v1beta2" | 1074 "version": "v1beta2" |
| 1047 } | 1075 } |
| OLD | NEW |