google-cloud-network_connectivity-v1 0.10.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/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 +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 780d304c19794957a271e313fba19f6881c18a0bd597f3d63bc31d792da1e0cd
|
4
|
+
data.tar.gz: d25ebb55d0adae89df0c2f40a2e086d13a90cd45fdee14d67cb29afe23e912f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e9b4a0e9df03a2c18f37b80f2cb05022ce9c9c4ad7fea83d4d6f228fb4ca5360923fedd74737d86a885b6b56706220d271cb54a0eca1f3149e321f7a559f76
|
7
|
+
data.tar.gz: 2c2f1595e54079d7ce4717b48fc5a0cb6fdebc76ed43331402f32b9b3f1de67d1ca5f7fa86fad65aa19db21691ef4e04540ef296103da15227778dad09d75ea5
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|