google-cloud-service_directory-v1 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9a0e696992c807c22585ab20696c8e26510fbf1dc618f11eea9092302a9cc22
4
- data.tar.gz: 8b12f24a8f5f8a883a3b2d79bf5c9c6c0b55412d097801a5d12fb38be01932b3
3
+ metadata.gz: 5f36e50ab1603a7d040c53445a4a82c4e597ded427a7b0e943eeab8e0ba39dad
4
+ data.tar.gz: 024ed43fe547b4bc02330e00f175e2ebf6dcacca68a551a9468b33e7edc94453
5
5
  SHA512:
6
- metadata.gz: e8a8bc882b9bf4f292337786e08e87a5be627967cb73167ebc2813c7e74d4a89ca0dc13fd7d53d4b949ffbdd9309530577842c5540215a630fe3a971cb0cc2de
7
- data.tar.gz: e7fb51d28f6c61d035f81320e97dc0e394d863b905a3362f51d67058315eeeaabedf8b82c8e3f281ad122641ecdfd721a94658d73c6ce3b44ec32bcf4dfb525b
6
+ metadata.gz: 12091c65219cb084013ab82d483d8d9b1c45a0260f30d6c65dcb9fe6da5a9067f0635eccfbb70a0848c9aa8955f6c1281c607a73ba56e365a975172361492fcf
7
+ data.tar.gz: d1421565fb5491c87a191254bd2e1e1bd6ff8647751a19366d3017c0d871150cb44a28d9344a8b95bbf452eb7b1739756e5293fa92976c617bf289d69bd71a45
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1
24
- VERSION = "0.10.2"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n/google/cloud/servicedirectory/v1/endpoint.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc4\x03\n\x08\x45ndpoint\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x15\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04port\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12V\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32;.google.cloud.servicedirectory.v1.Endpoint.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x41\n\x07network\x18\x08 \x01(\tB0\xe2\x41\x01\x05\xfa\x41)\n\'servicedirectory.googleapis.com/Network\x12\x11\n\x03uid\x18\t \x01(\tB\x04\xe2\x41\x01\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n(servicedirectory.googleapis.com/Endpoint\x12\x66projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}B\xdc\x02\n$com.google.cloud.servicedirectory.v1B\rEndpointProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1\xea\x41\x61\n\'servicedirectory.googleapis.com/Network\x12\x36projects/{project}/locations/global/networks/{network}b\x06proto3"
11
+ descriptor_data = "\n/google/cloud/servicedirectory/v1/endpoint.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xbe\x03\n\x08\x45ndpoint\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12U\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32;.google.cloud.servicedirectory.v1.Endpoint.AnnotationsEntryB\x03\xe0\x41\x01\x12@\n\x07network\x18\x08 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'servicedirectory.googleapis.com/Network\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n(servicedirectory.googleapis.com/Endpoint\x12\x66projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}B\xdc\x02\n$com.google.cloud.servicedirectory.v1B\rEndpointProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1\xea\x41\x61\n\'servicedirectory.googleapis.com/Network\x12\x36projects/{project}/locations/global/networks/{network}b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/servicedirectory/v1/service_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n5google/cloud/servicedirectory/v1/lookup_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/servicedirectory/v1/service.proto\"\x93\x01\n\x15ResolveServiceRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x1b\n\rmax_endpoints\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1d\n\x0f\x65ndpoint_filter\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"T\n\x16ResolveServiceResponse\x12:\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.Service2\xb8\x02\n\rLookupService\x12\xd1\x01\n\x0eResolveService\x12\x37.google.cloud.servicedirectory.v1.ResolveServiceRequest\x1a\x38.google.cloud.servicedirectory.v1.ResolveServiceResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfd\x01\n$com.google.cloud.servicedirectory.v1B\x12LookupServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
14
+ descriptor_data = "\n5google/cloud/servicedirectory/v1/lookup_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/servicedirectory/v1/service.proto\"\x90\x01\n\x15ResolveServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x1a\n\rmax_endpoints\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0f\x65ndpoint_filter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x16ResolveServiceResponse\x12:\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.Service2\xb8\x02\n\rLookupService\x12\xd1\x01\n\x0eResolveService\x12\x37.google.cloud.servicedirectory.v1.ResolveServiceRequest\x1a\x38.google.cloud.servicedirectory.v1.ResolveServiceResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfd\x01\n$com.google.cloud.servicedirectory.v1B\x12LookupServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n0google/cloud/servicedirectory/v1/namespace.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xa0\x02\n\tNamespace\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12M\n\x06labels\x18\x02 \x03(\x0b\x32\x37.google.cloud.servicedirectory.v1.Namespace.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x11\n\x03uid\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n)servicedirectory.googleapis.com/Namespace\x12>projects/{project}/locations/{location}/namespaces/{namespace}B\xf9\x01\n$com.google.cloud.servicedirectory.v1B\x0eNamespaceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
11
+ descriptor_data = "\n0google/cloud/servicedirectory/v1/namespace.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9d\x02\n\tNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12L\n\x06labels\x18\x02 \x03(\x0b\x32\x37.google.cloud.servicedirectory.v1.Namespace.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n)servicedirectory.googleapis.com/Namespace\x12>projects/{project}/locations/{location}/namespaces/{namespace}B\xf9\x01\n$com.google.cloud.servicedirectory.v1B\x0eNamespaceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -17,7 +17,7 @@ require 'google/protobuf/empty_pb'
17
17
  require 'google/protobuf/field_mask_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n;google/cloud/servicedirectory/v1/registration_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\x1a\x30google/cloud/servicedirectory/v1/namespace.proto\x1a.google/cloud/servicedirectory/v1/service.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb6\x01\n\x16\x43reateNamespaceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\x0cnamespace_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x44\n\tnamespace\x18\x03 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x04\xe2\x41\x01\x02\"\xb4\x01\n\x15ListNamespacesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"r\n\x16ListNamespacesResponse\x12?\n\nnamespaces\x18\x01 \x03(\x0b\x32+.google.cloud.servicedirectory.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x13GetNamespaceRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\x95\x01\n\x16UpdateNamespaceRequest\x12\x44\n\tnamespace\x18\x01 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"Z\n\x16\x44\x65leteNamespaceRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\xb6\x01\n\x14\x43reateServiceRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x18\n\nservice_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12@\n\x07service\x18\x03 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x04\xe2\x41\x01\x02\"\xba\x01\n\x13ListServicesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"l\n\x14ListServicesResponse\x12;\n\x08services\x18\x01 \x03(\x0b\x32).google.cloud.servicedirectory.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x11GetServiceRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\x8f\x01\n\x14UpdateServiceRequest\x12@\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"V\n\x14\x44\x65leteServiceRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xb8\x01\n\x15\x43reateEndpointRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x19\n\x0b\x65ndpoint_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x42\n\x08\x65ndpoint\x18\x03 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x04\xe2\x41\x01\x02\"\xb9\x01\n\x14ListEndpointsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"o\n\x15ListEndpointsResponse\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x12GetEndpointRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint\"\x92\x01\n\x15UpdateEndpointRequest\x12\x42\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"X\n\x15\x44\x65leteEndpointRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint2\xdf\x1e\n\x13RegistrationService\x12\xdb\x01\n\x0f\x43reateNamespace\x12\x38.google.cloud.servicedirectory.v1.CreateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"a\xda\x41\x1dparent,namespace,namespace_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/namespaces:\tnamespace\x12\xc4\x01\n\x0eListNamespaces\x12\x37.google.cloud.servicedirectory.v1.ListNamespacesRequest\x1a\x38.google.cloud.servicedirectory.v1.ListNamespacesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/namespaces\x12\xb1\x01\n\x0cGetNamespace\x12\x35.google.cloud.servicedirectory.v1.GetNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/namespaces/*}\x12\xdd\x01\n\x0fUpdateNamespace\x12\x38.google.cloud.servicedirectory.v1.UpdateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"c\xda\x41\x15namespace,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{namespace.name=projects/*/locations/*/namespaces/*}:\tnamespace\x12\xa2\x01\n\x0f\x44\x65leteNamespace\x12\x38.google.cloud.servicedirectory.v1.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/namespaces/*}\x12\xda\x01\n\rCreateService\x12\x36.google.cloud.servicedirectory.v1.CreateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"f\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x44\"9/v1/{parent=projects/*/locations/*/namespaces/*}/services:\x07service\x12\xc9\x01\n\x0cListServices\x12\x35.google.cloud.servicedirectory.v1.ListServicesRequest\x1a\x36.google.cloud.servicedirectory.v1.ListServicesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/namespaces/*}/services\x12\xb6\x01\n\nGetService\x12\x33.google.cloud.servicedirectory.v1.GetServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xdc\x01\n\rUpdateService\x12\x36.google.cloud.servicedirectory.v1.UpdateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"h\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02L2A/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}:\x07service\x12\xa9\x01\n\rDeleteService\x12\x36.google.cloud.servicedirectory.v1.DeleteServiceRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xec\x01\n\x0e\x43reateEndpoint\x12\x37.google.cloud.servicedirectory.v1.CreateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"u\xda\x41\x1bparent,endpoint,endpoint_id\x82\xd3\xe4\x93\x02Q\"E/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints:\x08\x65ndpoint\x12\xd8\x01\n\rListEndpoints\x12\x36.google.cloud.servicedirectory.v1.ListEndpointsRequest\x1a\x37.google.cloud.servicedirectory.v1.ListEndpointsResponse\"V\xda\x41\x06parent\x82\xd3\xe4\x93\x02G\x12\x45/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints\x12\xc5\x01\n\x0bGetEndpoint\x12\x34.google.cloud.servicedirectory.v1.GetEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xee\x01\n\x0eUpdateEndpoint\x12\x37.google.cloud.servicedirectory.v1.UpdateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"w\xda\x41\x14\x65ndpoint,update_mask\x82\xd3\xe4\x93\x02Z2N/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}:\x08\x65ndpoint\x12\xb7\x01\n\x0e\x44\x65leteEndpoint\x12\x37.google.cloud.servicedirectory.v1.DeleteEndpointRequest\x1a\x16.google.protobuf.Empty\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xe8\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy:\x01*\x12\xe8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy:\x01*\x12\x94\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"E/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions:\x01*ZU\"P/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x83\x02\n$com.google.cloud.servicedirectory.v1B\x18RegistrationServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
20
+ descriptor_data = "\n;google/cloud/servicedirectory/v1/registration_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\x1a\x30google/cloud/servicedirectory/v1/namespace.proto\x1a.google/cloud/servicedirectory/v1/service.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb3\x01\n\x16\x43reateNamespaceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0cnamespace_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\tnamespace\x18\x03 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\"\xaf\x01\n\x15ListNamespacesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"r\n\x16ListNamespacesResponse\x12?\n\nnamespaces\x18\x01 \x03(\x0b\x32+.google.cloud.servicedirectory.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x13GetNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\x93\x01\n\x16UpdateNamespaceRequest\x12\x43\n\tnamespace\x18\x01 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Y\n\x16\x44\x65leteNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\xb3\x01\n\x14\x43reateServiceRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x07service\x18\x03 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\"\xb5\x01\n\x13ListServicesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"l\n\x14ListServicesResponse\x12;\n\x08services\x18\x01 \x03(\x0b\x32).google.cloud.servicedirectory.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x11GetServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\x8d\x01\n\x14UpdateServiceRequest\x12?\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x14\x44\x65leteServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xb5\x01\n\x15\x43reateEndpointRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x18\n\x0b\x65ndpoint_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x08\x65ndpoint\x18\x03 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\"\xb4\x01\n\x14ListEndpointsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x15ListEndpointsResponse\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x12GetEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint\"\x90\x01\n\x15UpdateEndpointRequest\x12\x41\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x15\x44\x65leteEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint2\xdf\x1e\n\x13RegistrationService\x12\xdb\x01\n\x0f\x43reateNamespace\x12\x38.google.cloud.servicedirectory.v1.CreateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"a\xda\x41\x1dparent,namespace,namespace_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/namespaces:\tnamespace\x12\xc4\x01\n\x0eListNamespaces\x12\x37.google.cloud.servicedirectory.v1.ListNamespacesRequest\x1a\x38.google.cloud.servicedirectory.v1.ListNamespacesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/namespaces\x12\xb1\x01\n\x0cGetNamespace\x12\x35.google.cloud.servicedirectory.v1.GetNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/namespaces/*}\x12\xdd\x01\n\x0fUpdateNamespace\x12\x38.google.cloud.servicedirectory.v1.UpdateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"c\xda\x41\x15namespace,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{namespace.name=projects/*/locations/*/namespaces/*}:\tnamespace\x12\xa2\x01\n\x0f\x44\x65leteNamespace\x12\x38.google.cloud.servicedirectory.v1.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/namespaces/*}\x12\xda\x01\n\rCreateService\x12\x36.google.cloud.servicedirectory.v1.CreateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"f\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x44\"9/v1/{parent=projects/*/locations/*/namespaces/*}/services:\x07service\x12\xc9\x01\n\x0cListServices\x12\x35.google.cloud.servicedirectory.v1.ListServicesRequest\x1a\x36.google.cloud.servicedirectory.v1.ListServicesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/namespaces/*}/services\x12\xb6\x01\n\nGetService\x12\x33.google.cloud.servicedirectory.v1.GetServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xdc\x01\n\rUpdateService\x12\x36.google.cloud.servicedirectory.v1.UpdateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"h\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02L2A/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}:\x07service\x12\xa9\x01\n\rDeleteService\x12\x36.google.cloud.servicedirectory.v1.DeleteServiceRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xec\x01\n\x0e\x43reateEndpoint\x12\x37.google.cloud.servicedirectory.v1.CreateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"u\xda\x41\x1bparent,endpoint,endpoint_id\x82\xd3\xe4\x93\x02Q\"E/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints:\x08\x65ndpoint\x12\xd8\x01\n\rListEndpoints\x12\x36.google.cloud.servicedirectory.v1.ListEndpointsRequest\x1a\x37.google.cloud.servicedirectory.v1.ListEndpointsResponse\"V\xda\x41\x06parent\x82\xd3\xe4\x93\x02G\x12\x45/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints\x12\xc5\x01\n\x0bGetEndpoint\x12\x34.google.cloud.servicedirectory.v1.GetEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xee\x01\n\x0eUpdateEndpoint\x12\x37.google.cloud.servicedirectory.v1.UpdateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"w\xda\x41\x14\x65ndpoint,update_mask\x82\xd3\xe4\x93\x02Z2N/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}:\x08\x65ndpoint\x12\xb7\x01\n\x0e\x44\x65leteEndpoint\x12\x37.google.cloud.servicedirectory.v1.DeleteEndpointRequest\x1a\x16.google.protobuf.Empty\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xe8\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy:\x01*\x12\xe8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy:\x01*\x12\x94\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"E/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions:\x01*ZU\"P/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x83\x02\n$com.google.cloud.servicedirectory.v1B\x18RegistrationServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/cloud/servicedirectory/v1/endpoint_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n.google/cloud/servicedirectory/v1/service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\"\x81\x03\n\x07Service\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12U\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.cloud.servicedirectory.v1.Service.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x43\n\tendpoints\x18\x03 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x04\xe2\x41\x01\x03\x12\x11\n\x03uid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}B\xf7\x01\n$com.google.cloud.servicedirectory.v1B\x0cServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
12
+ descriptor_data = "\n.google/cloud/servicedirectory/v1/service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\"\xfd\x02\n\x07Service\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12T\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.cloud.servicedirectory.v1.Service.AnnotationsEntryB\x03\xe0\x41\x01\x12\x42\n\tendpoints\x18\x03 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}B\xf7\x01\n$com.google.cloud.servicedirectory.v1B\x0cServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -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.10.2
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-02-01 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -78,118 +78,6 @@ dependencies:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '1.1'
81
- - !ruby/object:Gem::Dependency
82
- name: google-style
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: 1.26.3
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: 1.26.3
95
- - !ruby/object:Gem::Dependency
96
- name: minitest
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '5.16'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '5.16'
109
- - !ruby/object:Gem::Dependency
110
- name: minitest-focus
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '1.1'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '1.1'
123
- - !ruby/object:Gem::Dependency
124
- name: minitest-rg
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '5.2'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '5.2'
137
- - !ruby/object:Gem::Dependency
138
- name: rake
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: '13.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- version: '13.0'
151
- - !ruby/object:Gem::Dependency
152
- name: redcarpet
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '3.0'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '3.0'
165
- - !ruby/object:Gem::Dependency
166
- name: simplecov
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.18'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.18'
179
- - !ruby/object:Gem::Dependency
180
- name: yard
181
- requirement: !ruby/object:Gem::Requirement
182
- requirements:
183
- - - "~>"
184
- - !ruby/object:Gem::Version
185
- version: '0.9'
186
- type: :development
187
- prerelease: false
188
- version_requirements: !ruby/object:Gem::Requirement
189
- requirements:
190
- - - "~>"
191
- - !ruby/object:Gem::Version
192
- version: '0.9'
193
81
  description: Service Directory is the single place to register, browse, and resolve
194
82
  application services. Note that google-cloud-service_directory-v1 is a version-specific
195
83
  client library. For most uses, we recommend installing the main client library google-cloud-service_directory
@@ -259,14 +147,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
147
  requirements:
260
148
  - - ">="
261
149
  - !ruby/object:Gem::Version
262
- version: '2.6'
150
+ version: '2.7'
263
151
  required_rubygems_version: !ruby/object:Gem::Requirement
264
152
  requirements:
265
153
  - - ">="
266
154
  - !ruby/object:Gem::Version
267
155
  version: '0'
268
156
  requirements: []
269
- rubygems_version: 3.5.3
157
+ rubygems_version: 3.5.6
270
158
  signing_key:
271
159
  specification_version: 4
272
160
  summary: Service Directory is a platform for discovering, publishing, and connecting