google-cloud-firestore-v1 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +72 -101
  3. data/README.md +2 -2
  4. data/lib/google/cloud/firestore/v1/firestore/client.rb +81 -29
  5. data/lib/google/cloud/firestore/v1/firestore/rest/client.rb +1887 -0
  6. data/lib/google/cloud/firestore/v1/firestore/rest/service_stub.rb +933 -0
  7. data/lib/google/cloud/firestore/v1/firestore/rest.rb +58 -0
  8. data/lib/google/cloud/firestore/v1/firestore.rb +6 -0
  9. data/lib/google/cloud/firestore/v1/rest.rb +37 -0
  10. data/lib/google/cloud/firestore/v1/version.rb +1 -1
  11. data/lib/google/cloud/firestore/v1.rb +5 -0
  12. data/lib/google/firestore/v1/aggregation_result_pb.rb +25 -4
  13. data/lib/google/firestore/v1/bloom_filter_pb.rb +43 -0
  14. data/lib/google/firestore/v1/common_pb.rb +25 -24
  15. data/lib/google/firestore/v1/document_pb.rb +26 -28
  16. data/lib/google/firestore/v1/firestore_pb.rb +33 -219
  17. data/lib/google/firestore/v1/firestore_services_pb.rb +3 -3
  18. data/lib/google/firestore/v1/query_pb.rb +28 -96
  19. data/lib/google/firestore/v1/write_pb.rb +29 -53
  20. data/proto_docs/google/api/client.rb +81 -4
  21. data/proto_docs/google/api/field_behavior.rb +14 -0
  22. data/proto_docs/google/firestore/v1/bloom_filter.rb +79 -0
  23. data/proto_docs/google/firestore/v1/common.rb +7 -1
  24. data/proto_docs/google/firestore/v1/document.rb +12 -12
  25. data/proto_docs/google/firestore/v1/firestore.rb +58 -11
  26. data/proto_docs/google/firestore/v1/query.rb +82 -12
  27. data/proto_docs/google/firestore/v1/write.rb +18 -0
  28. data/proto_docs/google/protobuf/any.rb +7 -4
  29. data/proto_docs/google/protobuf/struct.rb +1 -1
  30. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  31. metadata +15 -8
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-firestore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.11.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: 2023-02-15 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.21.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.1
29
+ version: 0.21.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.4'
53
+ version: '0.7'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.4'
63
+ version: '0.7'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -194,8 +194,13 @@ files:
194
194
  - lib/google/cloud/firestore/v1/firestore.rb
195
195
  - lib/google/cloud/firestore/v1/firestore/client.rb
196
196
  - lib/google/cloud/firestore/v1/firestore/credentials.rb
197
+ - lib/google/cloud/firestore/v1/firestore/rest.rb
198
+ - lib/google/cloud/firestore/v1/firestore/rest/client.rb
199
+ - lib/google/cloud/firestore/v1/firestore/rest/service_stub.rb
200
+ - lib/google/cloud/firestore/v1/rest.rb
197
201
  - lib/google/cloud/firestore/v1/version.rb
198
202
  - lib/google/firestore/v1/aggregation_result_pb.rb
203
+ - lib/google/firestore/v1/bloom_filter_pb.rb
199
204
  - lib/google/firestore/v1/common_pb.rb
200
205
  - lib/google/firestore/v1/document_pb.rb
201
206
  - lib/google/firestore/v1/firestore_pb.rb
@@ -208,6 +213,7 @@ files:
208
213
  - proto_docs/google/api/launch_stage.rb
209
214
  - proto_docs/google/api/resource.rb
210
215
  - proto_docs/google/firestore/v1/aggregation_result.rb
216
+ - proto_docs/google/firestore/v1/bloom_filter.rb
211
217
  - proto_docs/google/firestore/v1/common.rb
212
218
  - proto_docs/google/firestore/v1/document.rb
213
219
  - proto_docs/google/firestore/v1/firestore.rb
@@ -240,8 +246,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
246
  - !ruby/object:Gem::Version
241
247
  version: '0'
242
248
  requirements: []
243
- rubygems_version: 3.4.2
249
+ rubygems_version: 3.5.3
244
250
  signing_key:
245
251
  specification_version: 4
246
- summary: API Client library for the Cloud Firestore V1 API
252
+ summary: Accesses the NoSQL document database built for automatic scaling, high performance,
253
+ and ease of application development.
247
254
  test_files: []