google-cloud-data_catalog-v1 0.23.0 → 1.0.1
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/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +71 -34
- data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +13 -5
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +71 -34
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +11 -4
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +29 -13
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +29 -13
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +9 -3
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +9 -3
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# your data.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "datacatalog.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -315,12 +318,13 @@ module Google
|
|
315
318
|
# Customize the options with defaults
|
316
319
|
call_metadata = @config.rpcs.search_catalog.metadata.to_h
|
317
320
|
|
318
|
-
# Set x-goog-api-client
|
321
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
319
322
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
320
323
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
321
324
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
322
325
|
transports_version_send: [:rest]
|
323
326
|
|
327
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
324
328
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
325
329
|
|
326
330
|
options.apply_defaults timeout: @config.rpcs.search_catalog.timeout,
|
@@ -431,12 +435,13 @@ module Google
|
|
431
435
|
# Customize the options with defaults
|
432
436
|
call_metadata = @config.rpcs.create_entry_group.metadata.to_h
|
433
437
|
|
434
|
-
# Set x-goog-api-client
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
435
439
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
436
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
437
441
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
438
442
|
transports_version_send: [:rest]
|
439
443
|
|
444
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
440
445
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
441
446
|
|
442
447
|
options.apply_defaults timeout: @config.rpcs.create_entry_group.timeout,
|
@@ -511,12 +516,13 @@ module Google
|
|
511
516
|
# Customize the options with defaults
|
512
517
|
call_metadata = @config.rpcs.get_entry_group.metadata.to_h
|
513
518
|
|
514
|
-
# Set x-goog-api-client
|
519
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
515
520
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
516
521
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
517
522
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
518
523
|
transports_version_send: [:rest]
|
519
524
|
|
525
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
520
526
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
521
527
|
|
522
528
|
options.apply_defaults timeout: @config.rpcs.get_entry_group.timeout,
|
@@ -600,12 +606,13 @@ module Google
|
|
600
606
|
# Customize the options with defaults
|
601
607
|
call_metadata = @config.rpcs.update_entry_group.metadata.to_h
|
602
608
|
|
603
|
-
# Set x-goog-api-client
|
609
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
604
610
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
605
611
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
606
612
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
607
613
|
transports_version_send: [:rest]
|
608
614
|
|
615
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
609
616
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
610
617
|
|
611
618
|
options.apply_defaults timeout: @config.rpcs.update_entry_group.timeout,
|
@@ -685,12 +692,13 @@ module Google
|
|
685
692
|
# Customize the options with defaults
|
686
693
|
call_metadata = @config.rpcs.delete_entry_group.metadata.to_h
|
687
694
|
|
688
|
-
# Set x-goog-api-client
|
695
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
689
696
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
690
697
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
691
698
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
692
699
|
transports_version_send: [:rest]
|
693
700
|
|
701
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
694
702
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
695
703
|
|
696
704
|
options.apply_defaults timeout: @config.rpcs.delete_entry_group.timeout,
|
@@ -777,12 +785,13 @@ module Google
|
|
777
785
|
# Customize the options with defaults
|
778
786
|
call_metadata = @config.rpcs.list_entry_groups.metadata.to_h
|
779
787
|
|
780
|
-
# Set x-goog-api-client
|
788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
781
789
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
782
790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
783
791
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
784
792
|
transports_version_send: [:rest]
|
785
793
|
|
794
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
786
795
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
787
796
|
|
788
797
|
options.apply_defaults timeout: @config.rpcs.list_entry_groups.timeout,
|
@@ -877,12 +886,13 @@ module Google
|
|
877
886
|
# Customize the options with defaults
|
878
887
|
call_metadata = @config.rpcs.create_entry.metadata.to_h
|
879
888
|
|
880
|
-
# Set x-goog-api-client
|
889
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
881
890
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
882
891
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
883
892
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
884
893
|
transports_version_send: [:rest]
|
885
894
|
|
895
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
886
896
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
887
897
|
|
888
898
|
options.apply_defaults timeout: @config.rpcs.create_entry.timeout,
|
@@ -990,12 +1000,13 @@ module Google
|
|
990
1000
|
# Customize the options with defaults
|
991
1001
|
call_metadata = @config.rpcs.update_entry.metadata.to_h
|
992
1002
|
|
993
|
-
# Set x-goog-api-client
|
1003
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
994
1004
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
995
1005
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
996
1006
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
997
1007
|
transports_version_send: [:rest]
|
998
1008
|
|
1009
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
999
1010
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1000
1011
|
|
1001
1012
|
options.apply_defaults timeout: @config.rpcs.update_entry.timeout,
|
@@ -1077,12 +1088,13 @@ module Google
|
|
1077
1088
|
# Customize the options with defaults
|
1078
1089
|
call_metadata = @config.rpcs.delete_entry.metadata.to_h
|
1079
1090
|
|
1080
|
-
# Set x-goog-api-client
|
1091
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1081
1092
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1082
1093
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1083
1094
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1084
1095
|
transports_version_send: [:rest]
|
1085
1096
|
|
1097
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1086
1098
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1087
1099
|
|
1088
1100
|
options.apply_defaults timeout: @config.rpcs.delete_entry.timeout,
|
@@ -1155,12 +1167,13 @@ module Google
|
|
1155
1167
|
# Customize the options with defaults
|
1156
1168
|
call_metadata = @config.rpcs.get_entry.metadata.to_h
|
1157
1169
|
|
1158
|
-
# Set x-goog-api-client
|
1170
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1159
1171
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1160
1172
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1161
1173
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1162
1174
|
transports_version_send: [:rest]
|
1163
1175
|
|
1176
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1164
1177
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1165
1178
|
|
1166
1179
|
options.apply_defaults timeout: @config.rpcs.get_entry.timeout,
|
@@ -1282,12 +1295,13 @@ module Google
|
|
1282
1295
|
# Customize the options with defaults
|
1283
1296
|
call_metadata = @config.rpcs.lookup_entry.metadata.to_h
|
1284
1297
|
|
1285
|
-
# Set x-goog-api-client
|
1298
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1286
1299
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1287
1300
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1288
1301
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1289
1302
|
transports_version_send: [:rest]
|
1290
1303
|
|
1304
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1291
1305
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1292
1306
|
|
1293
1307
|
options.apply_defaults timeout: @config.rpcs.lookup_entry.timeout,
|
@@ -1382,12 +1396,13 @@ module Google
|
|
1382
1396
|
# Customize the options with defaults
|
1383
1397
|
call_metadata = @config.rpcs.list_entries.metadata.to_h
|
1384
1398
|
|
1385
|
-
# Set x-goog-api-client
|
1399
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1386
1400
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1387
1401
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1388
1402
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1389
1403
|
transports_version_send: [:rest]
|
1390
1404
|
|
1405
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1391
1406
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1392
1407
|
|
1393
1408
|
options.apply_defaults timeout: @config.rpcs.list_entries.timeout,
|
@@ -1467,12 +1482,13 @@ module Google
|
|
1467
1482
|
# Customize the options with defaults
|
1468
1483
|
call_metadata = @config.rpcs.modify_entry_overview.metadata.to_h
|
1469
1484
|
|
1470
|
-
# Set x-goog-api-client
|
1485
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1471
1486
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1472
1487
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1473
1488
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1474
1489
|
transports_version_send: [:rest]
|
1475
1490
|
|
1491
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1476
1492
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1477
1493
|
|
1478
1494
|
options.apply_defaults timeout: @config.rpcs.modify_entry_overview.timeout,
|
@@ -1551,12 +1567,13 @@ module Google
|
|
1551
1567
|
# Customize the options with defaults
|
1552
1568
|
call_metadata = @config.rpcs.modify_entry_contacts.metadata.to_h
|
1553
1569
|
|
1554
|
-
# Set x-goog-api-client
|
1570
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1555
1571
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1556
1572
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1557
1573
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1558
1574
|
transports_version_send: [:rest]
|
1559
1575
|
|
1576
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1560
1577
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1561
1578
|
|
1562
1579
|
options.apply_defaults timeout: @config.rpcs.modify_entry_contacts.timeout,
|
@@ -1643,12 +1660,13 @@ module Google
|
|
1643
1660
|
# Customize the options with defaults
|
1644
1661
|
call_metadata = @config.rpcs.create_tag_template.metadata.to_h
|
1645
1662
|
|
1646
|
-
# Set x-goog-api-client
|
1663
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1647
1664
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1648
1665
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1649
1666
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1650
1667
|
transports_version_send: [:rest]
|
1651
1668
|
|
1669
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1652
1670
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1653
1671
|
|
1654
1672
|
options.apply_defaults timeout: @config.rpcs.create_tag_template.timeout,
|
@@ -1721,12 +1739,13 @@ module Google
|
|
1721
1739
|
# Customize the options with defaults
|
1722
1740
|
call_metadata = @config.rpcs.get_tag_template.metadata.to_h
|
1723
1741
|
|
1724
|
-
# Set x-goog-api-client
|
1742
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1725
1743
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1726
1744
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1727
1745
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1728
1746
|
transports_version_send: [:rest]
|
1729
1747
|
|
1748
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1730
1749
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1731
1750
|
|
1732
1751
|
options.apply_defaults timeout: @config.rpcs.get_tag_template.timeout,
|
@@ -1817,12 +1836,13 @@ module Google
|
|
1817
1836
|
# Customize the options with defaults
|
1818
1837
|
call_metadata = @config.rpcs.update_tag_template.metadata.to_h
|
1819
1838
|
|
1820
|
-
# Set x-goog-api-client
|
1839
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1821
1840
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1822
1841
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1823
1842
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1824
1843
|
transports_version_send: [:rest]
|
1825
1844
|
|
1845
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1826
1846
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1827
1847
|
|
1828
1848
|
options.apply_defaults timeout: @config.rpcs.update_tag_template.timeout,
|
@@ -1903,12 +1923,13 @@ module Google
|
|
1903
1923
|
# Customize the options with defaults
|
1904
1924
|
call_metadata = @config.rpcs.delete_tag_template.metadata.to_h
|
1905
1925
|
|
1906
|
-
# Set x-goog-api-client
|
1926
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1907
1927
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1908
1928
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1909
1929
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
1910
1930
|
transports_version_send: [:rest]
|
1911
1931
|
|
1932
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1912
1933
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1913
1934
|
|
1914
1935
|
options.apply_defaults timeout: @config.rpcs.delete_tag_template.timeout,
|
@@ -1997,12 +2018,13 @@ module Google
|
|
1997
2018
|
# Customize the options with defaults
|
1998
2019
|
call_metadata = @config.rpcs.create_tag_template_field.metadata.to_h
|
1999
2020
|
|
2000
|
-
# Set x-goog-api-client
|
2021
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2001
2022
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2002
2023
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2003
2024
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2004
2025
|
transports_version_send: [:rest]
|
2005
2026
|
|
2027
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2006
2028
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2007
2029
|
|
2008
2030
|
options.apply_defaults timeout: @config.rpcs.create_tag_template_field.timeout,
|
@@ -2101,12 +2123,13 @@ module Google
|
|
2101
2123
|
# Customize the options with defaults
|
2102
2124
|
call_metadata = @config.rpcs.update_tag_template_field.metadata.to_h
|
2103
2125
|
|
2104
|
-
# Set x-goog-api-client
|
2126
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2105
2127
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2106
2128
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2107
2129
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2108
2130
|
transports_version_send: [:rest]
|
2109
2131
|
|
2132
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2110
2133
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2111
2134
|
|
2112
2135
|
options.apply_defaults timeout: @config.rpcs.update_tag_template_field.timeout,
|
@@ -2186,12 +2209,13 @@ module Google
|
|
2186
2209
|
# Customize the options with defaults
|
2187
2210
|
call_metadata = @config.rpcs.rename_tag_template_field.metadata.to_h
|
2188
2211
|
|
2189
|
-
# Set x-goog-api-client
|
2212
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2190
2213
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2191
2214
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2192
2215
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2193
2216
|
transports_version_send: [:rest]
|
2194
2217
|
|
2218
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2195
2219
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2196
2220
|
|
2197
2221
|
options.apply_defaults timeout: @config.rpcs.rename_tag_template_field.timeout,
|
@@ -2269,12 +2293,13 @@ module Google
|
|
2269
2293
|
# Customize the options with defaults
|
2270
2294
|
call_metadata = @config.rpcs.rename_tag_template_field_enum_value.metadata.to_h
|
2271
2295
|
|
2272
|
-
# Set x-goog-api-client
|
2296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2273
2297
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2274
2298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2275
2299
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2276
2300
|
transports_version_send: [:rest]
|
2277
2301
|
|
2302
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2278
2303
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2279
2304
|
|
2280
2305
|
options.apply_defaults timeout: @config.rpcs.rename_tag_template_field_enum_value.timeout,
|
@@ -2356,12 +2381,13 @@ module Google
|
|
2356
2381
|
# Customize the options with defaults
|
2357
2382
|
call_metadata = @config.rpcs.delete_tag_template_field.metadata.to_h
|
2358
2383
|
|
2359
|
-
# Set x-goog-api-client
|
2384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2360
2385
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2361
2386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2362
2387
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2363
2388
|
transports_version_send: [:rest]
|
2364
2389
|
|
2390
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2365
2391
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2366
2392
|
|
2367
2393
|
options.apply_defaults timeout: @config.rpcs.delete_tag_template_field.timeout,
|
@@ -2453,12 +2479,13 @@ module Google
|
|
2453
2479
|
# Customize the options with defaults
|
2454
2480
|
call_metadata = @config.rpcs.create_tag.metadata.to_h
|
2455
2481
|
|
2456
|
-
# Set x-goog-api-client
|
2482
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2457
2483
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2458
2484
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2459
2485
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2460
2486
|
transports_version_send: [:rest]
|
2461
2487
|
|
2488
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2462
2489
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2463
2490
|
|
2464
2491
|
options.apply_defaults timeout: @config.rpcs.create_tag.timeout,
|
@@ -2538,12 +2565,13 @@ module Google
|
|
2538
2565
|
# Customize the options with defaults
|
2539
2566
|
call_metadata = @config.rpcs.update_tag.metadata.to_h
|
2540
2567
|
|
2541
|
-
# Set x-goog-api-client
|
2568
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2542
2569
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2543
2570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2544
2571
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2545
2572
|
transports_version_send: [:rest]
|
2546
2573
|
|
2574
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2547
2575
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2548
2576
|
|
2549
2577
|
options.apply_defaults timeout: @config.rpcs.update_tag.timeout,
|
@@ -2616,12 +2644,13 @@ module Google
|
|
2616
2644
|
# Customize the options with defaults
|
2617
2645
|
call_metadata = @config.rpcs.delete_tag.metadata.to_h
|
2618
2646
|
|
2619
|
-
# Set x-goog-api-client
|
2647
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2620
2648
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2621
2649
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2622
2650
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2623
2651
|
transports_version_send: [:rest]
|
2624
2652
|
|
2653
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2625
2654
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2626
2655
|
|
2627
2656
|
options.apply_defaults timeout: @config.rpcs.delete_tag.timeout,
|
@@ -2709,12 +2738,13 @@ module Google
|
|
2709
2738
|
# Customize the options with defaults
|
2710
2739
|
call_metadata = @config.rpcs.list_tags.metadata.to_h
|
2711
2740
|
|
2712
|
-
# Set x-goog-api-client
|
2741
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2713
2742
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2714
2743
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2715
2744
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2716
2745
|
transports_version_send: [:rest]
|
2717
2746
|
|
2747
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2718
2748
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2719
2749
|
|
2720
2750
|
options.apply_defaults timeout: @config.rpcs.list_tags.timeout,
|
@@ -2818,12 +2848,13 @@ module Google
|
|
2818
2848
|
# Customize the options with defaults
|
2819
2849
|
call_metadata = @config.rpcs.reconcile_tags.metadata.to_h
|
2820
2850
|
|
2821
|
-
# Set x-goog-api-client
|
2851
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2822
2852
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2823
2853
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2824
2854
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2825
2855
|
transports_version_send: [:rest]
|
2826
2856
|
|
2857
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2827
2858
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2828
2859
|
|
2829
2860
|
options.apply_defaults timeout: @config.rpcs.reconcile_tags.timeout,
|
@@ -2898,12 +2929,13 @@ module Google
|
|
2898
2929
|
# Customize the options with defaults
|
2899
2930
|
call_metadata = @config.rpcs.star_entry.metadata.to_h
|
2900
2931
|
|
2901
|
-
# Set x-goog-api-client
|
2932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2902
2933
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2903
2934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2904
2935
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2905
2936
|
transports_version_send: [:rest]
|
2906
2937
|
|
2938
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2907
2939
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2908
2940
|
|
2909
2941
|
options.apply_defaults timeout: @config.rpcs.star_entry.timeout,
|
@@ -2977,12 +3009,13 @@ module Google
|
|
2977
3009
|
# Customize the options with defaults
|
2978
3010
|
call_metadata = @config.rpcs.unstar_entry.metadata.to_h
|
2979
3011
|
|
2980
|
-
# Set x-goog-api-client
|
3012
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2981
3013
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2982
3014
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2983
3015
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
2984
3016
|
transports_version_send: [:rest]
|
2985
3017
|
|
3018
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2986
3019
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2987
3020
|
|
2988
3021
|
options.apply_defaults timeout: @config.rpcs.unstar_entry.timeout,
|
@@ -3083,12 +3116,13 @@ module Google
|
|
3083
3116
|
# Customize the options with defaults
|
3084
3117
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
3085
3118
|
|
3086
|
-
# Set x-goog-api-client
|
3119
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3087
3120
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3088
3121
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3089
3122
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
3090
3123
|
transports_version_send: [:rest]
|
3091
3124
|
|
3125
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3092
3126
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3093
3127
|
|
3094
3128
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -3185,12 +3219,13 @@ module Google
|
|
3185
3219
|
# Customize the options with defaults
|
3186
3220
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
3187
3221
|
|
3188
|
-
# Set x-goog-api-client
|
3222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3189
3223
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3190
3224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3191
3225
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
3192
3226
|
transports_version_send: [:rest]
|
3193
3227
|
|
3228
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3194
3229
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3195
3230
|
|
3196
3231
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -3282,12 +3317,13 @@ module Google
|
|
3282
3317
|
# Customize the options with defaults
|
3283
3318
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
3284
3319
|
|
3285
|
-
# Set x-goog-api-client
|
3320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3286
3321
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3287
3322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3288
3323
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
3289
3324
|
transports_version_send: [:rest]
|
3290
3325
|
|
3326
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3291
3327
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3292
3328
|
|
3293
3329
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -3389,12 +3425,13 @@ module Google
|
|
3389
3425
|
# Customize the options with defaults
|
3390
3426
|
call_metadata = @config.rpcs.import_entries.metadata.to_h
|
3391
3427
|
|
3392
|
-
# Set x-goog-api-client
|
3428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3393
3429
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3394
3430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3395
3431
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
3396
3432
|
transports_version_send: [:rest]
|
3397
3433
|
|
3434
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3398
3435
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3399
3436
|
|
3400
3437
|
options.apply_defaults timeout: @config.rpcs.import_entries.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "datacatalog.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|