google-cloud-firestore-v1 0.5.0 → 0.6.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd8c5117167e630dbb3e396da647c0aef398fd168f3aa7fa7b4d4e0bf0b37406
|
4
|
+
data.tar.gz: 42a8a4c062a1c3325e421ab2b8376ca987193f8ccba3ec96dee8e530a2a3abbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 935861b273a177c48be6f1559073a31fcb9f63bbff327950a72d54fbb141be6fa3408932ede9a4dd451b35f77daa6ef5f23ceb4f2f0457987fe0680b8d6faf65
|
7
|
+
data.tar.gz: e1a8cbb46fdc786a38faa7612bdb9970573e9dfddf633fb62e3fe0d9164440bf130499a53cb1562ab3805e18a3cd5dbbb17abfe37283ac318bea20a80719221a
|
data/README.md
CHANGED
@@ -1138,7 +1138,7 @@ module Google
|
|
1138
1138
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1139
1139
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1140
1140
|
#
|
1141
|
-
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil)
|
1141
|
+
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil, read_time: nil)
|
1142
1142
|
# Pass arguments to `partition_query` via keyword arguments. Note that at
|
1143
1143
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1144
1144
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1184,6 +1184,9 @@ module Google
|
|
1184
1184
|
# to PartitionQuery will return up to 8 partitions and a `next_page_token`
|
1185
1185
|
# if more results exist. A second call to PartitionQuery will return up to
|
1186
1186
|
# 2 partitions, to complete the total of 10 specified in `partition_count`.
|
1187
|
+
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
|
1188
|
+
# Reads documents as they were at the given time.
|
1189
|
+
# This may not be older than 270 seconds.
|
1187
1190
|
#
|
1188
1191
|
# @yield [response, operation] Access the result along with the RPC operation
|
1189
1192
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Firestore::V1::Cursor>]
|
@@ -1425,7 +1428,7 @@ module Google
|
|
1425
1428
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1426
1429
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1427
1430
|
#
|
1428
|
-
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil)
|
1431
|
+
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil, read_time: nil)
|
1429
1432
|
# Pass arguments to `list_collection_ids` via keyword arguments. Note that at
|
1430
1433
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1431
1434
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1440,6 +1443,9 @@ module Google
|
|
1440
1443
|
# @param page_token [::String]
|
1441
1444
|
# A page token. Must be a value from
|
1442
1445
|
# {::Google::Cloud::Firestore::V1::ListCollectionIdsResponse ListCollectionIdsResponse}.
|
1446
|
+
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
|
1447
|
+
# Reads documents as they were at the given time.
|
1448
|
+
# This may not be older than 270 seconds.
|
1443
1449
|
#
|
1444
1450
|
# @yield [response, operation] Access the result along with the RPC operation
|
1445
1451
|
# @yieldparam response [::Google::Cloud::Firestore::V1::ListCollectionIdsResponse]
|
@@ -124,6 +124,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
124
124
|
oneof :query_type do
|
125
125
|
optional :structured_query, :message, 2, "google.firestore.v1.StructuredQuery"
|
126
126
|
end
|
127
|
+
oneof :consistency_selector do
|
128
|
+
optional :read_time, :message, 6, "google.protobuf.Timestamp"
|
129
|
+
end
|
127
130
|
end
|
128
131
|
add_message "google.firestore.v1.PartitionQueryResponse" do
|
129
132
|
repeated :partitions, :message, 1, "google.firestore.v1.Cursor"
|
@@ -198,6 +201,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
198
201
|
optional :parent, :string, 1
|
199
202
|
optional :page_size, :int32, 2
|
200
203
|
optional :page_token, :string, 3
|
204
|
+
oneof :consistency_selector do
|
205
|
+
optional :read_time, :message, 4, "google.protobuf.Timestamp"
|
206
|
+
end
|
201
207
|
end
|
202
208
|
add_message "google.firestore.v1.ListCollectionIdsResponse" do
|
203
209
|
repeated :collection_ids, :string, 1
|
@@ -416,6 +416,10 @@ module Google
|
|
416
416
|
# to PartitionQuery will return up to 8 partitions and a `next_page_token`
|
417
417
|
# if more results exist. A second call to PartitionQuery will return up to
|
418
418
|
# 2 partitions, to complete the total of 10 specified in `partition_count`.
|
419
|
+
# @!attribute [rw] read_time
|
420
|
+
# @return [::Google::Protobuf::Timestamp]
|
421
|
+
# Reads documents as they were at the given time.
|
422
|
+
# This may not be older than 270 seconds.
|
419
423
|
class PartitionQueryRequest
|
420
424
|
include ::Google::Protobuf::MessageExts
|
421
425
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -730,6 +734,10 @@ module Google
|
|
730
734
|
# @return [::String]
|
731
735
|
# A page token. Must be a value from
|
732
736
|
# {::Google::Cloud::Firestore::V1::ListCollectionIdsResponse ListCollectionIdsResponse}.
|
737
|
+
# @!attribute [rw] read_time
|
738
|
+
# @return [::Google::Protobuf::Timestamp]
|
739
|
+
# Reads documents as they were at the given time.
|
740
|
+
# This may not be older than 270 seconds.
|
733
741
|
class ListCollectionIdsRequest
|
734
742
|
include ::Google::Protobuf::MessageExts
|
735
743
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '0'
|
217
217
|
requirements: []
|
218
|
-
rubygems_version: 3.3.
|
218
|
+
rubygems_version: 3.3.14
|
219
219
|
signing_key:
|
220
220
|
specification_version: 4
|
221
221
|
summary: API Client library for the Cloud Firestore V1 API
|