Skip to content

Commit

Permalink
chore: add IN/NOT_IN/NOT_EQUALS support to cloud datastore proto (#284)
Browse files Browse the repository at this point in the history
* feat: add IN/NOT_IN/NOT_EQUALS support to cloud datastore proto

PiperOrigin-RevId: 434824722

Source-Link: googleapis/googleapis@4bfdcd3

Source-Link: googleapis/googleapis-gen@5982b9b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTk4MmI5YjA4NTM4OGQ2YzlhOTBhNTU3OGViZTQ3NTE4ZmUwOTMyZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 16, 2022
1 parent 2f9fc9b commit 7cac1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/datastore_v1/types/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class Value(proto.Message):
This field is a member of `oneof`_ ``value_type``.
string_value (str):
A UTF-8 encoded string value. When ``exclude_from_indexes``
is false (it is indexed), may have at most 1500 bytes.
is false (it is indexed) , may have at most 1500 bytes.
Otherwise, may be set to at most 1,000,000 bytes.
This field is a member of `oneof`_ ``value_type``.
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/datastore_v1/types/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ class Operator(proto.Enum):
GREATER_THAN = 3
GREATER_THAN_OR_EQUAL = 4
EQUAL = 5
IN = 6
NOT_EQUAL = 9
HAS_ANCESTOR = 11
NOT_IN = 13

property = proto.Field(proto.MESSAGE, number=1, message="PropertyReference",)
op = proto.Field(proto.ENUM, number=2, enum=Operator,)
Expand Down

0 comments on commit 7cac1a3

Please sign in to comment.