| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/datastore": { | 8 "https://www.googleapis.com/auth/datastore": { |
| 9 "description": "View and manage your Google Cloud Datastore
data" | 9 "description": "View and manage your Google Cloud Datastore
data" |
| 10 } | 10 } |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 "$ref": "RollbackResponse" | 276 "$ref": "RollbackResponse" |
| 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 } | 284 } |
| 285 }, | 285 }, |
| 286 "revision": "20160706", | 286 "revision": "20160816", |
| 287 "rootUrl": "https://datastore.googleapis.com/", | 287 "rootUrl": "https://datastore.googleapis.com/", |
| 288 "schemas": { | 288 "schemas": { |
| 289 "Value": { | 289 "Value": { |
| 290 "description": "A message that can hold any of the supported value t
ypes and associated\nmetadata.", | 290 "description": "A message that can hold any of the supported value t
ypes and associated\nmetadata.", |
| 291 "id": "Value", | 291 "id": "Value", |
| 292 "properties": { | 292 "properties": { |
| 293 "stringValue": { | 293 "stringValue": { |
| 294 "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.", | 294 "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.", |
| 295 "type": "string" | 295 "type": "string" |
| 296 }, | 296 }, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 "type": "string" | 354 "type": "string" |
| 355 } | 355 } |
| 356 }, | 356 }, |
| 357 "type": "object" | 357 "type": "object" |
| 358 }, | 358 }, |
| 359 "ReadOptions": { | 359 "ReadOptions": { |
| 360 "description": "The options shared by read requests.", | 360 "description": "The options shared by read requests.", |
| 361 "id": "ReadOptions", | 361 "id": "ReadOptions", |
| 362 "properties": { | 362 "properties": { |
| 363 "transaction": { | 363 "transaction": { |
| 364 "description": "The identifier of the transaction in which t
o read. A\ntransaction identifier is returned by a call to\nBeginTransaction.", | 364 "description": "The identifier of the transaction in which t
o read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTrans
action.", |
| 365 "format": "byte", | 365 "format": "byte", |
| 366 "type": "string" | 366 "type": "string" |
| 367 }, | 367 }, |
| 368 "readConsistency": { | 368 "readConsistency": { |
| 369 "description": "The non-transactional read consistency to us
e.\nCannot be set to `STRONG` for global queries.", | 369 "description": "The non-transactional read consistency to us
e.\nCannot be set to `STRONG` for global queries.", |
| 370 "enum": [ | 370 "enum": [ |
| 371 "READ_CONSISTENCY_UNSPECIFIED", | 371 "READ_CONSISTENCY_UNSPECIFIED", |
| 372 "STRONG", | 372 "STRONG", |
| 373 "EVENTUAL" | 373 "EVENTUAL" |
| 374 ], | 374 ], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 401 "type": "string" | 401 "type": "string" |
| 402 }, | 402 }, |
| 403 "property": { | 403 "property": { |
| 404 "$ref": "PropertyReference", | 404 "$ref": "PropertyReference", |
| 405 "description": "The property to order by." | 405 "description": "The property to order by." |
| 406 } | 406 } |
| 407 }, | 407 }, |
| 408 "type": "object" | 408 "type": "object" |
| 409 }, | 409 }, |
| 410 "CommitRequest": { | 410 "CommitRequest": { |
| 411 "description": "The request for google.datastore.v1beta3.Datastore.C
ommit.", | 411 "description": "The request for Datastore.Commit.", |
| 412 "id": "CommitRequest", | 412 "id": "CommitRequest", |
| 413 "properties": { | 413 "properties": { |
| 414 "transaction": { | 414 "transaction": { |
| 415 "description": "The identifier of the transaction associated
with the commit. A\ntransaction identifier is returned by a call to\nBeginTrans
action.", | 415 "description": "The identifier of the transaction associated
with the commit. A\ntransaction identifier is returned by a call to\nDatastore.
BeginTransaction.", |
| 416 "format": "byte", | 416 "format": "byte", |
| 417 "type": "string" | 417 "type": "string" |
| 418 }, | 418 }, |
| 419 "mode": { | 419 "mode": { |
| 420 "description": "The type of commit to perform. Defaults to `
TRANSACTIONAL`.", | 420 "description": "The type of commit to perform. Defaults to `
TRANSACTIONAL`.", |
| 421 "enum": [ | 421 "enum": [ |
| 422 "MODE_UNSPECIFIED", | 422 "MODE_UNSPECIFIED", |
| 423 "TRANSACTIONAL", | 423 "TRANSACTIONAL", |
| 424 "NON_TRANSACTIONAL" | 424 "NON_TRANSACTIONAL" |
| 425 ], | 425 ], |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 "description": "The kinds to query (if empty, returns entiti
es of all kinds).\nCurrently at most 1 kind may be specified.", | 493 "description": "The kinds to query (if empty, returns entiti
es of all kinds).\nCurrently at most 1 kind may be specified.", |
| 494 "items": { | 494 "items": { |
| 495 "$ref": "KindExpression" | 495 "$ref": "KindExpression" |
| 496 }, | 496 }, |
| 497 "type": "array" | 497 "type": "array" |
| 498 } | 498 } |
| 499 }, | 499 }, |
| 500 "type": "object" | 500 "type": "object" |
| 501 }, | 501 }, |
| 502 "RollbackRequest": { | 502 "RollbackRequest": { |
| 503 "description": "The request for google.datastore.v1beta3.Datastore.R
ollback.", | 503 "description": "The request for Datastore.Rollback.", |
| 504 "id": "RollbackRequest", | 504 "id": "RollbackRequest", |
| 505 "properties": { | 505 "properties": { |
| 506 "transaction": { | 506 "transaction": { |
| 507 "description": "The transaction identifier, returned by a ca
ll to\ngoogle.datastore.v1beta3.Datastore.BeginTransaction.", | 507 "description": "The transaction identifier, returned by a ca
ll to\nDatastore.BeginTransaction.", |
| 508 "format": "byte", | 508 "format": "byte", |
| 509 "type": "string" | 509 "type": "string" |
| 510 } | 510 } |
| 511 }, | 511 }, |
| 512 "type": "object" | 512 "type": "object" |
| 513 }, | 513 }, |
| 514 "EntityResult": { | 514 "EntityResult": { |
| 515 "description": "The result of fetching an entity from Datastore.", | 515 "description": "The result of fetching an entity from Datastore.", |
| 516 "id": "EntityResult", | 516 "id": "EntityResult", |
| 517 "properties": { | 517 "properties": { |
| 518 "cursor": { | 518 "cursor": { |
| 519 "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.", | 519 "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.", |
| 520 "format": "byte", | 520 "format": "byte", |
| 521 "type": "string" | 521 "type": "string" |
| 522 }, | 522 }, |
| 523 "entity": { | 523 "entity": { |
| 524 "$ref": "Entity", | 524 "$ref": "Entity", |
| 525 "description": "The resulting entity." | 525 "description": "The resulting entity." |
| 526 }, |
| 527 "version": { |
| 528 "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.", |
| 529 "format": "int64", |
| 530 "type": "string" |
| 526 } | 531 } |
| 527 }, | 532 }, |
| 528 "type": "object" | 533 "type": "object" |
| 529 }, | 534 }, |
| 530 "GqlQueryParameter": { | 535 "GqlQueryParameter": { |
| 531 "description": "A binding parameter for a GQL query.", | 536 "description": "A binding parameter for a GQL query.", |
| 532 "id": "GqlQueryParameter", | 537 "id": "GqlQueryParameter", |
| 533 "properties": { | 538 "properties": { |
| 534 "value": { | 539 "value": { |
| 535 "$ref": "Value", | 540 "$ref": "Value", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 566 "description": "A filter on a property." | 571 "description": "A filter on a property." |
| 567 }, | 572 }, |
| 568 "compositeFilter": { | 573 "compositeFilter": { |
| 569 "$ref": "CompositeFilter", | 574 "$ref": "CompositeFilter", |
| 570 "description": "A composite filter." | 575 "description": "A composite filter." |
| 571 } | 576 } |
| 572 }, | 577 }, |
| 573 "type": "object" | 578 "type": "object" |
| 574 }, | 579 }, |
| 575 "BeginTransactionResponse": { | 580 "BeginTransactionResponse": { |
| 576 "description": "The response for google.datastore.v1beta3.Datastore.
BeginTransaction.", | 581 "description": "The response for Datastore.BeginTransaction.", |
| 577 "id": "BeginTransactionResponse", | 582 "id": "BeginTransactionResponse", |
| 578 "properties": { | 583 "properties": { |
| 579 "transaction": { | 584 "transaction": { |
| 580 "description": "The transaction identifier (always present).
", | 585 "description": "The transaction identifier (always present).
", |
| 581 "format": "byte", | 586 "format": "byte", |
| 582 "type": "string" | 587 "type": "string" |
| 583 } | 588 } |
| 584 }, | 589 }, |
| 585 "type": "object" | 590 "type": "object" |
| 586 }, | 591 }, |
| 587 "PartitionId": { | 592 "PartitionId": { |
| 588 "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.", | 593 "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.", |
| 589 "id": "PartitionId", | 594 "id": "PartitionId", |
| 590 "properties": { | 595 "properties": { |
| 591 "namespaceId": { | 596 "namespaceId": { |
| 592 "description": "If not empty, the ID of the namespace to whi
ch the entities belong.", | 597 "description": "If not empty, the ID of the namespace to whi
ch the entities belong.", |
| 593 "type": "string" | 598 "type": "string" |
| 594 }, | 599 }, |
| 595 "projectId": { | 600 "projectId": { |
| 596 "description": "The ID of the project to which the entities
belong.", | 601 "description": "The ID of the project to which the entities
belong.", |
| 597 "type": "string" | 602 "type": "string" |
| 598 } | 603 } |
| 599 }, | 604 }, |
| 600 "type": "object" | 605 "type": "object" |
| 601 }, | 606 }, |
| 602 "QueryResultBatch": { | 607 "QueryResultBatch": { |
| 603 "description": "A batch of results produced by a query.", | 608 "description": "A batch of results produced by a query.", |
| 604 "id": "QueryResultBatch", | 609 "id": "QueryResultBatch", |
| 605 "properties": { | 610 "properties": { |
| 611 "snapshotVersion": { |
| 612 "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."
, |
| 613 "format": "int64", |
| 614 "type": "string" |
| 615 }, |
| 606 "endCursor": { | 616 "endCursor": { |
| 607 "description": "A cursor that points to the position after t
he last result in the batch.", | 617 "description": "A cursor that points to the position after t
he last result in the batch.", |
| 608 "format": "byte", | 618 "format": "byte", |
| 609 "type": "string" | 619 "type": "string" |
| 610 }, | 620 }, |
| 611 "skippedCursor": { | 621 "skippedCursor": { |
| 612 "description": "A cursor that points to the position after t
he last skipped result.\nWill be set when `skipped_results` != 0.", | 622 "description": "A cursor that points to the position after t
he last skipped result.\nWill be set when `skipped_results` != 0.", |
| 613 "format": "byte", | 623 "format": "byte", |
| 614 "type": "string" | 624 "type": "string" |
| 615 }, | 625 }, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 635 "MORE_RESULTS_TYPE_UNSPECIFIED", | 645 "MORE_RESULTS_TYPE_UNSPECIFIED", |
| 636 "NOT_FINISHED", | 646 "NOT_FINISHED", |
| 637 "MORE_RESULTS_AFTER_LIMIT", | 647 "MORE_RESULTS_AFTER_LIMIT", |
| 638 "MORE_RESULTS_AFTER_CURSOR", | 648 "MORE_RESULTS_AFTER_CURSOR", |
| 639 "NO_MORE_RESULTS" | 649 "NO_MORE_RESULTS" |
| 640 ], | 650 ], |
| 641 "enumDescriptions": [ | 651 "enumDescriptions": [ |
| 642 "Unspecified. This value is never used.", | 652 "Unspecified. This value is never used.", |
| 643 "There may be additional batches to fetch from this quer
y.", | 653 "There may be additional batches to fetch from this quer
y.", |
| 644 "The query is finished, but there may be more results af
ter the limit.", | 654 "The query is finished, but there may be more results af
ter the limit.", |
| 645 "The query is finished, but there may be more results af
ter the end cursor.", | 655 "The query is finished, but there may be more results af
ter the end\ncursor.", |
| 646 "The query has been exhausted." | 656 "The query has been exhausted." |
| 647 ], | 657 ], |
| 648 "type": "string" | 658 "type": "string" |
| 649 }, | 659 }, |
| 650 "entityResults": { | 660 "entityResults": { |
| 651 "description": "The results for this batch.", | 661 "description": "The results for this batch.", |
| 652 "items": { | 662 "items": { |
| 653 "$ref": "EntityResult" | 663 "$ref": "EntityResult" |
| 654 }, | 664 }, |
| 655 "type": "array" | 665 "type": "array" |
| 656 }, | 666 }, |
| 657 "skippedResults": { | 667 "skippedResults": { |
| 658 "description": "The number of results skipped, typically bec
ause of an offset.", | 668 "description": "The number of results skipped, typically bec
ause of an offset.", |
| 659 "format": "int32", | 669 "format": "int32", |
| 660 "type": "integer" | 670 "type": "integer" |
| 661 } | 671 } |
| 662 }, | 672 }, |
| 663 "type": "object" | 673 "type": "object" |
| 664 }, | 674 }, |
| 665 "AllocateIdsRequest": { | 675 "AllocateIdsRequest": { |
| 666 "description": "The request for google.datastore.v1beta3.Datastore.A
llocateIds.", | 676 "description": "The request for Datastore.AllocateIds.", |
| 667 "id": "AllocateIdsRequest", | 677 "id": "AllocateIdsRequest", |
| 668 "properties": { | 678 "properties": { |
| 669 "keys": { | 679 "keys": { |
| 670 "description": "A list of keys with incomplete key paths for
which to allocate IDs.\nNo key may be reserved/read-only.", | 680 "description": "A list of keys with incomplete key paths for
which to allocate IDs.\nNo key may be reserved/read-only.", |
| 671 "items": { | 681 "items": { |
| 672 "$ref": "Key" | 682 "$ref": "Key" |
| 673 }, | 683 }, |
| 674 "type": "array" | 684 "type": "array" |
| 675 } | 685 } |
| 676 }, | 686 }, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 "type": "string" | 748 "type": "string" |
| 739 }, | 749 }, |
| 740 "name": { | 750 "name": { |
| 741 "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 `\"\"`.", | 751 "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 `\"\"`.", |
| 742 "type": "string" | 752 "type": "string" |
| 743 } | 753 } |
| 744 }, | 754 }, |
| 745 "type": "object" | 755 "type": "object" |
| 746 }, | 756 }, |
| 747 "RollbackResponse": { | 757 "RollbackResponse": { |
| 748 "description": "The response for google.datastore.v1beta3.Datastore.
Rollback\n(an empty message).", | 758 "description": "The response for Datastore.Rollback.\n(an empty mess
age).", |
| 749 "id": "RollbackResponse", | 759 "id": "RollbackResponse", |
| 750 "properties": {}, | 760 "properties": {}, |
| 751 "type": "object" | 761 "type": "object" |
| 752 }, | 762 }, |
| 753 "PropertyReference": { | 763 "PropertyReference": { |
| 754 "description": "A reference to a property relative to the kind expre
ssions.", | 764 "description": "A reference to a property relative to the kind expre
ssions.", |
| 755 "id": "PropertyReference", | 765 "id": "PropertyReference", |
| 756 "properties": { | 766 "properties": { |
| 757 "name": { | 767 "name": { |
| 758 "description": "The name of the property.\nIf name includes
\".\"s, it may be interpreted as a property name path.", | 768 "description": "The name of the property.\nIf name includes
\".\"s, it may be interpreted as a property name path.", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 769 "$ref": "PropertyReference", | 779 "$ref": "PropertyReference", |
| 770 "description": "The property to project." | 780 "description": "The property to project." |
| 771 } | 781 } |
| 772 }, | 782 }, |
| 773 "type": "object" | 783 "type": "object" |
| 774 }, | 784 }, |
| 775 "MutationResult": { | 785 "MutationResult": { |
| 776 "description": "The result of applying a mutation.", | 786 "description": "The result of applying a mutation.", |
| 777 "id": "MutationResult", | 787 "id": "MutationResult", |
| 778 "properties": { | 788 "properties": { |
| 789 "conflictDetected": { |
| 790 "description": "Whether a conflict was detected for this mut
ation. Always false when a\nconflict detection strategy field is not set in the
mutation.", |
| 791 "type": "boolean" |
| 792 }, |
| 779 "key": { | 793 "key": { |
| 780 "$ref": "Key", | 794 "$ref": "Key", |
| 781 "description": "The automatically allocated key.\nSet only w
hen the mutation allocated a key." | 795 "description": "The automatically allocated key.\nSet only w
hen the mutation allocated a key." |
| 796 }, |
| 797 "version": { |
| 798 "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.", |
| 799 "format": "int64", |
| 800 "type": "string" |
| 782 } | 801 } |
| 783 }, | 802 }, |
| 784 "type": "object" | 803 "type": "object" |
| 785 }, | 804 }, |
| 786 "AllocateIdsResponse": { | 805 "AllocateIdsResponse": { |
| 787 "description": "The response for google.datastore.v1beta3.Datastore.
AllocateIds.", | 806 "description": "The response for Datastore.AllocateIds.", |
| 788 "id": "AllocateIdsResponse", | 807 "id": "AllocateIdsResponse", |
| 789 "properties": { | 808 "properties": { |
| 790 "keys": { | 809 "keys": { |
| 791 "description": "The keys specified in the request (in the sa
me order), each with\nits key path completed with a newly allocated ID.", | 810 "description": "The keys specified in the request (in the sa
me order), each with\nits key path completed with a newly allocated ID.", |
| 792 "items": { | 811 "items": { |
| 793 "$ref": "Key" | 812 "$ref": "Key" |
| 794 }, | 813 }, |
| 795 "type": "array" | 814 "type": "array" |
| 796 } | 815 } |
| 797 }, | 816 }, |
| 798 "type": "object" | 817 "type": "object" |
| 799 }, | 818 }, |
| 800 "LookupResponse": { | 819 "LookupResponse": { |
| 801 "description": "The response for google.datastore.v1beta3.Datastore.
Lookup.", | 820 "description": "The response for Datastore.Lookup.", |
| 802 "id": "LookupResponse", | 821 "id": "LookupResponse", |
| 803 "properties": { | 822 "properties": { |
| 804 "found": { | 823 "found": { |
| 805 "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.", | 824 "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.", |
| 806 "items": { | 825 "items": { |
| 807 "$ref": "EntityResult" | 826 "$ref": "EntityResult" |
| 808 }, | 827 }, |
| 809 "type": "array" | 828 "type": "array" |
| 810 }, | 829 }, |
| 811 "missing": { | 830 "missing": { |
| 812 "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.", | 831 "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.", |
| 813 "items": { | 832 "items": { |
| 814 "$ref": "EntityResult" | 833 "$ref": "EntityResult" |
| 815 }, | 834 }, |
| 816 "type": "array" | 835 "type": "array" |
| 817 }, | 836 }, |
| 818 "deferred": { | 837 "deferred": { |
| 819 "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.", | 838 "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.", |
| 820 "items": { | 839 "items": { |
| 821 "$ref": "Key" | 840 "$ref": "Key" |
| 822 }, | 841 }, |
| 823 "type": "array" | 842 "type": "array" |
| 824 } | 843 } |
| 825 }, | 844 }, |
| 826 "type": "object" | 845 "type": "object" |
| 827 }, | 846 }, |
| 828 "BeginTransactionRequest": { | 847 "BeginTransactionRequest": { |
| 829 "description": "The request for google.datastore.v1beta3.Datastore.B
eginTransaction.", | 848 "description": "The request for Datastore.BeginTransaction.", |
| 830 "id": "BeginTransactionRequest", | 849 "id": "BeginTransactionRequest", |
| 831 "properties": {}, | 850 "properties": {}, |
| 832 "type": "object" | 851 "type": "object" |
| 833 }, | 852 }, |
| 834 "Key": { | 853 "Key": { |
| 835 "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.", | 854 "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.", |
| 836 "id": "Key", | 855 "id": "Key", |
| 837 "properties": { | 856 "properties": { |
| 838 "partitionId": { | 857 "partitionId": { |
| 839 "$ref": "PartitionId", | 858 "$ref": "PartitionId", |
| 840 "description": "Entities are partitioned into subsets, curre
ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing
le partition." | 859 "description": "Entities are partitioned into subsets, curre
ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing
le partition." |
| 841 }, | 860 }, |
| 842 "path": { | 861 "path": { |
| 843 "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.", | 862 "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.", |
| 844 "items": { | 863 "items": { |
| 845 "$ref": "PathElement" | 864 "$ref": "PathElement" |
| 846 }, | 865 }, |
| 847 "type": "array" | 866 "type": "array" |
| 848 } | 867 } |
| 849 }, | 868 }, |
| 850 "type": "object" | 869 "type": "object" |
| 851 }, | 870 }, |
| 852 "RunQueryResponse": { | 871 "RunQueryResponse": { |
| 853 "description": "The response for google.datastore.v1beta3.Datastore.
RunQuery.", | 872 "description": "The response for Datastore.RunQuery.", |
| 854 "id": "RunQueryResponse", | 873 "id": "RunQueryResponse", |
| 855 "properties": { | 874 "properties": { |
| 856 "batch": { | 875 "batch": { |
| 857 "$ref": "QueryResultBatch", | 876 "$ref": "QueryResultBatch", |
| 858 "description": "A batch of query results (always present)." | 877 "description": "A batch of query results (always present)." |
| 859 }, | 878 }, |
| 860 "query": { | 879 "query": { |
| 861 "$ref": "Query", | 880 "$ref": "Query", |
| 862 "description": "The parsed form of the `GqlQuery` from the r
equest, if it was set." | 881 "description": "The parsed form of the `GqlQuery` from the r
equest, if it was set." |
| 863 } | 882 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 887 "id": "GqlQuery", | 906 "id": "GqlQuery", |
| 888 "properties": { | 907 "properties": { |
| 889 "queryString": { | 908 "queryString": { |
| 890 "description": "A string of the format described\n[here](htt
ps://cloud.google.com/datastore/docs/apis/gql/gql_reference).", | 909 "description": "A string of the format described\n[here](htt
ps://cloud.google.com/datastore/docs/apis/gql/gql_reference).", |
| 891 "type": "string" | 910 "type": "string" |
| 892 }, | 911 }, |
| 893 "namedBindings": { | 912 "namedBindings": { |
| 894 "additionalProperties": { | 913 "additionalProperties": { |
| 895 "$ref": "GqlQueryParameter" | 914 "$ref": "GqlQueryParameter" |
| 896 }, | 915 }, |
| 897 "description": "For each non-reserved named binding site in
the query string,\nthere must be a named parameter with that name,\nbut not nece
ssarily the inverse.\nKey must match regex `A-Za-z_$*`, must not match regex\n`_
_.*__`, and must not be `\"\"`.", | 916 "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 `\"\"`.", |
| 898 "type": "object" | 917 "type": "object" |
| 899 }, | 918 }, |
| 900 "allowLiterals": { | 919 "allowLiterals": { |
| 901 "description": "When false, the query string must not contai
n any literals and instead\nmust bind 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.", | 920 "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.", |
| 902 "type": "boolean" | 921 "type": "boolean" |
| 903 }, | 922 }, |
| 904 "positionalBindings": { | 923 "positionalBindings": { |
| 905 "description": "Numbered binding site @1 references the firs
t numbered parameter,\neffectively using 1-based indexing, rather than the usual
0.\nFor each binding site numbered i in `query_string`,\nthere must be an i-th
numbered parameter.\nThe inverse must also be true.", | 924 "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.", |
| 906 "items": { | 925 "items": { |
| 907 "$ref": "GqlQueryParameter" | 926 "$ref": "GqlQueryParameter" |
| 908 }, | 927 }, |
| 909 "type": "array" | 928 "type": "array" |
| 910 } | 929 } |
| 911 }, | 930 }, |
| 912 "type": "object" | 931 "type": "object" |
| 913 }, | 932 }, |
| 914 "Mutation": { | 933 "Mutation": { |
| 915 "description": "A mutation to apply to an entity.", | 934 "description": "A mutation to apply to an entity.", |
| 916 "id": "Mutation", | 935 "id": "Mutation", |
| 917 "properties": { | 936 "properties": { |
| 918 "insert": { | 937 "insert": { |
| 919 "$ref": "Entity", | 938 "$ref": "Entity", |
| 920 "description": "The entity to insert. The entity must not al
ready exist.\nThe entity key's final path element may be incomplete." | 939 "description": "The entity to insert. The entity must not al
ready exist.\nThe entity key's final path element may be incomplete." |
| 921 }, | 940 }, |
| 922 "update": { | 941 "update": { |
| 923 "$ref": "Entity", | 942 "$ref": "Entity", |
| 924 "description": "The entity to update. The entity must alread
y exist.\nMust have a complete key path." | 943 "description": "The entity to update. The entity must alread
y exist.\nMust have a complete key path." |
| 925 }, | 944 }, |
| 945 "baseVersion": { |
| 946 "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.", |
| 947 "format": "int64", |
| 948 "type": "string" |
| 949 }, |
| 926 "upsert": { | 950 "upsert": { |
| 927 "$ref": "Entity", | 951 "$ref": "Entity", |
| 928 "description": "The entity to upsert. The entity may or may
not already exist.\nThe entity key's final path element may be incomplete." | 952 "description": "The entity to upsert. The entity may or may
not already exist.\nThe entity key's final path element may be incomplete." |
| 929 }, | 953 }, |
| 930 "delete": { | 954 "delete": { |
| 931 "$ref": "Key", | 955 "$ref": "Key", |
| 932 "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." | 956 "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." |
| 933 } | 957 } |
| 934 }, | 958 }, |
| 935 "type": "object" | 959 "type": "object" |
| 936 }, | 960 }, |
| 937 "CommitResponse": { | 961 "CommitResponse": { |
| 938 "description": "The response for google.datastore.v1beta3.Datastore.
Commit.", | 962 "description": "The response for Datastore.Commit.", |
| 939 "id": "CommitResponse", | 963 "id": "CommitResponse", |
| 940 "properties": { | 964 "properties": { |
| 941 "mutationResults": { | 965 "mutationResults": { |
| 942 "description": "The result of performing the mutations.\nThe
i-th mutation result corresponds to the i-th mutation in the request.", | 966 "description": "The result of performing the mutations.\nThe
i-th mutation result corresponds to the i-th mutation in the request.", |
| 943 "items": { | 967 "items": { |
| 944 "$ref": "MutationResult" | 968 "$ref": "MutationResult" |
| 945 }, | 969 }, |
| 946 "type": "array" | 970 "type": "array" |
| 947 }, | 971 }, |
| 948 "indexUpdates": { | 972 "indexUpdates": { |
| 949 "description": "The number of index entries updated during t
he commit, or zero if none were\nupdated.", | 973 "description": "The number of index entries updated during t
he commit, or zero if none were\nupdated.", |
| 950 "format": "int32", | 974 "format": "int32", |
| 951 "type": "integer" | 975 "type": "integer" |
| 952 } | 976 } |
| 953 }, | 977 }, |
| 954 "type": "object" | 978 "type": "object" |
| 955 }, | 979 }, |
| 956 "RunQueryRequest": { | 980 "RunQueryRequest": { |
| 957 "description": "The request for google.datastore.v1beta3.Datastore.R
unQuery.", | 981 "description": "The request for Datastore.RunQuery.", |
| 958 "id": "RunQueryRequest", | 982 "id": "RunQueryRequest", |
| 959 "properties": { | 983 "properties": { |
| 960 "partitionId": { | 984 "partitionId": { |
| 961 "$ref": "PartitionId", | 985 "$ref": "PartitionId", |
| 962 "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." | 986 "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." |
| 963 }, | 987 }, |
| 964 "gqlQuery": { | 988 "gqlQuery": { |
| 965 "$ref": "GqlQuery", | 989 "$ref": "GqlQuery", |
| 966 "description": "The GQL query to run." | 990 "description": "The GQL query to run." |
| 967 }, | 991 }, |
| 968 "readOptions": { | 992 "readOptions": { |
| 969 "$ref": "ReadOptions", | 993 "$ref": "ReadOptions", |
| 970 "description": "The options for this query." | 994 "description": "The options for this query." |
| 971 }, | 995 }, |
| 972 "query": { | 996 "query": { |
| 973 "$ref": "Query", | 997 "$ref": "Query", |
| 974 "description": "The query to run." | 998 "description": "The query to run." |
| 975 } | 999 } |
| 976 }, | 1000 }, |
| 977 "type": "object" | 1001 "type": "object" |
| 978 }, | 1002 }, |
| 979 "LookupRequest": { | 1003 "LookupRequest": { |
| 980 "description": "The request for google.datastore.v1beta3.Datastore.L
ookup.", | 1004 "description": "The request for Datastore.Lookup.", |
| 981 "id": "LookupRequest", | 1005 "id": "LookupRequest", |
| 982 "properties": { | 1006 "properties": { |
| 983 "readOptions": { | 1007 "readOptions": { |
| 984 "$ref": "ReadOptions", | 1008 "$ref": "ReadOptions", |
| 985 "description": "The options for this lookup request." | 1009 "description": "The options for this lookup request." |
| 986 }, | 1010 }, |
| 987 "keys": { | 1011 "keys": { |
| 988 "description": "Keys of entities to look up.", | 1012 "description": "Keys of entities to look up.", |
| 989 "items": { | 1013 "items": { |
| 990 "$ref": "Key" | 1014 "$ref": "Key" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1035 "type": "array" | 1059 "type": "array" |
| 1036 } | 1060 } |
| 1037 }, | 1061 }, |
| 1038 "type": "object" | 1062 "type": "object" |
| 1039 } | 1063 } |
| 1040 }, | 1064 }, |
| 1041 "servicePath": "", | 1065 "servicePath": "", |
| 1042 "title": "Google Cloud Datastore API", | 1066 "title": "Google Cloud Datastore API", |
| 1043 "version": "v1beta3" | 1067 "version": "v1beta3" |
| 1044 } | 1068 } |
| OLD | NEW |