google-cloud-service_directory-v1 0.11.0 → 1.0.0
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/service_directory/v1/lookup_service/client.rb +5 -1
- data/lib/google/cloud/service_directory/v1/lookup_service/rest/client.rb +5 -1
- data/lib/google/cloud/service_directory/v1/registration_service/client.rb +39 -18
- data/lib/google/cloud/service_directory/v1/registration_service/rest/client.rb +39 -18
- data/lib/google/cloud/service_directory/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f36e50ab1603a7d040c53445a4a82c4e597ded427a7b0e943eeab8e0ba39dad
|
4
|
+
data.tar.gz: 024ed43fe547b4bc02330e00f175e2ebf6dcacca68a551a9468b33e7edc94453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12091c65219cb084013ab82d483d8d9b1c45a0260f30d6c65dcb9fe6da5a9067f0635eccfbb70a0848c9aa8955f6c1281c607a73ba56e365a975172361492fcf
|
7
|
+
data.tar.gz: d1421565fb5491c87a191254bd2e1e1bd6ff8647751a19366d3017c0d871150cb44a28d9344a8b95bbf452eb7b1739756e5293fa92976c617bf289d69bd71a45
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# Service Directory API for looking up service data at runtime.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "servicedirectory.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -278,10 +281,11 @@ module Google
|
|
278
281
|
# Customize the options with defaults
|
279
282
|
metadata = @config.rpcs.resolve_service.metadata.to_h
|
280
283
|
|
281
|
-
# Set x-goog-api-client
|
284
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
282
285
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
283
286
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
284
287
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
288
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
285
289
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
286
290
|
|
287
291
|
header_params = {}
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# Service Directory API for looking up service data at runtime.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "servicedirectory.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -271,12 +274,13 @@ module Google
|
|
271
274
|
# Customize the options with defaults
|
272
275
|
call_metadata = @config.rpcs.resolve_service.metadata.to_h
|
273
276
|
|
274
|
-
# Set x-goog-api-client
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
275
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
276
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
277
280
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
278
281
|
transports_version_send: [:rest]
|
279
282
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
280
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
281
285
|
|
282
286
|
options.apply_defaults timeout: @config.rpcs.resolve_service.timeout,
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
# `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
|
46
46
|
#
|
47
47
|
class Client
|
48
|
+
# @private
|
49
|
+
API_VERSION = ""
|
50
|
+
|
48
51
|
# @private
|
49
52
|
DEFAULT_ENDPOINT_TEMPLATE = "servicedirectory.$UNIVERSE_DOMAIN$"
|
50
53
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.create_namespace.metadata.to_h
|
262
265
|
|
263
|
-
# Set x-goog-api-client
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
266
269
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
header_params = {}
|
@@ -395,10 +399,11 @@ module Google
|
|
395
399
|
# Customize the options with defaults
|
396
400
|
metadata = @config.rpcs.list_namespaces.metadata.to_h
|
397
401
|
|
398
|
-
# Set x-goog-api-client
|
402
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
399
403
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
400
404
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
401
405
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
406
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
402
407
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
403
408
|
|
404
409
|
header_params = {}
|
@@ -481,10 +486,11 @@ module Google
|
|
481
486
|
# Customize the options with defaults
|
482
487
|
metadata = @config.rpcs.get_namespace.metadata.to_h
|
483
488
|
|
484
|
-
# Set x-goog-api-client
|
489
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
485
490
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
486
491
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
487
492
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
493
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
488
494
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
489
495
|
|
490
496
|
header_params = {}
|
@@ -568,10 +574,11 @@ module Google
|
|
568
574
|
# Customize the options with defaults
|
569
575
|
metadata = @config.rpcs.update_namespace.metadata.to_h
|
570
576
|
|
571
|
-
# Set x-goog-api-client
|
577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
572
578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
573
579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
574
580
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
575
582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
576
583
|
|
577
584
|
header_params = {}
|
@@ -654,10 +661,11 @@ module Google
|
|
654
661
|
# Customize the options with defaults
|
655
662
|
metadata = @config.rpcs.delete_namespace.metadata.to_h
|
656
663
|
|
657
|
-
# Set x-goog-api-client
|
664
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
658
665
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
659
666
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
660
667
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
668
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
661
669
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
662
670
|
|
663
671
|
header_params = {}
|
@@ -749,10 +757,11 @@ module Google
|
|
749
757
|
# Customize the options with defaults
|
750
758
|
metadata = @config.rpcs.create_service.metadata.to_h
|
751
759
|
|
752
|
-
# Set x-goog-api-client
|
760
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
753
761
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
754
762
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
755
763
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
764
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
756
765
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
757
766
|
|
758
767
|
header_params = {}
|
@@ -886,10 +895,11 @@ module Google
|
|
886
895
|
# Customize the options with defaults
|
887
896
|
metadata = @config.rpcs.list_services.metadata.to_h
|
888
897
|
|
889
|
-
# Set x-goog-api-client
|
898
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
890
899
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
891
900
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
892
901
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
902
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
893
903
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
894
904
|
|
895
905
|
header_params = {}
|
@@ -972,10 +982,11 @@ module Google
|
|
972
982
|
# Customize the options with defaults
|
973
983
|
metadata = @config.rpcs.get_service.metadata.to_h
|
974
984
|
|
975
|
-
# Set x-goog-api-client
|
985
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
976
986
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
977
987
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
978
988
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
989
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
979
990
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
980
991
|
|
981
992
|
header_params = {}
|
@@ -1059,10 +1070,11 @@ module Google
|
|
1059
1070
|
# Customize the options with defaults
|
1060
1071
|
metadata = @config.rpcs.update_service.metadata.to_h
|
1061
1072
|
|
1062
|
-
# Set x-goog-api-client
|
1073
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1063
1074
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1064
1075
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1065
1076
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1077
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1066
1078
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1067
1079
|
|
1068
1080
|
header_params = {}
|
@@ -1145,10 +1157,11 @@ module Google
|
|
1145
1157
|
# Customize the options with defaults
|
1146
1158
|
metadata = @config.rpcs.delete_service.metadata.to_h
|
1147
1159
|
|
1148
|
-
# Set x-goog-api-client
|
1160
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1149
1161
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1150
1162
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1151
1163
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1164
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1152
1165
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1153
1166
|
|
1154
1167
|
header_params = {}
|
@@ -1240,10 +1253,11 @@ module Google
|
|
1240
1253
|
# Customize the options with defaults
|
1241
1254
|
metadata = @config.rpcs.create_endpoint.metadata.to_h
|
1242
1255
|
|
1243
|
-
# Set x-goog-api-client
|
1256
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1244
1257
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1245
1258
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1246
1259
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1260
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1247
1261
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1248
1262
|
|
1249
1263
|
header_params = {}
|
@@ -1380,10 +1394,11 @@ module Google
|
|
1380
1394
|
# Customize the options with defaults
|
1381
1395
|
metadata = @config.rpcs.list_endpoints.metadata.to_h
|
1382
1396
|
|
1383
|
-
# Set x-goog-api-client
|
1397
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1384
1398
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1385
1399
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1386
1400
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1401
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1387
1402
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1388
1403
|
|
1389
1404
|
header_params = {}
|
@@ -1466,10 +1481,11 @@ module Google
|
|
1466
1481
|
# Customize the options with defaults
|
1467
1482
|
metadata = @config.rpcs.get_endpoint.metadata.to_h
|
1468
1483
|
|
1469
|
-
# Set x-goog-api-client
|
1484
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1470
1485
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1471
1486
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1472
1487
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1488
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1473
1489
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1474
1490
|
|
1475
1491
|
header_params = {}
|
@@ -1553,10 +1569,11 @@ module Google
|
|
1553
1569
|
# Customize the options with defaults
|
1554
1570
|
metadata = @config.rpcs.update_endpoint.metadata.to_h
|
1555
1571
|
|
1556
|
-
# Set x-goog-api-client
|
1572
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1557
1573
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1558
1574
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1559
1575
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1576
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1560
1577
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1561
1578
|
|
1562
1579
|
header_params = {}
|
@@ -1638,10 +1655,11 @@ module Google
|
|
1638
1655
|
# Customize the options with defaults
|
1639
1656
|
metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
1640
1657
|
|
1641
|
-
# Set x-goog-api-client
|
1658
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1642
1659
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1643
1660
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1644
1661
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1662
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1645
1663
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1646
1664
|
|
1647
1665
|
header_params = {}
|
@@ -1727,10 +1745,11 @@ module Google
|
|
1727
1745
|
# Customize the options with defaults
|
1728
1746
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1729
1747
|
|
1730
|
-
# Set x-goog-api-client
|
1748
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1731
1749
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1732
1750
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1733
1751
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1752
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1734
1753
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1735
1754
|
|
1736
1755
|
header_params = {}
|
@@ -1824,10 +1843,11 @@ module Google
|
|
1824
1843
|
# Customize the options with defaults
|
1825
1844
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1826
1845
|
|
1827
|
-
# Set x-goog-api-client
|
1846
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1828
1847
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1829
1848
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1830
1849
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1850
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1831
1851
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1832
1852
|
|
1833
1853
|
header_params = {}
|
@@ -1915,10 +1935,11 @@ module Google
|
|
1915
1935
|
# Customize the options with defaults
|
1916
1936
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1917
1937
|
|
1918
|
-
# Set x-goog-api-client
|
1938
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1919
1939
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1920
1940
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1921
1941
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION
|
1942
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1922
1943
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1923
1944
|
|
1924
1945
|
header_params = {}
|
@@ -47,6 +47,9 @@ module Google
|
|
47
47
|
# `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
|
48
48
|
#
|
49
49
|
class Client
|
50
|
+
# @private
|
51
|
+
API_VERSION = ""
|
52
|
+
|
50
53
|
# @private
|
51
54
|
DEFAULT_ENDPOINT_TEMPLATE = "servicedirectory.$UNIVERSE_DOMAIN$"
|
52
55
|
|
@@ -253,12 +256,13 @@ module Google
|
|
253
256
|
# Customize the options with defaults
|
254
257
|
call_metadata = @config.rpcs.create_namespace.metadata.to_h
|
255
258
|
|
256
|
-
# Set x-goog-api-client
|
259
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
257
260
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
258
261
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
259
262
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
260
263
|
transports_version_send: [:rest]
|
261
264
|
|
265
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
262
266
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
263
267
|
|
264
268
|
options.apply_defaults timeout: @config.rpcs.create_namespace.timeout,
|
@@ -381,12 +385,13 @@ module Google
|
|
381
385
|
# Customize the options with defaults
|
382
386
|
call_metadata = @config.rpcs.list_namespaces.metadata.to_h
|
383
387
|
|
384
|
-
# Set x-goog-api-client
|
388
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
385
389
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
386
390
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
387
391
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
388
392
|
transports_version_send: [:rest]
|
389
393
|
|
394
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
390
395
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
391
396
|
|
392
397
|
options.apply_defaults timeout: @config.rpcs.list_namespaces.timeout,
|
@@ -460,12 +465,13 @@ module Google
|
|
460
465
|
# Customize the options with defaults
|
461
466
|
call_metadata = @config.rpcs.get_namespace.metadata.to_h
|
462
467
|
|
463
|
-
# Set x-goog-api-client
|
468
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
464
469
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
465
470
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
466
471
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
467
472
|
transports_version_send: [:rest]
|
468
473
|
|
474
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
469
475
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
470
476
|
|
471
477
|
options.apply_defaults timeout: @config.rpcs.get_namespace.timeout,
|
@@ -540,12 +546,13 @@ module Google
|
|
540
546
|
# Customize the options with defaults
|
541
547
|
call_metadata = @config.rpcs.update_namespace.metadata.to_h
|
542
548
|
|
543
|
-
# Set x-goog-api-client
|
549
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
544
550
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
545
551
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
546
552
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
547
553
|
transports_version_send: [:rest]
|
548
554
|
|
555
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
549
556
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
550
557
|
|
551
558
|
options.apply_defaults timeout: @config.rpcs.update_namespace.timeout,
|
@@ -619,12 +626,13 @@ module Google
|
|
619
626
|
# Customize the options with defaults
|
620
627
|
call_metadata = @config.rpcs.delete_namespace.metadata.to_h
|
621
628
|
|
622
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
623
630
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
624
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
625
632
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
626
633
|
transports_version_send: [:rest]
|
627
634
|
|
635
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
628
636
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
629
637
|
|
630
638
|
options.apply_defaults timeout: @config.rpcs.delete_namespace.timeout,
|
@@ -707,12 +715,13 @@ module Google
|
|
707
715
|
# Customize the options with defaults
|
708
716
|
call_metadata = @config.rpcs.create_service.metadata.to_h
|
709
717
|
|
710
|
-
# Set x-goog-api-client
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
711
719
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
712
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
713
721
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
714
722
|
transports_version_send: [:rest]
|
715
723
|
|
724
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
716
725
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
717
726
|
|
718
727
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
@@ -837,12 +846,13 @@ module Google
|
|
837
846
|
# Customize the options with defaults
|
838
847
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
839
848
|
|
840
|
-
# Set x-goog-api-client
|
849
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
841
850
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
842
851
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
843
852
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
844
853
|
transports_version_send: [:rest]
|
845
854
|
|
855
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
846
856
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
847
857
|
|
848
858
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -916,12 +926,13 @@ module Google
|
|
916
926
|
# Customize the options with defaults
|
917
927
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
918
928
|
|
919
|
-
# Set x-goog-api-client
|
929
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
920
930
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
921
931
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
922
932
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
923
933
|
transports_version_send: [:rest]
|
924
934
|
|
935
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
925
936
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
926
937
|
|
927
938
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
@@ -996,12 +1007,13 @@ module Google
|
|
996
1007
|
# Customize the options with defaults
|
997
1008
|
call_metadata = @config.rpcs.update_service.metadata.to_h
|
998
1009
|
|
999
|
-
# Set x-goog-api-client
|
1010
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1000
1011
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1001
1012
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1002
1013
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1003
1014
|
transports_version_send: [:rest]
|
1004
1015
|
|
1016
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1005
1017
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1006
1018
|
|
1007
1019
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
@@ -1075,12 +1087,13 @@ module Google
|
|
1075
1087
|
# Customize the options with defaults
|
1076
1088
|
call_metadata = @config.rpcs.delete_service.metadata.to_h
|
1077
1089
|
|
1078
|
-
# Set x-goog-api-client
|
1090
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1079
1091
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1080
1092
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1081
1093
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1082
1094
|
transports_version_send: [:rest]
|
1083
1095
|
|
1096
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1084
1097
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1085
1098
|
|
1086
1099
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
@@ -1163,12 +1176,13 @@ module Google
|
|
1163
1176
|
# Customize the options with defaults
|
1164
1177
|
call_metadata = @config.rpcs.create_endpoint.metadata.to_h
|
1165
1178
|
|
1166
|
-
# Set x-goog-api-client
|
1179
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1167
1180
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1168
1181
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1169
1182
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1170
1183
|
transports_version_send: [:rest]
|
1171
1184
|
|
1185
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1172
1186
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1173
1187
|
|
1174
1188
|
options.apply_defaults timeout: @config.rpcs.create_endpoint.timeout,
|
@@ -1296,12 +1310,13 @@ module Google
|
|
1296
1310
|
# Customize the options with defaults
|
1297
1311
|
call_metadata = @config.rpcs.list_endpoints.metadata.to_h
|
1298
1312
|
|
1299
|
-
# Set x-goog-api-client
|
1313
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1300
1314
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1301
1315
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1302
1316
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1303
1317
|
transports_version_send: [:rest]
|
1304
1318
|
|
1319
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1305
1320
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1306
1321
|
|
1307
1322
|
options.apply_defaults timeout: @config.rpcs.list_endpoints.timeout,
|
@@ -1375,12 +1390,13 @@ module Google
|
|
1375
1390
|
# Customize the options with defaults
|
1376
1391
|
call_metadata = @config.rpcs.get_endpoint.metadata.to_h
|
1377
1392
|
|
1378
|
-
# Set x-goog-api-client
|
1393
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1379
1394
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1380
1395
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1381
1396
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1382
1397
|
transports_version_send: [:rest]
|
1383
1398
|
|
1399
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1384
1400
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1385
1401
|
|
1386
1402
|
options.apply_defaults timeout: @config.rpcs.get_endpoint.timeout,
|
@@ -1455,12 +1471,13 @@ module Google
|
|
1455
1471
|
# Customize the options with defaults
|
1456
1472
|
call_metadata = @config.rpcs.update_endpoint.metadata.to_h
|
1457
1473
|
|
1458
|
-
# Set x-goog-api-client
|
1474
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1459
1475
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1460
1476
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1461
1477
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1462
1478
|
transports_version_send: [:rest]
|
1463
1479
|
|
1480
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1464
1481
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1465
1482
|
|
1466
1483
|
options.apply_defaults timeout: @config.rpcs.update_endpoint.timeout,
|
@@ -1533,12 +1550,13 @@ module Google
|
|
1533
1550
|
# Customize the options with defaults
|
1534
1551
|
call_metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
1535
1552
|
|
1536
|
-
# Set x-goog-api-client
|
1553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1537
1554
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1538
1555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1539
1556
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1540
1557
|
transports_version_send: [:rest]
|
1541
1558
|
|
1559
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1542
1560
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1543
1561
|
|
1544
1562
|
options.apply_defaults timeout: @config.rpcs.delete_endpoint.timeout,
|
@@ -1615,12 +1633,13 @@ module Google
|
|
1615
1633
|
# Customize the options with defaults
|
1616
1634
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1617
1635
|
|
1618
|
-
# Set x-goog-api-client
|
1636
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1619
1637
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1620
1638
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1621
1639
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1622
1640
|
transports_version_send: [:rest]
|
1623
1641
|
|
1642
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1624
1643
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1625
1644
|
|
1626
1645
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1705,12 +1724,13 @@ module Google
|
|
1705
1724
|
# Customize the options with defaults
|
1706
1725
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1707
1726
|
|
1708
|
-
# Set x-goog-api-client
|
1727
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1709
1728
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1710
1729
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1711
1730
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1712
1731
|
transports_version_send: [:rest]
|
1713
1732
|
|
1733
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1714
1734
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1715
1735
|
|
1716
1736
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1789,12 +1809,13 @@ module Google
|
|
1789
1809
|
# Customize the options with defaults
|
1790
1810
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1791
1811
|
|
1792
|
-
# Set x-goog-api-client
|
1812
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1793
1813
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1794
1814
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1795
1815
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1::VERSION,
|
1796
1816
|
transports_version_send: [:rest]
|
1797
1817
|
|
1818
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1798
1819
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1799
1820
|
|
1800
1821
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory-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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|