google-cloud-firestore-v1 0.14.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a39459742546e2f2c2d7b823289fdcf0280c3d14dded7d7647311abc239b85c
|
4
|
+
data.tar.gz: 9d636f7b8fc6a1dc75eaeefe8c61b5c5210434204aaaf0bef958e75691b90e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e58901879bfc57a44e8027222b418e1ced0a4ee2b5844cc2adbbe5c12d3e7cc980d254f01bb270b7aafde1362ec4b784d51132b9f39eb0691b59d6a998933248
|
7
|
+
data.tar.gz: 3eccd75184c392e75614c4bb6e551b42622012474a8696ce40f40df9af62cb3ec6443ec7a595100a755497c047d64a1e133ecb5aee1e7632f8a06473ec0aaa89
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# truly serverless apps.
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "firestore.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -326,10 +329,11 @@ module Google
|
|
326
329
|
# Customize the options with defaults
|
327
330
|
metadata = @config.rpcs.get_document.metadata.to_h
|
328
331
|
|
329
|
-
# Set x-goog-api-client
|
332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
330
333
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
331
334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
332
335
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
336
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
333
337
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
334
338
|
|
335
339
|
header_params = {}
|
@@ -469,10 +473,11 @@ module Google
|
|
469
473
|
# Customize the options with defaults
|
470
474
|
metadata = @config.rpcs.list_documents.metadata.to_h
|
471
475
|
|
472
|
-
# Set x-goog-api-client
|
476
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
473
477
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
474
478
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
475
479
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
480
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
476
481
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
477
482
|
|
478
483
|
header_params = {}
|
@@ -575,10 +580,11 @@ module Google
|
|
575
580
|
# Customize the options with defaults
|
576
581
|
metadata = @config.rpcs.update_document.metadata.to_h
|
577
582
|
|
578
|
-
# Set x-goog-api-client
|
583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
584
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
585
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
586
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
587
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
588
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
589
|
|
584
590
|
header_params = {}
|
@@ -664,10 +670,11 @@ module Google
|
|
664
670
|
# Customize the options with defaults
|
665
671
|
metadata = @config.rpcs.delete_document.metadata.to_h
|
666
672
|
|
667
|
-
# Set x-goog-api-client
|
673
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
668
674
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
669
675
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
670
676
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
677
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
671
678
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
672
679
|
|
673
680
|
header_params = {}
|
@@ -779,10 +786,11 @@ module Google
|
|
779
786
|
# Customize the options with defaults
|
780
787
|
metadata = @config.rpcs.batch_get_documents.metadata.to_h
|
781
788
|
|
782
|
-
# Set x-goog-api-client
|
789
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
783
790
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
784
791
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
785
792
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
793
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
786
794
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
787
795
|
|
788
796
|
header_params = {}
|
@@ -868,10 +876,11 @@ module Google
|
|
868
876
|
# Customize the options with defaults
|
869
877
|
metadata = @config.rpcs.begin_transaction.metadata.to_h
|
870
878
|
|
871
|
-
# Set x-goog-api-client
|
879
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
872
880
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
873
881
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
874
882
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
883
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
875
884
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
876
885
|
|
877
886
|
header_params = {}
|
@@ -960,10 +969,11 @@ module Google
|
|
960
969
|
# Customize the options with defaults
|
961
970
|
metadata = @config.rpcs.commit.metadata.to_h
|
962
971
|
|
963
|
-
# Set x-goog-api-client
|
972
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
964
973
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
965
974
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
966
975
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
976
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
967
977
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
968
978
|
|
969
979
|
header_params = {}
|
@@ -1048,10 +1058,11 @@ module Google
|
|
1048
1058
|
# Customize the options with defaults
|
1049
1059
|
metadata = @config.rpcs.rollback.metadata.to_h
|
1050
1060
|
|
1051
|
-
# Set x-goog-api-client
|
1061
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1052
1062
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1053
1063
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1054
1064
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1065
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1055
1066
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1056
1067
|
|
1057
1068
|
header_params = {}
|
@@ -1161,10 +1172,11 @@ module Google
|
|
1161
1172
|
# Customize the options with defaults
|
1162
1173
|
metadata = @config.rpcs.run_query.metadata.to_h
|
1163
1174
|
|
1164
|
-
# Set x-goog-api-client
|
1175
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1165
1176
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1166
1177
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1167
1178
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1179
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1168
1180
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1169
1181
|
|
1170
1182
|
header_params = {}
|
@@ -1286,10 +1298,11 @@ module Google
|
|
1286
1298
|
# Customize the options with defaults
|
1287
1299
|
metadata = @config.rpcs.run_aggregation_query.metadata.to_h
|
1288
1300
|
|
1289
|
-
# Set x-goog-api-client
|
1301
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1290
1302
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1291
1303
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1292
1304
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1305
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1293
1306
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1294
1307
|
|
1295
1308
|
header_params = {}
|
@@ -1422,10 +1435,11 @@ module Google
|
|
1422
1435
|
# Customize the options with defaults
|
1423
1436
|
metadata = @config.rpcs.partition_query.metadata.to_h
|
1424
1437
|
|
1425
|
-
# Set x-goog-api-client
|
1438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1426
1439
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1427
1440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1428
1441
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1442
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1429
1443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1430
1444
|
|
1431
1445
|
header_params = {}
|
@@ -1510,10 +1524,11 @@ module Google
|
|
1510
1524
|
# Customize the options with defaults
|
1511
1525
|
metadata = @config.rpcs.write.metadata.to_h
|
1512
1526
|
|
1513
|
-
# Set x-goog-api-client
|
1527
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1514
1528
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1515
1529
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1516
1530
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1531
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1517
1532
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1518
1533
|
|
1519
1534
|
options.apply_defaults timeout: @config.rpcs.write.timeout,
|
@@ -1589,10 +1604,11 @@ module Google
|
|
1589
1604
|
# Customize the options with defaults
|
1590
1605
|
metadata = @config.rpcs.listen.metadata.to_h
|
1591
1606
|
|
1592
|
-
# Set x-goog-api-client
|
1607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1593
1608
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1594
1609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1595
1610
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1611
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1596
1612
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1597
1613
|
|
1598
1614
|
options.apply_defaults timeout: @config.rpcs.listen.timeout,
|
@@ -1680,10 +1696,11 @@ module Google
|
|
1680
1696
|
# Customize the options with defaults
|
1681
1697
|
metadata = @config.rpcs.list_collection_ids.metadata.to_h
|
1682
1698
|
|
1683
|
-
# Set x-goog-api-client
|
1699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1684
1700
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1685
1701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1686
1702
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1703
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1687
1704
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1688
1705
|
|
1689
1706
|
header_params = {}
|
@@ -1783,10 +1800,11 @@ module Google
|
|
1783
1800
|
# Customize the options with defaults
|
1784
1801
|
metadata = @config.rpcs.batch_write.metadata.to_h
|
1785
1802
|
|
1786
|
-
# Set x-goog-api-client
|
1803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1787
1804
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1788
1805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1789
1806
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1790
1808
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1791
1809
|
|
1792
1810
|
header_params = {}
|
@@ -1884,10 +1902,11 @@ module Google
|
|
1884
1902
|
# Customize the options with defaults
|
1885
1903
|
metadata = @config.rpcs.create_document.metadata.to_h
|
1886
1904
|
|
1887
|
-
# Set x-goog-api-client
|
1905
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1888
1906
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1889
1907
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1890
1908
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION
|
1909
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1891
1910
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1892
1911
|
|
1893
1912
|
header_params = {}
|
@@ -40,6 +40,9 @@ module Google
|
|
40
40
|
# truly serverless apps.
|
41
41
|
#
|
42
42
|
class Client
|
43
|
+
# @private
|
44
|
+
API_VERSION = ""
|
45
|
+
|
43
46
|
# @private
|
44
47
|
DEFAULT_ENDPOINT_TEMPLATE = "firestore.$UNIVERSE_DOMAIN$"
|
45
48
|
|
@@ -311,12 +314,13 @@ module Google
|
|
311
314
|
# Customize the options with defaults
|
312
315
|
call_metadata = @config.rpcs.get_document.metadata.to_h
|
313
316
|
|
314
|
-
# Set x-goog-api-client
|
317
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
315
318
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
316
319
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
317
320
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
318
321
|
transports_version_send: [:rest]
|
319
322
|
|
323
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
320
324
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
321
325
|
|
322
326
|
options.apply_defaults timeout: @config.rpcs.get_document.timeout,
|
@@ -447,12 +451,13 @@ module Google
|
|
447
451
|
# Customize the options with defaults
|
448
452
|
call_metadata = @config.rpcs.list_documents.metadata.to_h
|
449
453
|
|
450
|
-
# Set x-goog-api-client
|
454
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
451
455
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
452
456
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
453
457
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
454
458
|
transports_version_send: [:rest]
|
455
459
|
|
460
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
456
461
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
457
462
|
|
458
463
|
options.apply_defaults timeout: @config.rpcs.list_documents.timeout,
|
@@ -543,12 +548,13 @@ module Google
|
|
543
548
|
# Customize the options with defaults
|
544
549
|
call_metadata = @config.rpcs.update_document.metadata.to_h
|
545
550
|
|
546
|
-
# Set x-goog-api-client
|
551
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
552
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
553
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
554
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
550
555
|
transports_version_send: [:rest]
|
551
556
|
|
557
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
558
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
559
|
|
554
560
|
options.apply_defaults timeout: @config.rpcs.update_document.timeout,
|
@@ -625,12 +631,13 @@ module Google
|
|
625
631
|
# Customize the options with defaults
|
626
632
|
call_metadata = @config.rpcs.delete_document.metadata.to_h
|
627
633
|
|
628
|
-
# Set x-goog-api-client
|
634
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
629
635
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
630
636
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
631
637
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
632
638
|
transports_version_send: [:rest]
|
633
639
|
|
640
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
634
641
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
635
642
|
|
636
643
|
options.apply_defaults timeout: @config.rpcs.delete_document.timeout,
|
@@ -729,12 +736,13 @@ module Google
|
|
729
736
|
# Customize the options with defaults
|
730
737
|
call_metadata = @config.rpcs.batch_get_documents.metadata.to_h
|
731
738
|
|
732
|
-
# Set x-goog-api-client
|
739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
733
740
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
734
741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
735
742
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
736
743
|
transports_version_send: [:rest]
|
737
744
|
|
745
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
738
746
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
739
747
|
|
740
748
|
options.apply_defaults timeout: @config.rpcs.batch_get_documents.timeout,
|
@@ -816,12 +824,13 @@ module Google
|
|
816
824
|
# Customize the options with defaults
|
817
825
|
call_metadata = @config.rpcs.begin_transaction.metadata.to_h
|
818
826
|
|
819
|
-
# Set x-goog-api-client
|
827
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
820
828
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
821
829
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
822
830
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
823
831
|
transports_version_send: [:rest]
|
824
832
|
|
833
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
825
834
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
826
835
|
|
827
836
|
options.apply_defaults timeout: @config.rpcs.begin_transaction.timeout,
|
@@ -901,12 +910,13 @@ module Google
|
|
901
910
|
# Customize the options with defaults
|
902
911
|
call_metadata = @config.rpcs.commit.metadata.to_h
|
903
912
|
|
904
|
-
# Set x-goog-api-client
|
913
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
905
914
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
906
915
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
907
916
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
908
917
|
transports_version_send: [:rest]
|
909
918
|
|
919
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
910
920
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
911
921
|
|
912
922
|
options.apply_defaults timeout: @config.rpcs.commit.timeout,
|
@@ -982,12 +992,13 @@ module Google
|
|
982
992
|
# Customize the options with defaults
|
983
993
|
call_metadata = @config.rpcs.rollback.metadata.to_h
|
984
994
|
|
985
|
-
# Set x-goog-api-client
|
995
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
986
996
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
987
997
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
988
998
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
989
999
|
transports_version_send: [:rest]
|
990
1000
|
|
1001
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
991
1002
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
992
1003
|
|
993
1004
|
options.apply_defaults timeout: @config.rpcs.rollback.timeout,
|
@@ -1084,12 +1095,13 @@ module Google
|
|
1084
1095
|
# Customize the options with defaults
|
1085
1096
|
call_metadata = @config.rpcs.run_query.metadata.to_h
|
1086
1097
|
|
1087
|
-
# Set x-goog-api-client
|
1098
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1088
1099
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1089
1100
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1090
1101
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1091
1102
|
transports_version_send: [:rest]
|
1092
1103
|
|
1104
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1093
1105
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1094
1106
|
|
1095
1107
|
options.apply_defaults timeout: @config.rpcs.run_query.timeout,
|
@@ -1203,12 +1215,13 @@ module Google
|
|
1203
1215
|
# Customize the options with defaults
|
1204
1216
|
call_metadata = @config.rpcs.run_aggregation_query.metadata.to_h
|
1205
1217
|
|
1206
|
-
# Set x-goog-api-client
|
1218
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1207
1219
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1208
1220
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1209
1221
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1210
1222
|
transports_version_send: [:rest]
|
1211
1223
|
|
1224
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1212
1225
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1213
1226
|
|
1214
1227
|
options.apply_defaults timeout: @config.rpcs.run_aggregation_query.timeout,
|
@@ -1337,12 +1350,13 @@ module Google
|
|
1337
1350
|
# Customize the options with defaults
|
1338
1351
|
call_metadata = @config.rpcs.partition_query.metadata.to_h
|
1339
1352
|
|
1340
|
-
# Set x-goog-api-client
|
1353
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1341
1354
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1342
1355
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1343
1356
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1344
1357
|
transports_version_send: [:rest]
|
1345
1358
|
|
1359
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1346
1360
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1347
1361
|
|
1348
1362
|
options.apply_defaults timeout: @config.rpcs.partition_query.timeout,
|
@@ -1430,12 +1444,13 @@ module Google
|
|
1430
1444
|
# Customize the options with defaults
|
1431
1445
|
call_metadata = @config.rpcs.list_collection_ids.metadata.to_h
|
1432
1446
|
|
1433
|
-
# Set x-goog-api-client
|
1447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1434
1448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1435
1449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1436
1450
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1437
1451
|
transports_version_send: [:rest]
|
1438
1452
|
|
1453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1439
1454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1440
1455
|
|
1441
1456
|
options.apply_defaults timeout: @config.rpcs.list_collection_ids.timeout,
|
@@ -1527,12 +1542,13 @@ module Google
|
|
1527
1542
|
# Customize the options with defaults
|
1528
1543
|
call_metadata = @config.rpcs.batch_write.metadata.to_h
|
1529
1544
|
|
1530
|
-
# Set x-goog-api-client
|
1545
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1531
1546
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1532
1547
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1533
1548
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1534
1549
|
transports_version_send: [:rest]
|
1535
1550
|
|
1551
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1536
1552
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1537
1553
|
|
1538
1554
|
options.apply_defaults timeout: @config.rpcs.batch_write.timeout,
|
@@ -1621,12 +1637,13 @@ module Google
|
|
1621
1637
|
# Customize the options with defaults
|
1622
1638
|
call_metadata = @config.rpcs.create_document.metadata.to_h
|
1623
1639
|
|
1624
|
-
# Set x-goog-api-client
|
1640
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1625
1641
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1626
1642
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1627
1643
|
gapic_version: ::Google::Cloud::Firestore::V1::VERSION,
|
1628
1644
|
transports_version_send: [:rest]
|
1629
1645
|
|
1646
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1630
1647
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1631
1648
|
|
1632
1649
|
options.apply_defaults timeout: @config.rpcs.create_document.timeout,
|
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: 1.0.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: 2024-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|