google-cloud-network_connectivity-v1 0.10.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +41 -19
- data/lib/google/cloud/network_connectivity/v1/hub_service/operations.rb +13 -5
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/client.rb +11 -4
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/operations.rb +13 -5
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d8f184f5cc0d193a75a710c6d9ef2436322eca6aaaae220e5e20e19c34b2887
|
|
4
|
+
data.tar.gz: 861cd51f76e9daea88bc5e2695ad56e90981910324fe899f906d13401628faf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 649927d7f1908f7cedcb4f82891e204cfa1756bd28caa6389f8850fc8b0d8ccec7a7963358ebf946d837bccd80d09558a8fda99c1420750191a6ebccc0b90af2
|
|
7
|
+
data.tar.gz: 9e197d9045f7dd6434cfa99fb623c3a45c082b76f602007d5bc1d219d97a4d24fbaaec53fb0591e8fd742cf678ba531bff764cd19e85c3a9d984f4f94ce568c4
|
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# through a simple, centralized connectivity management model.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -290,10 +293,11 @@ module Google
|
|
|
290
293
|
# Customize the options with defaults
|
|
291
294
|
metadata = @config.rpcs.list_hubs.metadata.to_h
|
|
292
295
|
|
|
293
|
-
# Set x-goog-api-client
|
|
296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
294
297
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
295
298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
296
299
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
300
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
297
301
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
298
302
|
|
|
299
303
|
header_params = {}
|
|
@@ -376,10 +380,11 @@ module Google
|
|
|
376
380
|
# Customize the options with defaults
|
|
377
381
|
metadata = @config.rpcs.get_hub.metadata.to_h
|
|
378
382
|
|
|
379
|
-
# Set x-goog-api-client
|
|
383
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
384
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
385
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
386
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
387
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
388
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
389
|
|
|
385
390
|
header_params = {}
|
|
@@ -487,10 +492,11 @@ module Google
|
|
|
487
492
|
# Customize the options with defaults
|
|
488
493
|
metadata = @config.rpcs.create_hub.metadata.to_h
|
|
489
494
|
|
|
490
|
-
# Set x-goog-api-client
|
|
495
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
491
496
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
492
497
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
493
498
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
499
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
494
500
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
495
501
|
|
|
496
502
|
header_params = {}
|
|
@@ -602,10 +608,11 @@ module Google
|
|
|
602
608
|
# Customize the options with defaults
|
|
603
609
|
metadata = @config.rpcs.update_hub.metadata.to_h
|
|
604
610
|
|
|
605
|
-
# Set x-goog-api-client
|
|
611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
606
612
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
607
613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
608
614
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
615
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
609
616
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
610
617
|
|
|
611
618
|
header_params = {}
|
|
@@ -710,10 +717,11 @@ module Google
|
|
|
710
717
|
# Customize the options with defaults
|
|
711
718
|
metadata = @config.rpcs.delete_hub.metadata.to_h
|
|
712
719
|
|
|
713
|
-
# Set x-goog-api-client
|
|
720
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
714
721
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
715
722
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
716
723
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
724
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
717
725
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
718
726
|
|
|
719
727
|
header_params = {}
|
|
@@ -823,10 +831,11 @@ module Google
|
|
|
823
831
|
# Customize the options with defaults
|
|
824
832
|
metadata = @config.rpcs.list_hub_spokes.metadata.to_h
|
|
825
833
|
|
|
826
|
-
# Set x-goog-api-client
|
|
834
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
827
835
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
828
836
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
829
837
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
838
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
830
839
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
831
840
|
|
|
832
841
|
header_params = {}
|
|
@@ -922,10 +931,11 @@ module Google
|
|
|
922
931
|
# Customize the options with defaults
|
|
923
932
|
metadata = @config.rpcs.list_spokes.metadata.to_h
|
|
924
933
|
|
|
925
|
-
# Set x-goog-api-client
|
|
934
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
926
935
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
927
936
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
928
937
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
938
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
929
939
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
930
940
|
|
|
931
941
|
header_params = {}
|
|
@@ -1008,10 +1018,11 @@ module Google
|
|
|
1008
1018
|
# Customize the options with defaults
|
|
1009
1019
|
metadata = @config.rpcs.get_spoke.metadata.to_h
|
|
1010
1020
|
|
|
1011
|
-
# Set x-goog-api-client
|
|
1021
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1012
1022
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1013
1023
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1014
1024
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1025
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1015
1026
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1016
1027
|
|
|
1017
1028
|
header_params = {}
|
|
@@ -1119,10 +1130,11 @@ module Google
|
|
|
1119
1130
|
# Customize the options with defaults
|
|
1120
1131
|
metadata = @config.rpcs.create_spoke.metadata.to_h
|
|
1121
1132
|
|
|
1122
|
-
# Set x-goog-api-client
|
|
1133
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1123
1134
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1124
1135
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1125
1136
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1137
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1126
1138
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1127
1139
|
|
|
1128
1140
|
header_params = {}
|
|
@@ -1233,10 +1245,11 @@ module Google
|
|
|
1233
1245
|
# Customize the options with defaults
|
|
1234
1246
|
metadata = @config.rpcs.update_spoke.metadata.to_h
|
|
1235
1247
|
|
|
1236
|
-
# Set x-goog-api-client
|
|
1248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1237
1249
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1238
1250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1239
1251
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1252
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1240
1253
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1241
1254
|
|
|
1242
1255
|
header_params = {}
|
|
@@ -1348,10 +1361,11 @@ module Google
|
|
|
1348
1361
|
# Customize the options with defaults
|
|
1349
1362
|
metadata = @config.rpcs.reject_hub_spoke.metadata.to_h
|
|
1350
1363
|
|
|
1351
|
-
# Set x-goog-api-client
|
|
1364
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1352
1365
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1353
1366
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1354
1367
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1368
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1355
1369
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1356
1370
|
|
|
1357
1371
|
header_params = {}
|
|
@@ -1459,10 +1473,11 @@ module Google
|
|
|
1459
1473
|
# Customize the options with defaults
|
|
1460
1474
|
metadata = @config.rpcs.accept_hub_spoke.metadata.to_h
|
|
1461
1475
|
|
|
1462
|
-
# Set x-goog-api-client
|
|
1476
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1463
1477
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1464
1478
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1465
1479
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1480
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1466
1481
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1467
1482
|
|
|
1468
1483
|
header_params = {}
|
|
@@ -1567,10 +1582,11 @@ module Google
|
|
|
1567
1582
|
# Customize the options with defaults
|
|
1568
1583
|
metadata = @config.rpcs.delete_spoke.metadata.to_h
|
|
1569
1584
|
|
|
1570
|
-
# Set x-goog-api-client
|
|
1585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1571
1586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1572
1587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1573
1588
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1574
1590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1575
1591
|
|
|
1576
1592
|
header_params = {}
|
|
@@ -1653,10 +1669,11 @@ module Google
|
|
|
1653
1669
|
# Customize the options with defaults
|
|
1654
1670
|
metadata = @config.rpcs.get_route_table.metadata.to_h
|
|
1655
1671
|
|
|
1656
|
-
# Set x-goog-api-client
|
|
1672
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1657
1673
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1658
1674
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1659
1675
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1676
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1660
1677
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1661
1678
|
|
|
1662
1679
|
header_params = {}
|
|
@@ -1738,10 +1755,11 @@ module Google
|
|
|
1738
1755
|
# Customize the options with defaults
|
|
1739
1756
|
metadata = @config.rpcs.get_route.metadata.to_h
|
|
1740
1757
|
|
|
1741
|
-
# Set x-goog-api-client
|
|
1758
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1742
1759
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1743
1760
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1744
1761
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1762
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1745
1763
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1746
1764
|
|
|
1747
1765
|
header_params = {}
|
|
@@ -1835,10 +1853,11 @@ module Google
|
|
|
1835
1853
|
# Customize the options with defaults
|
|
1836
1854
|
metadata = @config.rpcs.list_routes.metadata.to_h
|
|
1837
1855
|
|
|
1838
|
-
# Set x-goog-api-client
|
|
1856
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1839
1857
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1840
1858
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1841
1859
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1860
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1842
1861
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1843
1862
|
|
|
1844
1863
|
header_params = {}
|
|
@@ -1933,10 +1952,11 @@ module Google
|
|
|
1933
1952
|
# Customize the options with defaults
|
|
1934
1953
|
metadata = @config.rpcs.list_route_tables.metadata.to_h
|
|
1935
1954
|
|
|
1936
|
-
# Set x-goog-api-client
|
|
1955
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1937
1956
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1938
1957
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1939
1958
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
1959
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1940
1960
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1941
1961
|
|
|
1942
1962
|
header_params = {}
|
|
@@ -2019,10 +2039,11 @@ module Google
|
|
|
2019
2039
|
# Customize the options with defaults
|
|
2020
2040
|
metadata = @config.rpcs.get_group.metadata.to_h
|
|
2021
2041
|
|
|
2022
|
-
# Set x-goog-api-client
|
|
2042
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2023
2043
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2024
2044
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2025
2045
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
2046
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2026
2047
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2027
2048
|
|
|
2028
2049
|
header_params = {}
|
|
@@ -2116,10 +2137,11 @@ module Google
|
|
|
2116
2137
|
# Customize the options with defaults
|
|
2117
2138
|
metadata = @config.rpcs.list_groups.metadata.to_h
|
|
2118
2139
|
|
|
2119
|
-
# Set x-goog-api-client
|
|
2140
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2120
2141
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2121
2142
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2122
2143
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
2144
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2123
2145
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2124
2146
|
|
|
2125
2147
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module HubService
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -33,6 +33,9 @@ module Google
|
|
|
33
33
|
# policies for Layer 4 traffic traversing through the connected service.
|
|
34
34
|
#
|
|
35
35
|
class Client
|
|
36
|
+
# @private
|
|
37
|
+
API_VERSION = ""
|
|
38
|
+
|
|
36
39
|
# @private
|
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
|
38
41
|
|
|
@@ -281,10 +284,11 @@ module Google
|
|
|
281
284
|
# Customize the options with defaults
|
|
282
285
|
metadata = @config.rpcs.list_policy_based_routes.metadata.to_h
|
|
283
286
|
|
|
284
|
-
# Set x-goog-api-client
|
|
287
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
285
288
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
286
289
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
287
290
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
291
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
288
292
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
289
293
|
|
|
290
294
|
header_params = {}
|
|
@@ -367,10 +371,11 @@ module Google
|
|
|
367
371
|
# Customize the options with defaults
|
|
368
372
|
metadata = @config.rpcs.get_policy_based_route.metadata.to_h
|
|
369
373
|
|
|
370
|
-
# Set x-goog-api-client
|
|
374
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
371
375
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
372
376
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
373
377
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
378
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
374
379
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
375
380
|
|
|
376
381
|
header_params = {}
|
|
@@ -477,10 +482,11 @@ module Google
|
|
|
477
482
|
# Customize the options with defaults
|
|
478
483
|
metadata = @config.rpcs.create_policy_based_route.metadata.to_h
|
|
479
484
|
|
|
480
|
-
# Set x-goog-api-client
|
|
485
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
481
486
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
482
487
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
483
488
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
489
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
484
490
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
485
491
|
|
|
486
492
|
header_params = {}
|
|
@@ -584,10 +590,11 @@ module Google
|
|
|
584
590
|
# Customize the options with defaults
|
|
585
591
|
metadata = @config.rpcs.delete_policy_based_route.metadata.to_h
|
|
586
592
|
|
|
587
|
-
# Set x-goog-api-client
|
|
593
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
588
594
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
589
595
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
590
596
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
597
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
591
598
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
592
599
|
|
|
593
600
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module PolicyBasedRoutingService
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_connectivity-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|