google-cloud-firestore-v1 2.4.0 → 2.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 +4 -4
- data/README.md +0 -4
- data/lib/google/cloud/firestore/v1/firestore/client.rb +48 -18
- data/lib/google/cloud/firestore/v1/firestore/credentials.rb +1 -1
- data/lib/google/cloud/firestore/v1/firestore/rest/client.rb +46 -16
- data/lib/google/cloud/firestore/v1/firestore/rest/service_stub.rb +10 -10
- data/lib/google/cloud/firestore/v1/firestore/rest.rb +1 -1
- data/lib/google/cloud/firestore/v1/firestore.rb +1 -1
- data/lib/google/cloud/firestore/v1/rest.rb +1 -1
- data/lib/google/cloud/firestore/v1/version.rb +1 -1
- data/lib/google/cloud/firestore/v1.rb +1 -1
- data/lib/google/firestore/v1/common_pb.rb +2 -1
- data/lib/google/firestore/v1/document_pb.rb +1 -1
- data/lib/google/firestore/v1/firestore_pb.rb +1 -1
- data/lib/google/firestore/v1/firestore_services_pb.rb +1 -1
- data/lib/google/firestore/v1/pipeline_pb.rb +1 -1
- data/lib/google/firestore/v1/query_pb.rb +1 -1
- data/lib/google/firestore/v1/query_profile_pb.rb +1 -1
- data/lib/google-cloud-firestore-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/api/routing.rb +1 -1
- data/proto_docs/google/firestore/v1/aggregation_result.rb +1 -1
- data/proto_docs/google/firestore/v1/bloom_filter.rb +1 -1
- data/proto_docs/google/firestore/v1/common.rb +10 -1
- data/proto_docs/google/firestore/v1/document.rb +1 -1
- data/proto_docs/google/firestore/v1/explain_stats.rb +1 -1
- data/proto_docs/google/firestore/v1/firestore.rb +52 -1
- data/proto_docs/google/firestore/v1/pipeline.rb +1 -1
- data/proto_docs/google/firestore/v1/query.rb +1 -1
- data/proto_docs/google/firestore/v1/query_profile.rb +1 -1
- data/proto_docs/google/firestore/v1/write.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/protobuf/wrappers.rb +1 -1
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/latlng.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f5a1c9bbfe43b427215837c2cd197a6ed2dc226d7c616f9e5a42bb3da59fc83
|
|
4
|
+
data.tar.gz: 6bd0a8067cd9e78a852f0ddd12945a0ae7283927ba3d5e6443980454cdaaaec3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b293605411df9c7940d99b613c49b355e5e298b05beefdcfb2908f0f05428dff99a216bb23e0768bba6d8bea328671656159524edac787a6afa101a6cba05fa5
|
|
7
|
+
data.tar.gz: 3464ff570e026581c56966ae87497ca748b84edf0fbafca6f48779022d7562485c45a82cdfbe1aef896dcc3b310fb08821279e0b625406a88bd8108e22913cf2
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
|
|
4
4
|
|
|
5
|
-
Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -40,9 +39,6 @@ response = client.get_document request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/firestore)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -299,7 +299,7 @@ module Google
|
|
|
299
299
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
300
300
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
301
301
|
#
|
|
302
|
-
# @overload get_document(name: nil, mask: nil, transaction: nil, read_time: nil)
|
|
302
|
+
# @overload get_document(name: nil, mask: nil, transaction: nil, read_time: nil, request_options: nil)
|
|
303
303
|
# Pass arguments to `get_document` via keyword arguments. Note that at
|
|
304
304
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
305
305
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -324,6 +324,8 @@ module Google
|
|
|
324
324
|
# minute timestamp within the past 7 days.
|
|
325
325
|
#
|
|
326
326
|
# Note: The following parameters are mutually exclusive: `read_time`, `transaction`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
|
327
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
328
|
+
# Optional. Any additional options for the request.
|
|
327
329
|
#
|
|
328
330
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
329
331
|
# @yieldparam response [::Google::Cloud::Firestore::V1::Document]
|
|
@@ -402,7 +404,7 @@ module Google
|
|
|
402
404
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
403
405
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
404
406
|
#
|
|
405
|
-
# @overload list_documents(parent: nil, collection_id: nil, page_size: nil, page_token: nil, order_by: nil, mask: nil, transaction: nil, read_time: nil, show_missing: nil)
|
|
407
|
+
# @overload list_documents(parent: nil, collection_id: nil, page_size: nil, page_token: nil, order_by: nil, mask: nil, transaction: nil, read_time: nil, show_missing: nil, request_options: nil)
|
|
406
408
|
# Pass arguments to `list_documents` via keyword arguments. Note that at
|
|
407
409
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
408
410
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -467,6 +469,8 @@ module Google
|
|
|
467
469
|
# {::Google::Cloud::Firestore::V1::Document#update_time `update_time`} set.
|
|
468
470
|
#
|
|
469
471
|
# Requests with `show_missing` may not specify `where` or `order_by`.
|
|
472
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
473
|
+
# Optional. Any additional options for the request.
|
|
470
474
|
#
|
|
471
475
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
472
476
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Firestore::V1::Document>]
|
|
@@ -554,7 +558,7 @@ module Google
|
|
|
554
558
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
555
559
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
556
560
|
#
|
|
557
|
-
# @overload update_document(document: nil, update_mask: nil, mask: nil, current_document: nil)
|
|
561
|
+
# @overload update_document(document: nil, update_mask: nil, mask: nil, current_document: nil, request_options: nil)
|
|
558
562
|
# Pass arguments to `update_document` via keyword arguments. Note that at
|
|
559
563
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
560
564
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -578,6 +582,8 @@ module Google
|
|
|
578
582
|
# @param current_document [::Google::Cloud::Firestore::V1::Precondition, ::Hash]
|
|
579
583
|
# An optional precondition on the document.
|
|
580
584
|
# The request will fail if this is set and not met by the target document.
|
|
585
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
586
|
+
# Optional. Any additional options for the request.
|
|
581
587
|
#
|
|
582
588
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
583
589
|
# @yieldparam response [::Google::Cloud::Firestore::V1::Document]
|
|
@@ -656,7 +662,7 @@ module Google
|
|
|
656
662
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
657
663
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
658
664
|
#
|
|
659
|
-
# @overload delete_document(name: nil, current_document: nil)
|
|
665
|
+
# @overload delete_document(name: nil, current_document: nil, request_options: nil)
|
|
660
666
|
# Pass arguments to `delete_document` via keyword arguments. Note that at
|
|
661
667
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
662
668
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -667,6 +673,8 @@ module Google
|
|
|
667
673
|
# @param current_document [::Google::Cloud::Firestore::V1::Precondition, ::Hash]
|
|
668
674
|
# An optional precondition on the document.
|
|
669
675
|
# The request will fail if this is set and not met by the target document.
|
|
676
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
677
|
+
# Optional. Any additional options for the request.
|
|
670
678
|
#
|
|
671
679
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
672
680
|
# @yieldparam response [::Google::Protobuf::Empty]
|
|
@@ -748,7 +756,7 @@ module Google
|
|
|
748
756
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
749
757
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
750
758
|
#
|
|
751
|
-
# @overload batch_get_documents(database: nil, documents: nil, mask: nil, transaction: nil, new_transaction: nil, read_time: nil)
|
|
759
|
+
# @overload batch_get_documents(database: nil, documents: nil, mask: nil, transaction: nil, new_transaction: nil, read_time: nil, request_options: nil)
|
|
752
760
|
# Pass arguments to `batch_get_documents` via keyword arguments. Note that at
|
|
753
761
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
754
762
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -785,6 +793,8 @@ module Google
|
|
|
785
793
|
# minute timestamp within the past 7 days.
|
|
786
794
|
#
|
|
787
795
|
# Note: The following parameters are mutually exclusive: `read_time`, `transaction`, `new_transaction`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
|
796
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
797
|
+
# Optional. Any additional options for the request.
|
|
788
798
|
#
|
|
789
799
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
790
800
|
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::BatchGetDocumentsResponse>]
|
|
@@ -866,7 +876,7 @@ module Google
|
|
|
866
876
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
867
877
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
868
878
|
#
|
|
869
|
-
# @overload begin_transaction(database: nil, options: nil)
|
|
879
|
+
# @overload begin_transaction(database: nil, options: nil, request_options: nil)
|
|
870
880
|
# Pass arguments to `begin_transaction` via keyword arguments. Note that at
|
|
871
881
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
872
882
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -877,6 +887,8 @@ module Google
|
|
|
877
887
|
# @param options [::Google::Cloud::Firestore::V1::TransactionOptions, ::Hash]
|
|
878
888
|
# The options for the transaction.
|
|
879
889
|
# Defaults to a read-write transaction.
|
|
890
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
891
|
+
# Optional. Any additional options for the request.
|
|
880
892
|
#
|
|
881
893
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
882
894
|
# @yieldparam response [::Google::Cloud::Firestore::V1::BeginTransactionResponse]
|
|
@@ -955,7 +967,7 @@ module Google
|
|
|
955
967
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
956
968
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
957
969
|
#
|
|
958
|
-
# @overload commit(database: nil, writes: nil, transaction: nil)
|
|
970
|
+
# @overload commit(database: nil, writes: nil, transaction: nil, request_options: nil)
|
|
959
971
|
# Pass arguments to `commit` via keyword arguments. Note that at
|
|
960
972
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
961
973
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -969,6 +981,8 @@ module Google
|
|
|
969
981
|
# Always executed atomically and in order.
|
|
970
982
|
# @param transaction [::String]
|
|
971
983
|
# If set, applies all writes in this transaction, and commits it.
|
|
984
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
985
|
+
# Optional. Any additional options for the request.
|
|
972
986
|
#
|
|
973
987
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
974
988
|
# @yieldparam response [::Google::Cloud::Firestore::V1::CommitResponse]
|
|
@@ -1047,7 +1061,7 @@ module Google
|
|
|
1047
1061
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1048
1062
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1049
1063
|
#
|
|
1050
|
-
# @overload rollback(database: nil, transaction: nil)
|
|
1064
|
+
# @overload rollback(database: nil, transaction: nil, request_options: nil)
|
|
1051
1065
|
# Pass arguments to `rollback` via keyword arguments. Note that at
|
|
1052
1066
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1053
1067
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1057,6 +1071,8 @@ module Google
|
|
|
1057
1071
|
# `projects/{project_id}/databases/{database_id}`.
|
|
1058
1072
|
# @param transaction [::String]
|
|
1059
1073
|
# Required. The transaction to roll back.
|
|
1074
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1075
|
+
# Optional. Any additional options for the request.
|
|
1060
1076
|
#
|
|
1061
1077
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1062
1078
|
# @yieldparam response [::Google::Protobuf::Empty]
|
|
@@ -1135,7 +1151,7 @@ module Google
|
|
|
1135
1151
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1136
1152
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1137
1153
|
#
|
|
1138
|
-
# @overload run_query(parent: nil, structured_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil)
|
|
1154
|
+
# @overload run_query(parent: nil, structured_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil, request_options: nil)
|
|
1139
1155
|
# Pass arguments to `run_query` via keyword arguments. Note that at
|
|
1140
1156
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1141
1157
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1173,6 +1189,8 @@ module Google
|
|
|
1173
1189
|
# @param explain_options [::Google::Cloud::Firestore::V1::ExplainOptions, ::Hash]
|
|
1174
1190
|
# Optional. Explain options for the query. If set, additional query
|
|
1175
1191
|
# statistics will be returned. If not, only query results will be returned.
|
|
1192
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1193
|
+
# Optional. Any additional options for the request.
|
|
1176
1194
|
#
|
|
1177
1195
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1178
1196
|
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::RunQueryResponse>]
|
|
@@ -1254,7 +1272,7 @@ module Google
|
|
|
1254
1272
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1255
1273
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1256
1274
|
#
|
|
1257
|
-
# @overload execute_pipeline(database: nil, structured_pipeline: nil, transaction: nil, new_transaction: nil, read_time: nil, auto_commit_transaction: nil)
|
|
1275
|
+
# @overload execute_pipeline(database: nil, structured_pipeline: nil, transaction: nil, new_transaction: nil, read_time: nil, auto_commit_transaction: nil, request_options: nil)
|
|
1258
1276
|
# Pass arguments to `execute_pipeline` via keyword arguments. Note that at
|
|
1259
1277
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1260
1278
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1289,6 +1307,8 @@ module Google
|
|
|
1289
1307
|
# Optional. Automatically commits the transaction after the pipeline has been
|
|
1290
1308
|
# executed. Only permitted in combination with `transaction` or
|
|
1291
1309
|
# `new_transaction`.
|
|
1310
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1311
|
+
# Optional. Any additional options for the request.
|
|
1292
1312
|
#
|
|
1293
1313
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1294
1314
|
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::ExecutePipelineResponse>]
|
|
@@ -1336,13 +1356,13 @@ module Google
|
|
|
1336
1356
|
|
|
1337
1357
|
header_params = {}
|
|
1338
1358
|
if request.database
|
|
1339
|
-
regex_match = %r{^projects/(?<project_id>[^/]+)(
|
|
1359
|
+
regex_match = %r{^projects/(?<project_id>[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.database
|
|
1340
1360
|
if regex_match
|
|
1341
1361
|
header_params["project_id"] = regex_match["project_id".to_s]
|
|
1342
1362
|
end
|
|
1343
1363
|
end
|
|
1344
1364
|
if request.database
|
|
1345
|
-
regex_match = %r{^projects/[^/]+/databases/(?<database_id>[^/]+)(
|
|
1365
|
+
regex_match = %r{^projects/[^/]+/databases/(?<database_id>[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.database
|
|
1346
1366
|
if regex_match
|
|
1347
1367
|
header_params["database_id"] = regex_match["database_id".to_s]
|
|
1348
1368
|
end
|
|
@@ -1391,7 +1411,7 @@ module Google
|
|
|
1391
1411
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1392
1412
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1393
1413
|
#
|
|
1394
|
-
# @overload run_aggregation_query(parent: nil, structured_aggregation_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil)
|
|
1414
|
+
# @overload run_aggregation_query(parent: nil, structured_aggregation_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil, request_options: nil)
|
|
1395
1415
|
# Pass arguments to `run_aggregation_query` via keyword arguments. Note that at
|
|
1396
1416
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1397
1417
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1429,6 +1449,8 @@ module Google
|
|
|
1429
1449
|
# @param explain_options [::Google::Cloud::Firestore::V1::ExplainOptions, ::Hash]
|
|
1430
1450
|
# Optional. Explain options for the query. If set, additional query
|
|
1431
1451
|
# statistics will be returned. If not, only query results will be returned.
|
|
1452
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1453
|
+
# Optional. Any additional options for the request.
|
|
1432
1454
|
#
|
|
1433
1455
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1434
1456
|
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::RunAggregationQueryResponse>]
|
|
@@ -1512,7 +1534,7 @@ module Google
|
|
|
1512
1534
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1513
1535
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1514
1536
|
#
|
|
1515
|
-
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil, read_time: nil)
|
|
1537
|
+
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil, read_time: nil, request_options: nil)
|
|
1516
1538
|
# Pass arguments to `partition_query` via keyword arguments. Note that at
|
|
1517
1539
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1518
1540
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1564,6 +1586,8 @@ module Google
|
|
|
1564
1586
|
# This must be a microsecond precision timestamp within the past one hour,
|
|
1565
1587
|
# or if Point-in-Time Recovery is enabled, can additionally be a whole
|
|
1566
1588
|
# minute timestamp within the past 7 days.
|
|
1589
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1590
|
+
# Optional. Any additional options for the request.
|
|
1567
1591
|
#
|
|
1568
1592
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1569
1593
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Firestore::V1::Cursor>]
|
|
@@ -1806,7 +1830,7 @@ module Google
|
|
|
1806
1830
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1807
1831
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1808
1832
|
#
|
|
1809
|
-
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil, read_time: nil)
|
|
1833
|
+
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil, read_time: nil, request_options: nil)
|
|
1810
1834
|
# Pass arguments to `list_collection_ids` via keyword arguments. Note that at
|
|
1811
1835
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1812
1836
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1830,6 +1854,8 @@ module Google
|
|
|
1830
1854
|
# This must be a microsecond precision timestamp within the past one hour,
|
|
1831
1855
|
# or if Point-in-Time Recovery is enabled, can additionally be a whole
|
|
1832
1856
|
# minute timestamp within the past 7 days.
|
|
1857
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1858
|
+
# Optional. Any additional options for the request.
|
|
1833
1859
|
#
|
|
1834
1860
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1835
1861
|
# @yieldparam response [::Google::Cloud::Firestore::V1::ListCollectionIdsResponse]
|
|
@@ -1917,7 +1943,7 @@ module Google
|
|
|
1917
1943
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1918
1944
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1919
1945
|
#
|
|
1920
|
-
# @overload batch_write(database: nil, writes: nil, labels: nil)
|
|
1946
|
+
# @overload batch_write(database: nil, writes: nil, labels: nil, request_options: nil)
|
|
1921
1947
|
# Pass arguments to `batch_write` via keyword arguments. Note that at
|
|
1922
1948
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1923
1949
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1933,6 +1959,8 @@ module Google
|
|
|
1933
1959
|
# document more than once per request.
|
|
1934
1960
|
# @param labels [::Hash{::String => ::String}]
|
|
1935
1961
|
# Labels associated with this batch write.
|
|
1962
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1963
|
+
# Optional. Any additional options for the request.
|
|
1936
1964
|
#
|
|
1937
1965
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1938
1966
|
# @yieldparam response [::Google::Cloud::Firestore::V1::BatchWriteResponse]
|
|
@@ -2011,7 +2039,7 @@ module Google
|
|
|
2011
2039
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2012
2040
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2013
2041
|
#
|
|
2014
|
-
# @overload create_document(parent: nil, collection_id: nil, document_id: nil, document: nil, mask: nil)
|
|
2042
|
+
# @overload create_document(parent: nil, collection_id: nil, document_id: nil, document: nil, mask: nil, request_options: nil)
|
|
2015
2043
|
# Pass arguments to `create_document` via keyword arguments. Note that at
|
|
2016
2044
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2017
2045
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2034,6 +2062,8 @@ module Google
|
|
|
2034
2062
|
#
|
|
2035
2063
|
# If the document has a field that is not present in this mask, that field
|
|
2036
2064
|
# will not be returned in the response.
|
|
2065
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
2066
|
+
# Optional. Any additional options for the request.
|
|
2037
2067
|
#
|
|
2038
2068
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2039
2069
|
# @yieldparam response [::Google::Cloud::Firestore::V1::Document]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -285,7 +285,7 @@ module Google
|
|
|
285
285
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
286
286
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
287
287
|
#
|
|
288
|
-
# @overload get_document(name: nil, mask: nil, transaction: nil, read_time: nil)
|
|
288
|
+
# @overload get_document(name: nil, mask: nil, transaction: nil, read_time: nil, request_options: nil)
|
|
289
289
|
# Pass arguments to `get_document` via keyword arguments. Note that at
|
|
290
290
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
291
291
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -310,6 +310,8 @@ module Google
|
|
|
310
310
|
# minute timestamp within the past 7 days.
|
|
311
311
|
#
|
|
312
312
|
# Note: The following parameters are mutually exclusive: `read_time`, `transaction`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
|
313
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
314
|
+
# Optional. Any additional options for the request.
|
|
313
315
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
314
316
|
# @yieldparam result [::Google::Cloud::Firestore::V1::Document]
|
|
315
317
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -381,7 +383,7 @@ module Google
|
|
|
381
383
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
382
384
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
383
385
|
#
|
|
384
|
-
# @overload list_documents(parent: nil, collection_id: nil, page_size: nil, page_token: nil, order_by: nil, mask: nil, transaction: nil, read_time: nil, show_missing: nil)
|
|
386
|
+
# @overload list_documents(parent: nil, collection_id: nil, page_size: nil, page_token: nil, order_by: nil, mask: nil, transaction: nil, read_time: nil, show_missing: nil, request_options: nil)
|
|
385
387
|
# Pass arguments to `list_documents` via keyword arguments. Note that at
|
|
386
388
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
387
389
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -446,6 +448,8 @@ module Google
|
|
|
446
448
|
# {::Google::Cloud::Firestore::V1::Document#update_time `update_time`} set.
|
|
447
449
|
#
|
|
448
450
|
# Requests with `show_missing` may not specify `where` or `order_by`.
|
|
451
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
452
|
+
# Optional. Any additional options for the request.
|
|
449
453
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
450
454
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Firestore::V1::Document>]
|
|
451
455
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -523,7 +527,7 @@ module Google
|
|
|
523
527
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
524
528
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
525
529
|
#
|
|
526
|
-
# @overload update_document(document: nil, update_mask: nil, mask: nil, current_document: nil)
|
|
530
|
+
# @overload update_document(document: nil, update_mask: nil, mask: nil, current_document: nil, request_options: nil)
|
|
527
531
|
# Pass arguments to `update_document` via keyword arguments. Note that at
|
|
528
532
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
529
533
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -547,6 +551,8 @@ module Google
|
|
|
547
551
|
# @param current_document [::Google::Cloud::Firestore::V1::Precondition, ::Hash]
|
|
548
552
|
# An optional precondition on the document.
|
|
549
553
|
# The request will fail if this is set and not met by the target document.
|
|
554
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
555
|
+
# Optional. Any additional options for the request.
|
|
550
556
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
551
557
|
# @yieldparam result [::Google::Cloud::Firestore::V1::Document]
|
|
552
558
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -618,7 +624,7 @@ module Google
|
|
|
618
624
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
619
625
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
620
626
|
#
|
|
621
|
-
# @overload delete_document(name: nil, current_document: nil)
|
|
627
|
+
# @overload delete_document(name: nil, current_document: nil, request_options: nil)
|
|
622
628
|
# Pass arguments to `delete_document` via keyword arguments. Note that at
|
|
623
629
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
624
630
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -629,6 +635,8 @@ module Google
|
|
|
629
635
|
# @param current_document [::Google::Cloud::Firestore::V1::Precondition, ::Hash]
|
|
630
636
|
# An optional precondition on the document.
|
|
631
637
|
# The request will fail if this is set and not met by the target document.
|
|
638
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
639
|
+
# Optional. Any additional options for the request.
|
|
632
640
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
633
641
|
# @yieldparam result [::Google::Protobuf::Empty]
|
|
634
642
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -703,7 +711,7 @@ module Google
|
|
|
703
711
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
704
712
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
705
713
|
#
|
|
706
|
-
# @overload batch_get_documents(database: nil, documents: nil, mask: nil, transaction: nil, new_transaction: nil, read_time: nil)
|
|
714
|
+
# @overload batch_get_documents(database: nil, documents: nil, mask: nil, transaction: nil, new_transaction: nil, read_time: nil, request_options: nil)
|
|
707
715
|
# Pass arguments to `batch_get_documents` via keyword arguments. Note that at
|
|
708
716
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
709
717
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -740,6 +748,8 @@ module Google
|
|
|
740
748
|
# minute timestamp within the past 7 days.
|
|
741
749
|
#
|
|
742
750
|
# Note: The following parameters are mutually exclusive: `read_time`, `transaction`, `new_transaction`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
|
751
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
752
|
+
# Optional. Any additional options for the request.
|
|
743
753
|
# @return [::Enumerable<::Google::Cloud::Firestore::V1::BatchGetDocumentsResponse>]
|
|
744
754
|
#
|
|
745
755
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
@@ -816,7 +826,7 @@ module Google
|
|
|
816
826
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
817
827
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
818
828
|
#
|
|
819
|
-
# @overload begin_transaction(database: nil, options: nil)
|
|
829
|
+
# @overload begin_transaction(database: nil, options: nil, request_options: nil)
|
|
820
830
|
# Pass arguments to `begin_transaction` via keyword arguments. Note that at
|
|
821
831
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
822
832
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -827,6 +837,8 @@ module Google
|
|
|
827
837
|
# @param options [::Google::Cloud::Firestore::V1::TransactionOptions, ::Hash]
|
|
828
838
|
# The options for the transaction.
|
|
829
839
|
# Defaults to a read-write transaction.
|
|
840
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
841
|
+
# Optional. Any additional options for the request.
|
|
830
842
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
831
843
|
# @yieldparam result [::Google::Cloud::Firestore::V1::BeginTransactionResponse]
|
|
832
844
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -898,7 +910,7 @@ module Google
|
|
|
898
910
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
899
911
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
900
912
|
#
|
|
901
|
-
# @overload commit(database: nil, writes: nil, transaction: nil)
|
|
913
|
+
# @overload commit(database: nil, writes: nil, transaction: nil, request_options: nil)
|
|
902
914
|
# Pass arguments to `commit` via keyword arguments. Note that at
|
|
903
915
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
904
916
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -912,6 +924,8 @@ module Google
|
|
|
912
924
|
# Always executed atomically and in order.
|
|
913
925
|
# @param transaction [::String]
|
|
914
926
|
# If set, applies all writes in this transaction, and commits it.
|
|
927
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
928
|
+
# Optional. Any additional options for the request.
|
|
915
929
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
916
930
|
# @yieldparam result [::Google::Cloud::Firestore::V1::CommitResponse]
|
|
917
931
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -983,7 +997,7 @@ module Google
|
|
|
983
997
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
984
998
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
985
999
|
#
|
|
986
|
-
# @overload rollback(database: nil, transaction: nil)
|
|
1000
|
+
# @overload rollback(database: nil, transaction: nil, request_options: nil)
|
|
987
1001
|
# Pass arguments to `rollback` via keyword arguments. Note that at
|
|
988
1002
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
989
1003
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -993,6 +1007,8 @@ module Google
|
|
|
993
1007
|
# `projects/{project_id}/databases/{database_id}`.
|
|
994
1008
|
# @param transaction [::String]
|
|
995
1009
|
# Required. The transaction to roll back.
|
|
1010
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1011
|
+
# Optional. Any additional options for the request.
|
|
996
1012
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
997
1013
|
# @yieldparam result [::Google::Protobuf::Empty]
|
|
998
1014
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1064,7 +1080,7 @@ module Google
|
|
|
1064
1080
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1065
1081
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1066
1082
|
#
|
|
1067
|
-
# @overload run_query(parent: nil, structured_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil)
|
|
1083
|
+
# @overload run_query(parent: nil, structured_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil, request_options: nil)
|
|
1068
1084
|
# Pass arguments to `run_query` via keyword arguments. Note that at
|
|
1069
1085
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1070
1086
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1102,6 +1118,8 @@ module Google
|
|
|
1102
1118
|
# @param explain_options [::Google::Cloud::Firestore::V1::ExplainOptions, ::Hash]
|
|
1103
1119
|
# Optional. Explain options for the query. If set, additional query
|
|
1104
1120
|
# statistics will be returned. If not, only query results will be returned.
|
|
1121
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1122
|
+
# Optional. Any additional options for the request.
|
|
1105
1123
|
# @return [::Enumerable<::Google::Cloud::Firestore::V1::RunQueryResponse>]
|
|
1106
1124
|
#
|
|
1107
1125
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
@@ -1178,7 +1196,7 @@ module Google
|
|
|
1178
1196
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1179
1197
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1180
1198
|
#
|
|
1181
|
-
# @overload execute_pipeline(database: nil, structured_pipeline: nil, transaction: nil, new_transaction: nil, read_time: nil, auto_commit_transaction: nil)
|
|
1199
|
+
# @overload execute_pipeline(database: nil, structured_pipeline: nil, transaction: nil, new_transaction: nil, read_time: nil, auto_commit_transaction: nil, request_options: nil)
|
|
1182
1200
|
# Pass arguments to `execute_pipeline` via keyword arguments. Note that at
|
|
1183
1201
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1184
1202
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1213,6 +1231,8 @@ module Google
|
|
|
1213
1231
|
# Optional. Automatically commits the transaction after the pipeline has been
|
|
1214
1232
|
# executed. Only permitted in combination with `transaction` or
|
|
1215
1233
|
# `new_transaction`.
|
|
1234
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1235
|
+
# Optional. Any additional options for the request.
|
|
1216
1236
|
# @return [::Enumerable<::Google::Cloud::Firestore::V1::ExecutePipelineResponse>]
|
|
1217
1237
|
#
|
|
1218
1238
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
@@ -1301,7 +1321,7 @@ module Google
|
|
|
1301
1321
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1302
1322
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1303
1323
|
#
|
|
1304
|
-
# @overload run_aggregation_query(parent: nil, structured_aggregation_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil)
|
|
1324
|
+
# @overload run_aggregation_query(parent: nil, structured_aggregation_query: nil, transaction: nil, new_transaction: nil, read_time: nil, explain_options: nil, request_options: nil)
|
|
1305
1325
|
# Pass arguments to `run_aggregation_query` via keyword arguments. Note that at
|
|
1306
1326
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1307
1327
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1339,6 +1359,8 @@ module Google
|
|
|
1339
1359
|
# @param explain_options [::Google::Cloud::Firestore::V1::ExplainOptions, ::Hash]
|
|
1340
1360
|
# Optional. Explain options for the query. If set, additional query
|
|
1341
1361
|
# statistics will be returned. If not, only query results will be returned.
|
|
1362
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1363
|
+
# Optional. Any additional options for the request.
|
|
1342
1364
|
# @return [::Enumerable<::Google::Cloud::Firestore::V1::RunAggregationQueryResponse>]
|
|
1343
1365
|
#
|
|
1344
1366
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
@@ -1417,7 +1439,7 @@ module Google
|
|
|
1417
1439
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1418
1440
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1419
1441
|
#
|
|
1420
|
-
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil, read_time: nil)
|
|
1442
|
+
# @overload partition_query(parent: nil, structured_query: nil, partition_count: nil, page_token: nil, page_size: nil, read_time: nil, request_options: nil)
|
|
1421
1443
|
# Pass arguments to `partition_query` via keyword arguments. Note that at
|
|
1422
1444
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1423
1445
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1469,6 +1491,8 @@ module Google
|
|
|
1469
1491
|
# This must be a microsecond precision timestamp within the past one hour,
|
|
1470
1492
|
# or if Point-in-Time Recovery is enabled, can additionally be a whole
|
|
1471
1493
|
# minute timestamp within the past 7 days.
|
|
1494
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1495
|
+
# Optional. Any additional options for the request.
|
|
1472
1496
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1473
1497
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Firestore::V1::Cursor>]
|
|
1474
1498
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1546,7 +1570,7 @@ module Google
|
|
|
1546
1570
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1547
1571
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1548
1572
|
#
|
|
1549
|
-
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil, read_time: nil)
|
|
1573
|
+
# @overload list_collection_ids(parent: nil, page_size: nil, page_token: nil, read_time: nil, request_options: nil)
|
|
1550
1574
|
# Pass arguments to `list_collection_ids` via keyword arguments. Note that at
|
|
1551
1575
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1552
1576
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1570,6 +1594,8 @@ module Google
|
|
|
1570
1594
|
# This must be a microsecond precision timestamp within the past one hour,
|
|
1571
1595
|
# or if Point-in-Time Recovery is enabled, can additionally be a whole
|
|
1572
1596
|
# minute timestamp within the past 7 days.
|
|
1597
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1598
|
+
# Optional. Any additional options for the request.
|
|
1573
1599
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1574
1600
|
# @yieldparam result [::Google::Cloud::Firestore::V1::ListCollectionIdsResponse]
|
|
1575
1601
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1650,7 +1676,7 @@ module Google
|
|
|
1650
1676
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1651
1677
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1652
1678
|
#
|
|
1653
|
-
# @overload batch_write(database: nil, writes: nil, labels: nil)
|
|
1679
|
+
# @overload batch_write(database: nil, writes: nil, labels: nil, request_options: nil)
|
|
1654
1680
|
# Pass arguments to `batch_write` via keyword arguments. Note that at
|
|
1655
1681
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1656
1682
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1666,6 +1692,8 @@ module Google
|
|
|
1666
1692
|
# document more than once per request.
|
|
1667
1693
|
# @param labels [::Hash{::String => ::String}]
|
|
1668
1694
|
# Labels associated with this batch write.
|
|
1695
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1696
|
+
# Optional. Any additional options for the request.
|
|
1669
1697
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1670
1698
|
# @yieldparam result [::Google::Cloud::Firestore::V1::BatchWriteResponse]
|
|
1671
1699
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1737,7 +1765,7 @@ module Google
|
|
|
1737
1765
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1738
1766
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1739
1767
|
#
|
|
1740
|
-
# @overload create_document(parent: nil, collection_id: nil, document_id: nil, document: nil, mask: nil)
|
|
1768
|
+
# @overload create_document(parent: nil, collection_id: nil, document_id: nil, document: nil, mask: nil, request_options: nil)
|
|
1741
1769
|
# Pass arguments to `create_document` via keyword arguments. Note that at
|
|
1742
1770
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1743
1771
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1760,6 +1788,8 @@ module Google
|
|
|
1760
1788
|
#
|
|
1761
1789
|
# If the document has a field that is not present in this mask, that field
|
|
1762
1790
|
# will not be returned in the response.
|
|
1791
|
+
# @param request_options [::Google::Cloud::Firestore::V1::RequestOptions, ::Hash]
|
|
1792
|
+
# Optional. Any additional options for the request.
|
|
1763
1793
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1764
1794
|
# @yieldparam result [::Google::Cloud::Firestore::V1::Document]
|
|
1765
1795
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|