google-cloud-service_directory-v1beta1 0.15.0 → 0.15.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/service_directory/v1beta1/lookup_service/client.rb +5 -1
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/client.rb +5 -1
- data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +42 -21
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/client.rb +42 -21
- data/lib/google/cloud/service_directory/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +3 -3
- 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: 3249478aa1ff190026b56909d7124e1ed83e3abfcbe067633db3dac6774aba56
|
4
|
+
data.tar.gz: fb6b079fbb500d1f67a488df4227ccbe0f2d9d5a43e78ab565ebb46640e61d41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ba665d92d9e5b00c022de9bef662a083bf41aee21e46196c4a0f8f360fda821563a6965c74c358318605d8cf56685c9c635bae307db56efd5aad285ec3adfff
|
7
|
+
data.tar.gz: 13994731e05ccf2a0e157ae8216e78f0b3c002958893fe6641db29ba12458ac9ce7c7fe85899fc0efbc64dccc7fd1753902305b5b52dd54c4e0cc07283bdd411
|
@@ -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::V1beta1::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::V1beta1::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::V1beta1::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 = {}
|
@@ -312,7 +316,7 @@ module Google
|
|
312
316
|
# Required. The resource name of the project and location whose namespaces
|
313
317
|
# you'd like to list.
|
314
318
|
# @param page_size [::Integer]
|
315
|
-
# Optional. The maximum number of items to return.
|
319
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
316
320
|
# @param page_token [::String]
|
317
321
|
# Optional. The next_page_token value returned from a previous List request,
|
318
322
|
# if any.
|
@@ -397,10 +401,11 @@ module Google
|
|
397
401
|
# Customize the options with defaults
|
398
402
|
metadata = @config.rpcs.list_namespaces.metadata.to_h
|
399
403
|
|
400
|
-
# Set x-goog-api-client
|
404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
401
405
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
402
406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
403
407
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
408
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
404
409
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
405
410
|
|
406
411
|
header_params = {}
|
@@ -483,10 +488,11 @@ module Google
|
|
483
488
|
# Customize the options with defaults
|
484
489
|
metadata = @config.rpcs.get_namespace.metadata.to_h
|
485
490
|
|
486
|
-
# Set x-goog-api-client
|
491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
487
492
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
488
493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
489
494
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
495
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
490
496
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
491
497
|
|
492
498
|
header_params = {}
|
@@ -570,10 +576,11 @@ module Google
|
|
570
576
|
# Customize the options with defaults
|
571
577
|
metadata = @config.rpcs.update_namespace.metadata.to_h
|
572
578
|
|
573
|
-
# Set x-goog-api-client
|
579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
574
580
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
575
581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
576
582
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
583
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
577
584
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
578
585
|
|
579
586
|
header_params = {}
|
@@ -656,10 +663,11 @@ module Google
|
|
656
663
|
# Customize the options with defaults
|
657
664
|
metadata = @config.rpcs.delete_namespace.metadata.to_h
|
658
665
|
|
659
|
-
# Set x-goog-api-client
|
666
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
660
667
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
661
668
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
662
669
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
670
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
663
671
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
664
672
|
|
665
673
|
header_params = {}
|
@@ -751,10 +759,11 @@ module Google
|
|
751
759
|
# Customize the options with defaults
|
752
760
|
metadata = @config.rpcs.create_service.metadata.to_h
|
753
761
|
|
754
|
-
# Set x-goog-api-client
|
762
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
755
763
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
756
764
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
757
765
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
766
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
758
767
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
759
768
|
|
760
769
|
header_params = {}
|
@@ -803,7 +812,7 @@ module Google
|
|
803
812
|
# Required. The resource name of the namespace whose services you'd
|
804
813
|
# like to list.
|
805
814
|
# @param page_size [::Integer]
|
806
|
-
# Optional. The maximum number of items to return.
|
815
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
807
816
|
# @param page_token [::String]
|
808
817
|
# Optional. The next_page_token value returned from a previous List request,
|
809
818
|
# if any.
|
@@ -891,10 +900,11 @@ module Google
|
|
891
900
|
# Customize the options with defaults
|
892
901
|
metadata = @config.rpcs.list_services.metadata.to_h
|
893
902
|
|
894
|
-
# Set x-goog-api-client
|
903
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
895
904
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
896
905
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
897
906
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
907
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
898
908
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
899
909
|
|
900
910
|
header_params = {}
|
@@ -977,10 +987,11 @@ module Google
|
|
977
987
|
# Customize the options with defaults
|
978
988
|
metadata = @config.rpcs.get_service.metadata.to_h
|
979
989
|
|
980
|
-
# Set x-goog-api-client
|
990
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
981
991
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
982
992
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
983
993
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
994
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
984
995
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
985
996
|
|
986
997
|
header_params = {}
|
@@ -1064,10 +1075,11 @@ module Google
|
|
1064
1075
|
# Customize the options with defaults
|
1065
1076
|
metadata = @config.rpcs.update_service.metadata.to_h
|
1066
1077
|
|
1067
|
-
# Set x-goog-api-client
|
1078
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1068
1079
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1069
1080
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1070
1081
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1082
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1071
1083
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1072
1084
|
|
1073
1085
|
header_params = {}
|
@@ -1150,10 +1162,11 @@ module Google
|
|
1150
1162
|
# Customize the options with defaults
|
1151
1163
|
metadata = @config.rpcs.delete_service.metadata.to_h
|
1152
1164
|
|
1153
|
-
# Set x-goog-api-client
|
1165
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1154
1166
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1155
1167
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1156
1168
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1169
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1157
1170
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1158
1171
|
|
1159
1172
|
header_params = {}
|
@@ -1245,10 +1258,11 @@ module Google
|
|
1245
1258
|
# Customize the options with defaults
|
1246
1259
|
metadata = @config.rpcs.create_endpoint.metadata.to_h
|
1247
1260
|
|
1248
|
-
# Set x-goog-api-client
|
1261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1249
1262
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1250
1263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1251
1264
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1265
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1252
1266
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1253
1267
|
|
1254
1268
|
header_params = {}
|
@@ -1297,7 +1311,7 @@ module Google
|
|
1297
1311
|
# Required. The resource name of the service whose endpoints you'd like to
|
1298
1312
|
# list.
|
1299
1313
|
# @param page_size [::Integer]
|
1300
|
-
# Optional. The maximum number of items to return.
|
1314
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
1301
1315
|
# @param page_token [::String]
|
1302
1316
|
# Optional. The next_page_token value returned from a previous List request,
|
1303
1317
|
# if any.
|
@@ -1387,10 +1401,11 @@ module Google
|
|
1387
1401
|
# Customize the options with defaults
|
1388
1402
|
metadata = @config.rpcs.list_endpoints.metadata.to_h
|
1389
1403
|
|
1390
|
-
# Set x-goog-api-client
|
1404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1391
1405
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1392
1406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1393
1407
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1408
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1394
1409
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1395
1410
|
|
1396
1411
|
header_params = {}
|
@@ -1473,10 +1488,11 @@ module Google
|
|
1473
1488
|
# Customize the options with defaults
|
1474
1489
|
metadata = @config.rpcs.get_endpoint.metadata.to_h
|
1475
1490
|
|
1476
|
-
# Set x-goog-api-client
|
1491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1477
1492
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1478
1493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1479
1494
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1495
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1480
1496
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1481
1497
|
|
1482
1498
|
header_params = {}
|
@@ -1560,10 +1576,11 @@ module Google
|
|
1560
1576
|
# Customize the options with defaults
|
1561
1577
|
metadata = @config.rpcs.update_endpoint.metadata.to_h
|
1562
1578
|
|
1563
|
-
# Set x-goog-api-client
|
1579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1564
1580
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1565
1581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1566
1582
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1583
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1567
1584
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1568
1585
|
|
1569
1586
|
header_params = {}
|
@@ -1645,10 +1662,11 @@ module Google
|
|
1645
1662
|
# Customize the options with defaults
|
1646
1663
|
metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
1647
1664
|
|
1648
|
-
# Set x-goog-api-client
|
1665
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1649
1666
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1650
1667
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1651
1668
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1669
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1652
1670
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1653
1671
|
|
1654
1672
|
header_params = {}
|
@@ -1734,10 +1752,11 @@ module Google
|
|
1734
1752
|
# Customize the options with defaults
|
1735
1753
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1736
1754
|
|
1737
|
-
# Set x-goog-api-client
|
1755
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1738
1756
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1739
1757
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1740
1758
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1759
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1741
1760
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1742
1761
|
|
1743
1762
|
header_params = {}
|
@@ -1831,10 +1850,11 @@ module Google
|
|
1831
1850
|
# Customize the options with defaults
|
1832
1851
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1833
1852
|
|
1834
|
-
# Set x-goog-api-client
|
1853
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1835
1854
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1836
1855
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1837
1856
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1857
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1838
1858
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1839
1859
|
|
1840
1860
|
header_params = {}
|
@@ -1923,10 +1943,11 @@ module Google
|
|
1923
1943
|
# Customize the options with defaults
|
1924
1944
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1925
1945
|
|
1926
|
-
# Set x-goog-api-client
|
1946
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1927
1947
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1928
1948
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1929
1949
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION
|
1950
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1930
1951
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1931
1952
|
|
1932
1953
|
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::V1beta1::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,
|
@@ -299,7 +303,7 @@ module Google
|
|
299
303
|
# Required. The resource name of the project and location whose namespaces
|
300
304
|
# you'd like to list.
|
301
305
|
# @param page_size [::Integer]
|
302
|
-
# Optional. The maximum number of items to return.
|
306
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
303
307
|
# @param page_token [::String]
|
304
308
|
# Optional. The next_page_token value returned from a previous List request,
|
305
309
|
# if any.
|
@@ -383,12 +387,13 @@ module Google
|
|
383
387
|
# Customize the options with defaults
|
384
388
|
call_metadata = @config.rpcs.list_namespaces.metadata.to_h
|
385
389
|
|
386
|
-
# Set x-goog-api-client
|
390
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
387
391
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
388
392
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
389
393
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
390
394
|
transports_version_send: [:rest]
|
391
395
|
|
396
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
392
397
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
393
398
|
|
394
399
|
options.apply_defaults timeout: @config.rpcs.list_namespaces.timeout,
|
@@ -462,12 +467,13 @@ module Google
|
|
462
467
|
# Customize the options with defaults
|
463
468
|
call_metadata = @config.rpcs.get_namespace.metadata.to_h
|
464
469
|
|
465
|
-
# Set x-goog-api-client
|
470
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
471
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
472
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
473
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
469
474
|
transports_version_send: [:rest]
|
470
475
|
|
476
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
471
477
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
472
478
|
|
473
479
|
options.apply_defaults timeout: @config.rpcs.get_namespace.timeout,
|
@@ -542,12 +548,13 @@ module Google
|
|
542
548
|
# Customize the options with defaults
|
543
549
|
call_metadata = @config.rpcs.update_namespace.metadata.to_h
|
544
550
|
|
545
|
-
# Set x-goog-api-client
|
551
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
546
552
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
547
553
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
548
554
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
549
555
|
transports_version_send: [:rest]
|
550
556
|
|
557
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
551
558
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
552
559
|
|
553
560
|
options.apply_defaults timeout: @config.rpcs.update_namespace.timeout,
|
@@ -621,12 +628,13 @@ module Google
|
|
621
628
|
# Customize the options with defaults
|
622
629
|
call_metadata = @config.rpcs.delete_namespace.metadata.to_h
|
623
630
|
|
624
|
-
# Set x-goog-api-client
|
631
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
625
632
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
626
633
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
627
634
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
628
635
|
transports_version_send: [:rest]
|
629
636
|
|
637
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
630
638
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
631
639
|
|
632
640
|
options.apply_defaults timeout: @config.rpcs.delete_namespace.timeout,
|
@@ -709,12 +717,13 @@ module Google
|
|
709
717
|
# Customize the options with defaults
|
710
718
|
call_metadata = @config.rpcs.create_service.metadata.to_h
|
711
719
|
|
712
|
-
# Set x-goog-api-client
|
720
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
713
721
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
714
722
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
715
723
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
716
724
|
transports_version_send: [:rest]
|
717
725
|
|
726
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
718
727
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
719
728
|
|
720
729
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
@@ -755,7 +764,7 @@ module Google
|
|
755
764
|
# Required. The resource name of the namespace whose services you'd
|
756
765
|
# like to list.
|
757
766
|
# @param page_size [::Integer]
|
758
|
-
# Optional. The maximum number of items to return.
|
767
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
759
768
|
# @param page_token [::String]
|
760
769
|
# Optional. The next_page_token value returned from a previous List request,
|
761
770
|
# if any.
|
@@ -842,12 +851,13 @@ module Google
|
|
842
851
|
# Customize the options with defaults
|
843
852
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
844
853
|
|
845
|
-
# Set x-goog-api-client
|
854
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
846
855
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
847
856
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
848
857
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
849
858
|
transports_version_send: [:rest]
|
850
859
|
|
860
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
851
861
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
852
862
|
|
853
863
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -921,12 +931,13 @@ module Google
|
|
921
931
|
# Customize the options with defaults
|
922
932
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
923
933
|
|
924
|
-
# Set x-goog-api-client
|
934
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
925
935
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
926
936
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
927
937
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
928
938
|
transports_version_send: [:rest]
|
929
939
|
|
940
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
930
941
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
931
942
|
|
932
943
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
@@ -1001,12 +1012,13 @@ module Google
|
|
1001
1012
|
# Customize the options with defaults
|
1002
1013
|
call_metadata = @config.rpcs.update_service.metadata.to_h
|
1003
1014
|
|
1004
|
-
# Set x-goog-api-client
|
1015
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1005
1016
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1006
1017
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1007
1018
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1008
1019
|
transports_version_send: [:rest]
|
1009
1020
|
|
1021
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1010
1022
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1011
1023
|
|
1012
1024
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
@@ -1080,12 +1092,13 @@ module Google
|
|
1080
1092
|
# Customize the options with defaults
|
1081
1093
|
call_metadata = @config.rpcs.delete_service.metadata.to_h
|
1082
1094
|
|
1083
|
-
# Set x-goog-api-client
|
1095
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1084
1096
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1085
1097
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1086
1098
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1087
1099
|
transports_version_send: [:rest]
|
1088
1100
|
|
1101
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1089
1102
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1090
1103
|
|
1091
1104
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
@@ -1168,12 +1181,13 @@ module Google
|
|
1168
1181
|
# Customize the options with defaults
|
1169
1182
|
call_metadata = @config.rpcs.create_endpoint.metadata.to_h
|
1170
1183
|
|
1171
|
-
# Set x-goog-api-client
|
1184
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1172
1185
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1173
1186
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1174
1187
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1175
1188
|
transports_version_send: [:rest]
|
1176
1189
|
|
1190
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1177
1191
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1178
1192
|
|
1179
1193
|
options.apply_defaults timeout: @config.rpcs.create_endpoint.timeout,
|
@@ -1214,7 +1228,7 @@ module Google
|
|
1214
1228
|
# Required. The resource name of the service whose endpoints you'd like to
|
1215
1229
|
# list.
|
1216
1230
|
# @param page_size [::Integer]
|
1217
|
-
# Optional. The maximum number of items to return.
|
1231
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
1218
1232
|
# @param page_token [::String]
|
1219
1233
|
# Optional. The next_page_token value returned from a previous List request,
|
1220
1234
|
# if any.
|
@@ -1303,12 +1317,13 @@ module Google
|
|
1303
1317
|
# Customize the options with defaults
|
1304
1318
|
call_metadata = @config.rpcs.list_endpoints.metadata.to_h
|
1305
1319
|
|
1306
|
-
# Set x-goog-api-client
|
1320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1307
1321
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1308
1322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1309
1323
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1310
1324
|
transports_version_send: [:rest]
|
1311
1325
|
|
1326
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1312
1327
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1313
1328
|
|
1314
1329
|
options.apply_defaults timeout: @config.rpcs.list_endpoints.timeout,
|
@@ -1382,12 +1397,13 @@ module Google
|
|
1382
1397
|
# Customize the options with defaults
|
1383
1398
|
call_metadata = @config.rpcs.get_endpoint.metadata.to_h
|
1384
1399
|
|
1385
|
-
# Set x-goog-api-client
|
1400
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1386
1401
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1387
1402
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1388
1403
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1389
1404
|
transports_version_send: [:rest]
|
1390
1405
|
|
1406
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1391
1407
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1392
1408
|
|
1393
1409
|
options.apply_defaults timeout: @config.rpcs.get_endpoint.timeout,
|
@@ -1462,12 +1478,13 @@ module Google
|
|
1462
1478
|
# Customize the options with defaults
|
1463
1479
|
call_metadata = @config.rpcs.update_endpoint.metadata.to_h
|
1464
1480
|
|
1465
|
-
# Set x-goog-api-client
|
1481
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1466
1482
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1467
1483
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1468
1484
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1469
1485
|
transports_version_send: [:rest]
|
1470
1486
|
|
1487
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1471
1488
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1472
1489
|
|
1473
1490
|
options.apply_defaults timeout: @config.rpcs.update_endpoint.timeout,
|
@@ -1540,12 +1557,13 @@ module Google
|
|
1540
1557
|
# Customize the options with defaults
|
1541
1558
|
call_metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
1542
1559
|
|
1543
|
-
# Set x-goog-api-client
|
1560
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1544
1561
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1545
1562
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1546
1563
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1547
1564
|
transports_version_send: [:rest]
|
1548
1565
|
|
1566
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1549
1567
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1550
1568
|
|
1551
1569
|
options.apply_defaults timeout: @config.rpcs.delete_endpoint.timeout,
|
@@ -1622,12 +1640,13 @@ module Google
|
|
1622
1640
|
# Customize the options with defaults
|
1623
1641
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1624
1642
|
|
1625
|
-
# Set x-goog-api-client
|
1643
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1626
1644
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1627
1645
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1628
1646
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1629
1647
|
transports_version_send: [:rest]
|
1630
1648
|
|
1649
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1631
1650
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1632
1651
|
|
1633
1652
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1712,12 +1731,13 @@ module Google
|
|
1712
1731
|
# Customize the options with defaults
|
1713
1732
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1714
1733
|
|
1715
|
-
# Set x-goog-api-client
|
1734
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1716
1735
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1717
1736
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1718
1737
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1719
1738
|
transports_version_send: [:rest]
|
1720
1739
|
|
1740
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1721
1741
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1722
1742
|
|
1723
1743
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1797,12 +1817,13 @@ module Google
|
|
1797
1817
|
# Customize the options with defaults
|
1798
1818
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1799
1819
|
|
1800
|
-
# Set x-goog-api-client
|
1820
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1801
1821
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1802
1822
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1803
1823
|
gapic_version: ::Google::Cloud::ServiceDirectory::V1beta1::VERSION,
|
1804
1824
|
transports_version_send: [:rest]
|
1805
1825
|
|
1826
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1806
1827
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1807
1828
|
|
1808
1829
|
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
|
@@ -52,7 +52,7 @@ module Google
|
|
52
52
|
# you'd like to list.
|
53
53
|
# @!attribute [rw] page_size
|
54
54
|
# @return [::Integer]
|
55
|
-
# Optional. The maximum number of items to return.
|
55
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
56
56
|
# @!attribute [rw] page_token
|
57
57
|
# @return [::String]
|
58
58
|
# Optional. The next_page_token value returned from a previous List request,
|
@@ -183,7 +183,7 @@ module Google
|
|
183
183
|
# like to list.
|
184
184
|
# @!attribute [rw] page_size
|
185
185
|
# @return [::Integer]
|
186
|
-
# Optional. The maximum number of items to return.
|
186
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
187
187
|
# @!attribute [rw] page_token
|
188
188
|
# @return [::String]
|
189
189
|
# Optional. The next_page_token value returned from a previous List request,
|
@@ -319,7 +319,7 @@ module Google
|
|
319
319
|
# list.
|
320
320
|
# @!attribute [rw] page_size
|
321
321
|
# @return [::Integer]
|
322
|
-
# Optional. The maximum number of items to return.
|
322
|
+
# Optional. The maximum number of items to return. The default value is 100.
|
323
323
|
# @!attribute [rw] page_token
|
324
324
|
# @return [::String]
|
325
325
|
# Optional. The next_page_token value returned from a previous List request,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
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-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|