google-cloud-datastore-v1 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa99477dff9c2ddb432fa51e5714ecdc61e7179a259b19093c2feb102bfdaef4
4
- data.tar.gz: a4161c7bc6daad45e845631819dddf8b8746e5052df3f6859712251b7ab26166
3
+ metadata.gz: 8a1eb7f6169da11cb8e4310e91c0ea832b15c16924a0fdcc3b81f00b384aa607
4
+ data.tar.gz: cec040af22221d921f632c343d0d3a2584655c427557bcb69b2370950dc69ce2
5
5
  SHA512:
6
- metadata.gz: c2f9f6e7b0b4a631dc31aa8170a9b7d0828acaaabfd28a0bda14d6c8906e58b07de7942a8c2bd1b1e89b4279a7561e33998bbdecbb783e10462b76df7ba1036a
7
- data.tar.gz: dc8e68bcda3b91ec4115fb1c30a265e0866df16d76fa0a0870fbf34d0c4e93b98e1194b684d5873497bc20be4968c366c9322c973c4fa91e5fff4c288a4c21c2
6
+ metadata.gz: 25afc8ea8a53188620dd9f377875c63cd75c2b3e454d1029f07ca3d8c7735832fa27da3fb48bd4012a84250a1bd694e55929d72393c7f6c74c664b908b8c6316
7
+ data.tar.gz: 81f94bf17553db58c2ea52648299dacddadb0178fdd43d37f303f5cd06307a4929bd7e43849ed5f7a80abc99fc893078b6d450b2c3754deb3acfe9a0e4c90137
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Datastore::V1::LookupRequest.new # (request fields as
37
37
  response = client.lookup request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-datastore-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-datastore-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/datastore)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastore
23
23
  module V1
24
- VERSION = "0.3.5"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -25,6 +25,8 @@ module Google
25
25
  ##
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
+ # @example
29
+ #
28
30
  # require "google/cloud/datastore/v1"
29
31
  # client = ::Google::Cloud::Datastore::V1::Datastore::Client.new
30
32
  #
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/datastore/v1/datastore.proto for package 'Google.Cloud.Datastore.V1'
3
3
  # Original file comments:
4
- # Copyright 2019 Google LLC.
4
+ # Copyright 2022 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/datastore/v1/entity.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf/struct_pb'
6
5
  require 'google/protobuf/timestamp_pb'
7
6
  require 'google/type/latlng_pb'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/datastore/v1/query.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/datastore/v1/entity_pb'
6
5
  require 'google/protobuf/wrappers_pb'
7
- require 'google/type/latlng_pb'
8
6
  require 'google/protobuf'
9
7
 
10
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -75,7 +73,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
75
73
  value :GREATER_THAN, 3
76
74
  value :GREATER_THAN_OR_EQUAL, 4
77
75
  value :EQUAL, 5
76
+ value :IN, 6
77
+ value :NOT_EQUAL, 9
78
78
  value :HAS_ANCESTOR, 11
79
+ value :NOT_IN, 13
79
80
  end
80
81
  add_message "google.datastore.v1.GqlQuery" do
81
82
  optional :query_string, :string, 1
@@ -258,8 +258,9 @@ module Google
258
258
  # Must have a complete key path and must not be reserved/read-only.
259
259
  # @!attribute [rw] base_version
260
260
  # @return [::Integer]
261
- # The version of the entity that this mutation is being applied to. If this
262
- # does not match the current version on the server, the mutation conflicts.
261
+ # The version of the entity that this mutation is being applied
262
+ # to. If this does not match the current version on the server, the
263
+ # mutation conflicts.
263
264
  class Mutation
264
265
  include ::Google::Protobuf::MessageExts
265
266
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -39,8 +39,7 @@ module Google
39
39
  #
40
40
  # Foreign partition IDs (in which the project ID does
41
41
  # not match the context project ID ) are discouraged.
42
- # Reads and writes of foreign partition IDs may fail if the project is not in
43
- # an active state.
42
+ # Reads and writes of foreign partition IDs may fail if the project is not in an active state.
44
43
  # @!attribute [rw] project_id
45
44
  # @return [::String]
46
45
  # The ID of the project to which the entities belong.
@@ -146,8 +145,8 @@ module Google
146
145
  # @!attribute [rw] string_value
147
146
  # @return [::String]
148
147
  # A UTF-8 encoded string value.
149
- # When `exclude_from_indexes` is false (it is indexed), may have at most
150
- # 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
148
+ # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
149
+ # Otherwise, may be set to at most 1,000,000 bytes.
151
150
  # @!attribute [rw] blob_value
152
151
  # @return [::String]
153
152
  # A blob value.
@@ -215,23 +215,68 @@ module Google
215
215
  # Unspecified. This value must not be used.
216
216
  OPERATOR_UNSPECIFIED = 0
217
217
 
218
- # Less than.
218
+ # The given `property` is less than the given `value`.
219
+ #
220
+ # Requires:
221
+ #
222
+ # * That `property` comes first in `order_by`.
219
223
  LESS_THAN = 1
220
224
 
221
- # Less than or equal.
225
+ # The given `property` is less than or equal to the given `value`.
226
+ #
227
+ # Requires:
228
+ #
229
+ # * That `property` comes first in `order_by`.
222
230
  LESS_THAN_OR_EQUAL = 2
223
231
 
224
- # Greater than.
232
+ # The given `property` is greater than the given `value`.
233
+ #
234
+ # Requires:
235
+ #
236
+ # * That `property` comes first in `order_by`.
225
237
  GREATER_THAN = 3
226
238
 
227
- # Greater than or equal.
239
+ # The given `property` is greater than or equal to the given `value`.
240
+ #
241
+ # Requires:
242
+ #
243
+ # * That `property` comes first in `order_by`.
228
244
  GREATER_THAN_OR_EQUAL = 4
229
245
 
230
- # Equal.
246
+ # The given `property` is equal to the given `value`.
231
247
  EQUAL = 5
232
248
 
233
- # Has ancestor.
249
+ # The given `property` is equal to at least one value in the given array.
250
+ #
251
+ # Requires:
252
+ #
253
+ # * That `value` is a non-empty `ArrayValue` with at most 10 values.
254
+ # * No other `IN` or `NOT_IN` is in the same query.
255
+ IN = 6
256
+
257
+ # The given `property` is not equal to the given `value`.
258
+ #
259
+ # Requires:
260
+ #
261
+ # * No other `NOT_EQUAL` or `NOT_IN` is in the same query.
262
+ # * That `property` comes first in the `order_by`.
263
+ NOT_EQUAL = 9
264
+
265
+ # Limit the result set to the given entity and its descendants.
266
+ #
267
+ # Requires:
268
+ #
269
+ # * That `value` is an entity key.
234
270
  HAS_ANCESTOR = 11
271
+
272
+ # The value of the `property` is not in the given array.
273
+ #
274
+ # Requires:
275
+ #
276
+ # * That `value` is a non-empty `ArrayValue` with at most 10 values.
277
+ # * No other `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query.
278
+ # * That `field` comes first in the `order_by`.
279
+ NOT_IN = 13
235
280
  end
236
281
  end
237
282
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-datastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.3.4
211
+ rubygems_version: 3.3.5
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: API Client library for the Firestore in Datastore mode V1 API