google-cloud-dataplex-v1 0.20.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +54 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +54 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +19 -8
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +19 -8
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +33 -15
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +33 -15
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +69 -33
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +69 -33
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +17 -37
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +31 -0
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +24 -16
- metadata +2 -2
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# Storage and BigQuery.
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "dataplex.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -350,12 +353,13 @@ module Google
|
|
350
353
|
# Customize the options with defaults
|
351
354
|
call_metadata = @config.rpcs.create_entry_type.metadata.to_h
|
352
355
|
|
353
|
-
# Set x-goog-api-client
|
356
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
354
357
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
355
358
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
356
359
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
357
360
|
transports_version_send: [:rest]
|
358
361
|
|
362
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
359
363
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
360
364
|
|
361
365
|
options.apply_defaults timeout: @config.rpcs.create_entry_type.timeout,
|
@@ -441,12 +445,13 @@ module Google
|
|
441
445
|
# Customize the options with defaults
|
442
446
|
call_metadata = @config.rpcs.update_entry_type.metadata.to_h
|
443
447
|
|
444
|
-
# Set x-goog-api-client
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
445
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
446
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
447
451
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
448
452
|
transports_version_send: [:rest]
|
449
453
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
450
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
451
456
|
|
452
457
|
options.apply_defaults timeout: @config.rpcs.update_entry_type.timeout,
|
@@ -531,12 +536,13 @@ module Google
|
|
531
536
|
# Customize the options with defaults
|
532
537
|
call_metadata = @config.rpcs.delete_entry_type.metadata.to_h
|
533
538
|
|
534
|
-
# Set x-goog-api-client
|
539
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
535
540
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
536
541
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
537
542
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
538
543
|
transports_version_send: [:rest]
|
539
544
|
|
545
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
540
546
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
541
547
|
|
542
548
|
options.apply_defaults timeout: @config.rpcs.delete_entry_type.timeout,
|
@@ -637,12 +643,13 @@ module Google
|
|
637
643
|
# Customize the options with defaults
|
638
644
|
call_metadata = @config.rpcs.list_entry_types.metadata.to_h
|
639
645
|
|
640
|
-
# Set x-goog-api-client
|
646
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
641
647
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
642
648
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
643
649
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
644
650
|
transports_version_send: [:rest]
|
645
651
|
|
652
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
646
653
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
647
654
|
|
648
655
|
options.apply_defaults timeout: @config.rpcs.list_entry_types.timeout,
|
@@ -716,12 +723,13 @@ module Google
|
|
716
723
|
# Customize the options with defaults
|
717
724
|
call_metadata = @config.rpcs.get_entry_type.metadata.to_h
|
718
725
|
|
719
|
-
# Set x-goog-api-client
|
726
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
720
727
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
721
728
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
722
729
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
723
730
|
transports_version_send: [:rest]
|
724
731
|
|
732
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
725
733
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
726
734
|
|
727
735
|
options.apply_defaults timeout: @config.rpcs.get_entry_type.timeout,
|
@@ -810,12 +818,13 @@ module Google
|
|
810
818
|
# Customize the options with defaults
|
811
819
|
call_metadata = @config.rpcs.create_aspect_type.metadata.to_h
|
812
820
|
|
813
|
-
# Set x-goog-api-client
|
821
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
814
822
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
815
823
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
816
824
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
817
825
|
transports_version_send: [:rest]
|
818
826
|
|
827
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
819
828
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
820
829
|
|
821
830
|
options.apply_defaults timeout: @config.rpcs.create_aspect_type.timeout,
|
@@ -901,12 +910,13 @@ module Google
|
|
901
910
|
# Customize the options with defaults
|
902
911
|
call_metadata = @config.rpcs.update_aspect_type.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::Dataplex::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.update_aspect_type.timeout,
|
@@ -991,12 +1001,13 @@ module Google
|
|
991
1001
|
# Customize the options with defaults
|
992
1002
|
call_metadata = @config.rpcs.delete_aspect_type.metadata.to_h
|
993
1003
|
|
994
|
-
# Set x-goog-api-client
|
1004
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
995
1005
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
996
1006
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
997
1007
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
998
1008
|
transports_version_send: [:rest]
|
999
1009
|
|
1010
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1000
1011
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1001
1012
|
|
1002
1013
|
options.apply_defaults timeout: @config.rpcs.delete_aspect_type.timeout,
|
@@ -1097,12 +1108,13 @@ module Google
|
|
1097
1108
|
# Customize the options with defaults
|
1098
1109
|
call_metadata = @config.rpcs.list_aspect_types.metadata.to_h
|
1099
1110
|
|
1100
|
-
# Set x-goog-api-client
|
1111
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1101
1112
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1102
1113
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1103
1114
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1104
1115
|
transports_version_send: [:rest]
|
1105
1116
|
|
1117
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1106
1118
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1107
1119
|
|
1108
1120
|
options.apply_defaults timeout: @config.rpcs.list_aspect_types.timeout,
|
@@ -1176,12 +1188,13 @@ module Google
|
|
1176
1188
|
# Customize the options with defaults
|
1177
1189
|
call_metadata = @config.rpcs.get_aspect_type.metadata.to_h
|
1178
1190
|
|
1179
|
-
# Set x-goog-api-client
|
1191
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1180
1192
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1181
1193
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1182
1194
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1183
1195
|
transports_version_send: [:rest]
|
1184
1196
|
|
1197
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1185
1198
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1186
1199
|
|
1187
1200
|
options.apply_defaults timeout: @config.rpcs.get_aspect_type.timeout,
|
@@ -1270,12 +1283,13 @@ module Google
|
|
1270
1283
|
# Customize the options with defaults
|
1271
1284
|
call_metadata = @config.rpcs.create_entry_group.metadata.to_h
|
1272
1285
|
|
1273
|
-
# Set x-goog-api-client
|
1286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1274
1287
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1275
1288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1276
1289
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1277
1290
|
transports_version_send: [:rest]
|
1278
1291
|
|
1292
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1279
1293
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1280
1294
|
|
1281
1295
|
options.apply_defaults timeout: @config.rpcs.create_entry_group.timeout,
|
@@ -1361,12 +1375,13 @@ module Google
|
|
1361
1375
|
# Customize the options with defaults
|
1362
1376
|
call_metadata = @config.rpcs.update_entry_group.metadata.to_h
|
1363
1377
|
|
1364
|
-
# Set x-goog-api-client
|
1378
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1365
1379
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1366
1380
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1367
1381
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1368
1382
|
transports_version_send: [:rest]
|
1369
1383
|
|
1384
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1370
1385
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1371
1386
|
|
1372
1387
|
options.apply_defaults timeout: @config.rpcs.update_entry_group.timeout,
|
@@ -1451,12 +1466,13 @@ module Google
|
|
1451
1466
|
# Customize the options with defaults
|
1452
1467
|
call_metadata = @config.rpcs.delete_entry_group.metadata.to_h
|
1453
1468
|
|
1454
|
-
# Set x-goog-api-client
|
1469
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1455
1470
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1456
1471
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1457
1472
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1458
1473
|
transports_version_send: [:rest]
|
1459
1474
|
|
1475
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1460
1476
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1461
1477
|
|
1462
1478
|
options.apply_defaults timeout: @config.rpcs.delete_entry_group.timeout,
|
@@ -1550,12 +1566,13 @@ module Google
|
|
1550
1566
|
# Customize the options with defaults
|
1551
1567
|
call_metadata = @config.rpcs.list_entry_groups.metadata.to_h
|
1552
1568
|
|
1553
|
-
# Set x-goog-api-client
|
1569
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1554
1570
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1555
1571
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1556
1572
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1557
1573
|
transports_version_send: [:rest]
|
1558
1574
|
|
1575
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1559
1576
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1560
1577
|
|
1561
1578
|
options.apply_defaults timeout: @config.rpcs.list_entry_groups.timeout,
|
@@ -1629,12 +1646,13 @@ module Google
|
|
1629
1646
|
# Customize the options with defaults
|
1630
1647
|
call_metadata = @config.rpcs.get_entry_group.metadata.to_h
|
1631
1648
|
|
1632
|
-
# Set x-goog-api-client
|
1649
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1633
1650
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1634
1651
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1635
1652
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1636
1653
|
transports_version_send: [:rest]
|
1637
1654
|
|
1655
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1638
1656
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1639
1657
|
|
1640
1658
|
options.apply_defaults timeout: @config.rpcs.get_entry_group.timeout,
|
@@ -1730,12 +1748,13 @@ module Google
|
|
1730
1748
|
# Customize the options with defaults
|
1731
1749
|
call_metadata = @config.rpcs.create_entry.metadata.to_h
|
1732
1750
|
|
1733
|
-
# Set x-goog-api-client
|
1751
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1734
1752
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1735
1753
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1736
1754
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1737
1755
|
transports_version_send: [:rest]
|
1738
1756
|
|
1757
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1739
1758
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1740
1759
|
|
1741
1760
|
options.apply_defaults timeout: @config.rpcs.create_entry.timeout,
|
@@ -1834,12 +1853,13 @@ module Google
|
|
1834
1853
|
# Customize the options with defaults
|
1835
1854
|
call_metadata = @config.rpcs.update_entry.metadata.to_h
|
1836
1855
|
|
1837
|
-
# Set x-goog-api-client
|
1856
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1838
1857
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1839
1858
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1840
1859
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1841
1860
|
transports_version_send: [:rest]
|
1842
1861
|
|
1862
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1843
1863
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1844
1864
|
|
1845
1865
|
options.apply_defaults timeout: @config.rpcs.update_entry.timeout,
|
@@ -1913,12 +1933,13 @@ module Google
|
|
1913
1933
|
# Customize the options with defaults
|
1914
1934
|
call_metadata = @config.rpcs.delete_entry.metadata.to_h
|
1915
1935
|
|
1916
|
-
# Set x-goog-api-client
|
1936
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1917
1937
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1918
1938
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1919
1939
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
1920
1940
|
transports_version_send: [:rest]
|
1921
1941
|
|
1942
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1922
1943
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1923
1944
|
|
1924
1945
|
options.apply_defaults timeout: @config.rpcs.delete_entry.timeout,
|
@@ -1965,15 +1986,17 @@ module Google
|
|
1965
1986
|
# Optional. A filter on the entries to return.
|
1966
1987
|
# Filters are case-sensitive.
|
1967
1988
|
# The request can be filtered by the following fields:
|
1968
|
-
# entry_type, display_name.
|
1989
|
+
# entry_type, entry_source.display_name.
|
1969
1990
|
# The comparison operators are =, !=, <, >, <=, >= (strings are compared
|
1970
1991
|
# according to lexical order)
|
1971
1992
|
# The logical operators AND, OR, NOT can be used
|
1972
|
-
# in the filter.
|
1973
|
-
#
|
1993
|
+
# in the filter. Wildcard "*" can be used, but for entry_type the full
|
1994
|
+
# project id or number needs to be provided. Example filter expressions:
|
1995
|
+
# "entry_source.display_name=AnExampleDisplayName"
|
1974
1996
|
# "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
|
1975
|
-
# "entry_type=projects/a* OR
|
1976
|
-
#
|
1997
|
+
# "entry_type=projects/example-project/locations/us/entryTypes/a* OR
|
1998
|
+
# entry_type=projects/another-project/locations/*"
|
1999
|
+
# "NOT entry_source.display_name=AnotherExampleDisplayName"
|
1977
2000
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1978
2001
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Entry>]
|
1979
2002
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -2012,12 +2035,13 @@ module Google
|
|
2012
2035
|
# Customize the options with defaults
|
2013
2036
|
call_metadata = @config.rpcs.list_entries.metadata.to_h
|
2014
2037
|
|
2015
|
-
# Set x-goog-api-client
|
2038
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2016
2039
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2017
2040
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2018
2041
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
2019
2042
|
transports_version_send: [:rest]
|
2020
2043
|
|
2044
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2021
2045
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2022
2046
|
|
2023
2047
|
options.apply_defaults timeout: @config.rpcs.list_entries.timeout,
|
@@ -2100,12 +2124,13 @@ module Google
|
|
2100
2124
|
# Customize the options with defaults
|
2101
2125
|
call_metadata = @config.rpcs.get_entry.metadata.to_h
|
2102
2126
|
|
2103
|
-
# Set x-goog-api-client
|
2127
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2104
2128
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2105
2129
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2106
2130
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
2107
2131
|
transports_version_send: [:rest]
|
2108
2132
|
|
2133
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2109
2134
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2110
2135
|
|
2111
2136
|
options.apply_defaults timeout: @config.rpcs.get_entry.timeout,
|
@@ -2190,12 +2215,13 @@ module Google
|
|
2190
2215
|
# Customize the options with defaults
|
2191
2216
|
call_metadata = @config.rpcs.lookup_entry.metadata.to_h
|
2192
2217
|
|
2193
|
-
# Set x-goog-api-client
|
2218
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2194
2219
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2195
2220
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2196
2221
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
2197
2222
|
transports_version_send: [:rest]
|
2198
2223
|
|
2224
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2199
2225
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2200
2226
|
|
2201
2227
|
options.apply_defaults timeout: @config.rpcs.lookup_entry.timeout,
|
@@ -2285,12 +2311,13 @@ module Google
|
|
2285
2311
|
# Customize the options with defaults
|
2286
2312
|
call_metadata = @config.rpcs.search_entries.metadata.to_h
|
2287
2313
|
|
2288
|
-
# Set x-goog-api-client
|
2314
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2289
2315
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2290
2316
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2291
2317
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
2292
2318
|
transports_version_send: [:rest]
|
2293
2319
|
|
2320
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2294
2321
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2295
2322
|
|
2296
2323
|
options.apply_defaults timeout: @config.rpcs.search_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 = "dataplex.$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::Dataplex::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::Dataplex::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::Dataplex::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::Dataplex::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,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# ContentService manages Notebook and SQL Scripts for Dataplex.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "dataplex.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -279,10 +282,11 @@ module Google
|
|
279
282
|
# Customize the options with defaults
|
280
283
|
metadata = @config.rpcs.create_content.metadata.to_h
|
281
284
|
|
282
|
-
# Set x-goog-api-client
|
285
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
283
286
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
284
287
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
285
288
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
289
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
286
290
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
287
291
|
|
288
292
|
header_params = {}
|
@@ -370,10 +374,11 @@ module Google
|
|
370
374
|
# Customize the options with defaults
|
371
375
|
metadata = @config.rpcs.update_content.metadata.to_h
|
372
376
|
|
373
|
-
# Set x-goog-api-client
|
377
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
374
378
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
375
379
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
376
380
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
381
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
377
382
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
378
383
|
|
379
384
|
header_params = {}
|
@@ -456,10 +461,11 @@ module Google
|
|
456
461
|
# Customize the options with defaults
|
457
462
|
metadata = @config.rpcs.delete_content.metadata.to_h
|
458
463
|
|
459
|
-
# Set x-goog-api-client
|
464
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
460
465
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
461
466
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
462
467
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
468
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
463
469
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
464
470
|
|
465
471
|
header_params = {}
|
@@ -544,10 +550,11 @@ module Google
|
|
544
550
|
# Customize the options with defaults
|
545
551
|
metadata = @config.rpcs.get_content.metadata.to_h
|
546
552
|
|
547
|
-
# Set x-goog-api-client
|
553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
548
554
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
549
555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
550
556
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
557
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
551
558
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
552
559
|
|
553
560
|
header_params = {}
|
@@ -638,10 +645,11 @@ module Google
|
|
638
645
|
# Customize the options with defaults
|
639
646
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
640
647
|
|
641
|
-
# Set x-goog-api-client
|
648
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
642
649
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
643
650
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
644
651
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
652
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
645
653
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
646
654
|
|
647
655
|
header_params = {}
|
@@ -739,10 +747,11 @@ module Google
|
|
739
747
|
# Customize the options with defaults
|
740
748
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
741
749
|
|
742
|
-
# Set x-goog-api-client
|
750
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
743
751
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
744
752
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
745
753
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
754
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
746
755
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
747
756
|
|
748
757
|
header_params = {}
|
@@ -839,10 +848,11 @@ module Google
|
|
839
848
|
# Customize the options with defaults
|
840
849
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
841
850
|
|
842
|
-
# Set x-goog-api-client
|
851
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
843
852
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
844
853
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
845
854
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
855
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
846
856
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
847
857
|
|
848
858
|
header_params = {}
|
@@ -948,10 +958,11 @@ module Google
|
|
948
958
|
# Customize the options with defaults
|
949
959
|
metadata = @config.rpcs.list_content.metadata.to_h
|
950
960
|
|
951
|
-
# Set x-goog-api-client
|
961
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
952
962
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
953
963
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
954
964
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
965
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
955
966
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
956
967
|
|
957
968
|
header_params = {}
|