google-cloud-edge_network-v1 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/edge_network/v1/edge_network/client.rb +55 -26
- data/lib/google/cloud/edge_network/v1/edge_network/operations.rb +13 -5
- data/lib/google/cloud/edge_network/v1/edge_network/rest/client.rb +55 -26
- data/lib/google/cloud/edge_network/v1/edge_network/rest/operations.rb +11 -4
- data/lib/google/cloud/edge_network/v1/version.rb +1 -1
- data/lib/google/cloud/edgenetwork/v1/resources_pb.rb +2 -1
- data/proto_docs/google/cloud/edgenetwork/v1/resources.rb +23 -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: 10fe8cd07acd188f90e169a20273cb61573d079a56e14c81ea89044db09755f3
|
4
|
+
data.tar.gz: 5db80be36d5ba16e28f601f360bd2da2bd95ef086f32af67a6313ffeb0dacd3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1ad477d485d3cab8d2558275d9d136daa365ae26855961d213cecf73f96b9690f91ef1443ff66894e3e088ff71b5dad319af99056de52b9a010ddbed49ad8f9
|
7
|
+
data.tar.gz: 240d43e20f3b08ecb588ee2a4c648b9084bca5806985e520a594a49c3b22ad65f1a40a1cfa216daaac9084d9b74bc14a915b7ba5d4bc64e8570b4a209cd893a1
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# configure the network setup and property to meet the workload requirement.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "edgenetwork.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -332,10 +335,11 @@ module Google
|
|
332
335
|
# Customize the options with defaults
|
333
336
|
metadata = @config.rpcs.initialize_zone.metadata.to_h
|
334
337
|
|
335
|
-
# Set x-goog-api-client
|
338
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
336
339
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
337
340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
338
341
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
342
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
339
343
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
340
344
|
|
341
345
|
header_params = {}
|
@@ -433,10 +437,11 @@ module Google
|
|
433
437
|
# Customize the options with defaults
|
434
438
|
metadata = @config.rpcs.list_zones.metadata.to_h
|
435
439
|
|
436
|
-
# Set x-goog-api-client
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
437
441
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
438
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
439
443
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
444
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
440
445
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
441
446
|
|
442
447
|
header_params = {}
|
@@ -522,10 +527,11 @@ module Google
|
|
522
527
|
# Customize the options with defaults
|
523
528
|
metadata = @config.rpcs.get_zone.metadata.to_h
|
524
529
|
|
525
|
-
# Set x-goog-api-client
|
530
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
526
531
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
527
532
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
528
533
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
534
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
529
535
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
530
536
|
|
531
537
|
header_params = {}
|
@@ -620,10 +626,11 @@ module Google
|
|
620
626
|
# Customize the options with defaults
|
621
627
|
metadata = @config.rpcs.list_networks.metadata.to_h
|
622
628
|
|
623
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
624
630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
625
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
626
632
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
635
|
|
629
636
|
header_params = {}
|
@@ -706,10 +713,11 @@ module Google
|
|
706
713
|
# Customize the options with defaults
|
707
714
|
metadata = @config.rpcs.get_network.metadata.to_h
|
708
715
|
|
709
|
-
# Set x-goog-api-client
|
716
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
710
717
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
711
718
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
712
719
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
720
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
713
721
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
714
722
|
|
715
723
|
header_params = {}
|
@@ -791,10 +799,11 @@ module Google
|
|
791
799
|
# Customize the options with defaults
|
792
800
|
metadata = @config.rpcs.diagnose_network.metadata.to_h
|
793
801
|
|
794
|
-
# Set x-goog-api-client
|
802
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
795
803
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
796
804
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
797
805
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
806
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
798
807
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
799
808
|
|
800
809
|
header_params = {}
|
@@ -903,10 +912,11 @@ module Google
|
|
903
912
|
# Customize the options with defaults
|
904
913
|
metadata = @config.rpcs.create_network.metadata.to_h
|
905
914
|
|
906
|
-
# Set x-goog-api-client
|
915
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
907
916
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
908
917
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
909
918
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
919
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
910
920
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
911
921
|
|
912
922
|
header_params = {}
|
@@ -1010,10 +1020,11 @@ module Google
|
|
1010
1020
|
# Customize the options with defaults
|
1011
1021
|
metadata = @config.rpcs.delete_network.metadata.to_h
|
1012
1022
|
|
1013
|
-
# Set x-goog-api-client
|
1023
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1014
1024
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1015
1025
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1016
1026
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1027
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1017
1028
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1018
1029
|
|
1019
1030
|
header_params = {}
|
@@ -1109,10 +1120,11 @@ module Google
|
|
1109
1120
|
# Customize the options with defaults
|
1110
1121
|
metadata = @config.rpcs.list_subnets.metadata.to_h
|
1111
1122
|
|
1112
|
-
# Set x-goog-api-client
|
1123
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1113
1124
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1114
1125
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1115
1126
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1127
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1116
1128
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1117
1129
|
|
1118
1130
|
header_params = {}
|
@@ -1195,10 +1207,11 @@ module Google
|
|
1195
1207
|
# Customize the options with defaults
|
1196
1208
|
metadata = @config.rpcs.get_subnet.metadata.to_h
|
1197
1209
|
|
1198
|
-
# Set x-goog-api-client
|
1210
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1199
1211
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1200
1212
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1201
1213
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1214
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1202
1215
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1203
1216
|
|
1204
1217
|
header_params = {}
|
@@ -1307,10 +1320,11 @@ module Google
|
|
1307
1320
|
# Customize the options with defaults
|
1308
1321
|
metadata = @config.rpcs.create_subnet.metadata.to_h
|
1309
1322
|
|
1310
|
-
# Set x-goog-api-client
|
1323
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1311
1324
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1312
1325
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1313
1326
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1327
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1314
1328
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1315
1329
|
|
1316
1330
|
header_params = {}
|
@@ -1420,10 +1434,11 @@ module Google
|
|
1420
1434
|
# Customize the options with defaults
|
1421
1435
|
metadata = @config.rpcs.update_subnet.metadata.to_h
|
1422
1436
|
|
1423
|
-
# Set x-goog-api-client
|
1437
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1424
1438
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1425
1439
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1426
1440
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1441
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1427
1442
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1428
1443
|
|
1429
1444
|
header_params = {}
|
@@ -1527,10 +1542,11 @@ module Google
|
|
1527
1542
|
# Customize the options with defaults
|
1528
1543
|
metadata = @config.rpcs.delete_subnet.metadata.to_h
|
1529
1544
|
|
1530
|
-
# Set x-goog-api-client
|
1545
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1531
1546
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1532
1547
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1533
1548
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1549
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1534
1550
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1535
1551
|
|
1536
1552
|
header_params = {}
|
@@ -1626,10 +1642,11 @@ module Google
|
|
1626
1642
|
# Customize the options with defaults
|
1627
1643
|
metadata = @config.rpcs.list_interconnects.metadata.to_h
|
1628
1644
|
|
1629
|
-
# Set x-goog-api-client
|
1645
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1630
1646
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1631
1647
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1632
1648
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1649
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1633
1650
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1634
1651
|
|
1635
1652
|
header_params = {}
|
@@ -1712,10 +1729,11 @@ module Google
|
|
1712
1729
|
# Customize the options with defaults
|
1713
1730
|
metadata = @config.rpcs.get_interconnect.metadata.to_h
|
1714
1731
|
|
1715
|
-
# Set x-goog-api-client
|
1732
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1716
1733
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1717
1734
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1718
1735
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1736
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1719
1737
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1720
1738
|
|
1721
1739
|
header_params = {}
|
@@ -1797,10 +1815,11 @@ module Google
|
|
1797
1815
|
# Customize the options with defaults
|
1798
1816
|
metadata = @config.rpcs.diagnose_interconnect.metadata.to_h
|
1799
1817
|
|
1800
|
-
# Set x-goog-api-client
|
1818
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1801
1819
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1802
1820
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1803
1821
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1822
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1804
1823
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1805
1824
|
|
1806
1825
|
header_params = {}
|
@@ -1895,10 +1914,11 @@ module Google
|
|
1895
1914
|
# Customize the options with defaults
|
1896
1915
|
metadata = @config.rpcs.list_interconnect_attachments.metadata.to_h
|
1897
1916
|
|
1898
|
-
# Set x-goog-api-client
|
1917
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1899
1918
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1900
1919
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1901
1920
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
1921
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1902
1922
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1903
1923
|
|
1904
1924
|
header_params = {}
|
@@ -1981,10 +2001,11 @@ module Google
|
|
1981
2001
|
# Customize the options with defaults
|
1982
2002
|
metadata = @config.rpcs.get_interconnect_attachment.metadata.to_h
|
1983
2003
|
|
1984
|
-
# Set x-goog-api-client
|
2004
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1985
2005
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1986
2006
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1987
2007
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2008
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1988
2009
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1989
2010
|
|
1990
2011
|
header_params = {}
|
@@ -2093,10 +2114,11 @@ module Google
|
|
2093
2114
|
# Customize the options with defaults
|
2094
2115
|
metadata = @config.rpcs.create_interconnect_attachment.metadata.to_h
|
2095
2116
|
|
2096
|
-
# Set x-goog-api-client
|
2117
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2097
2118
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2098
2119
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2099
2120
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2121
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2100
2122
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2101
2123
|
|
2102
2124
|
header_params = {}
|
@@ -2200,10 +2222,11 @@ module Google
|
|
2200
2222
|
# Customize the options with defaults
|
2201
2223
|
metadata = @config.rpcs.delete_interconnect_attachment.metadata.to_h
|
2202
2224
|
|
2203
|
-
# Set x-goog-api-client
|
2225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2204
2226
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2205
2227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2206
2228
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2229
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2207
2230
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2208
2231
|
|
2209
2232
|
header_params = {}
|
@@ -2299,10 +2322,11 @@ module Google
|
|
2299
2322
|
# Customize the options with defaults
|
2300
2323
|
metadata = @config.rpcs.list_routers.metadata.to_h
|
2301
2324
|
|
2302
|
-
# Set x-goog-api-client
|
2325
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2303
2326
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2304
2327
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2305
2328
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2329
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2306
2330
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2307
2331
|
|
2308
2332
|
header_params = {}
|
@@ -2385,10 +2409,11 @@ module Google
|
|
2385
2409
|
# Customize the options with defaults
|
2386
2410
|
metadata = @config.rpcs.get_router.metadata.to_h
|
2387
2411
|
|
2388
|
-
# Set x-goog-api-client
|
2412
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2389
2413
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2390
2414
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2391
2415
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2416
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2392
2417
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2393
2418
|
|
2394
2419
|
header_params = {}
|
@@ -2470,10 +2495,11 @@ module Google
|
|
2470
2495
|
# Customize the options with defaults
|
2471
2496
|
metadata = @config.rpcs.diagnose_router.metadata.to_h
|
2472
2497
|
|
2473
|
-
# Set x-goog-api-client
|
2498
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2474
2499
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2475
2500
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2476
2501
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2502
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2477
2503
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2478
2504
|
|
2479
2505
|
header_params = {}
|
@@ -2582,10 +2608,11 @@ module Google
|
|
2582
2608
|
# Customize the options with defaults
|
2583
2609
|
metadata = @config.rpcs.create_router.metadata.to_h
|
2584
2610
|
|
2585
|
-
# Set x-goog-api-client
|
2611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2586
2612
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2587
2613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2588
2614
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2615
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2589
2616
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2590
2617
|
|
2591
2618
|
header_params = {}
|
@@ -2695,10 +2722,11 @@ module Google
|
|
2695
2722
|
# Customize the options with defaults
|
2696
2723
|
metadata = @config.rpcs.update_router.metadata.to_h
|
2697
2724
|
|
2698
|
-
# Set x-goog-api-client
|
2725
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2699
2726
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2700
2727
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2701
2728
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2729
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2702
2730
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2703
2731
|
|
2704
2732
|
header_params = {}
|
@@ -2802,10 +2830,11 @@ module Google
|
|
2802
2830
|
# Customize the options with defaults
|
2803
2831
|
metadata = @config.rpcs.delete_router.metadata.to_h
|
2804
2832
|
|
2805
|
-
# Set x-goog-api-client
|
2833
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2806
2834
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2807
2835
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2808
2836
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION
|
2837
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2809
2838
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2810
2839
|
|
2811
2840
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module EdgeNetwork
|
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 = "edgenetwork.$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::EdgeNetwork::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::EdgeNetwork::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::EdgeNetwork::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::EdgeNetwork::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::EdgeNetwork::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,
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# configure the network setup and property to meet the workload requirement.
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "edgenetwork.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -325,12 +328,13 @@ module Google
|
|
325
328
|
# Customize the options with defaults
|
326
329
|
call_metadata = @config.rpcs.initialize_zone.metadata.to_h
|
327
330
|
|
328
|
-
# Set x-goog-api-client
|
331
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
329
332
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
330
333
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
331
334
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
332
335
|
transports_version_send: [:rest]
|
333
336
|
|
337
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
334
338
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
335
339
|
|
336
340
|
options.apply_defaults timeout: @config.rpcs.initialize_zone.timeout,
|
@@ -417,12 +421,13 @@ module Google
|
|
417
421
|
# Customize the options with defaults
|
418
422
|
call_metadata = @config.rpcs.list_zones.metadata.to_h
|
419
423
|
|
420
|
-
# Set x-goog-api-client
|
424
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
421
425
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
422
426
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
423
427
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
424
428
|
transports_version_send: [:rest]
|
425
429
|
|
430
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
426
431
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
427
432
|
|
428
433
|
options.apply_defaults timeout: @config.rpcs.list_zones.timeout,
|
@@ -496,12 +501,13 @@ module Google
|
|
496
501
|
# Customize the options with defaults
|
497
502
|
call_metadata = @config.rpcs.get_zone.metadata.to_h
|
498
503
|
|
499
|
-
# Set x-goog-api-client
|
504
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
500
505
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
501
506
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
502
507
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
503
508
|
transports_version_send: [:rest]
|
504
509
|
|
510
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
505
511
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
506
512
|
|
507
513
|
options.apply_defaults timeout: @config.rpcs.get_zone.timeout,
|
@@ -587,12 +593,13 @@ module Google
|
|
587
593
|
# Customize the options with defaults
|
588
594
|
call_metadata = @config.rpcs.list_networks.metadata.to_h
|
589
595
|
|
590
|
-
# Set x-goog-api-client
|
596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
591
597
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
592
598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
593
599
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
594
600
|
transports_version_send: [:rest]
|
595
601
|
|
602
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
596
603
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
597
604
|
|
598
605
|
options.apply_defaults timeout: @config.rpcs.list_networks.timeout,
|
@@ -665,12 +672,13 @@ module Google
|
|
665
672
|
# Customize the options with defaults
|
666
673
|
call_metadata = @config.rpcs.get_network.metadata.to_h
|
667
674
|
|
668
|
-
# Set x-goog-api-client
|
675
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
669
676
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
670
677
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
671
678
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
672
679
|
transports_version_send: [:rest]
|
673
680
|
|
681
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
674
682
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
675
683
|
|
676
684
|
options.apply_defaults timeout: @config.rpcs.get_network.timeout,
|
@@ -743,12 +751,13 @@ module Google
|
|
743
751
|
# Customize the options with defaults
|
744
752
|
call_metadata = @config.rpcs.diagnose_network.metadata.to_h
|
745
753
|
|
746
|
-
# Set x-goog-api-client
|
754
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
747
755
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
748
756
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
749
757
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
750
758
|
transports_version_send: [:rest]
|
751
759
|
|
760
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
752
761
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
753
762
|
|
754
763
|
options.apply_defaults timeout: @config.rpcs.diagnose_network.timeout,
|
@@ -848,12 +857,13 @@ module Google
|
|
848
857
|
# Customize the options with defaults
|
849
858
|
call_metadata = @config.rpcs.create_network.metadata.to_h
|
850
859
|
|
851
|
-
# Set x-goog-api-client
|
860
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
852
861
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
853
862
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
854
863
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
855
864
|
transports_version_send: [:rest]
|
856
865
|
|
866
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
857
867
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
858
868
|
|
859
869
|
options.apply_defaults timeout: @config.rpcs.create_network.timeout,
|
@@ -948,12 +958,13 @@ module Google
|
|
948
958
|
# Customize the options with defaults
|
949
959
|
call_metadata = @config.rpcs.delete_network.metadata.to_h
|
950
960
|
|
951
|
-
# Set x-goog-api-client
|
961
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
952
962
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
953
963
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
954
964
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
955
965
|
transports_version_send: [:rest]
|
956
966
|
|
967
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
957
968
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
958
969
|
|
959
970
|
options.apply_defaults timeout: @config.rpcs.delete_network.timeout,
|
@@ -1040,12 +1051,13 @@ module Google
|
|
1040
1051
|
# Customize the options with defaults
|
1041
1052
|
call_metadata = @config.rpcs.list_subnets.metadata.to_h
|
1042
1053
|
|
1043
|
-
# Set x-goog-api-client
|
1054
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1044
1055
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1045
1056
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1046
1057
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1047
1058
|
transports_version_send: [:rest]
|
1048
1059
|
|
1060
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1049
1061
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1050
1062
|
|
1051
1063
|
options.apply_defaults timeout: @config.rpcs.list_subnets.timeout,
|
@@ -1118,12 +1130,13 @@ module Google
|
|
1118
1130
|
# Customize the options with defaults
|
1119
1131
|
call_metadata = @config.rpcs.get_subnet.metadata.to_h
|
1120
1132
|
|
1121
|
-
# Set x-goog-api-client
|
1133
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1122
1134
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1123
1135
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1124
1136
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1125
1137
|
transports_version_send: [:rest]
|
1126
1138
|
|
1139
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1127
1140
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1128
1141
|
|
1129
1142
|
options.apply_defaults timeout: @config.rpcs.get_subnet.timeout,
|
@@ -1223,12 +1236,13 @@ module Google
|
|
1223
1236
|
# Customize the options with defaults
|
1224
1237
|
call_metadata = @config.rpcs.create_subnet.metadata.to_h
|
1225
1238
|
|
1226
|
-
# Set x-goog-api-client
|
1239
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1227
1240
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1228
1241
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1229
1242
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1230
1243
|
transports_version_send: [:rest]
|
1231
1244
|
|
1245
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1232
1246
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1233
1247
|
|
1234
1248
|
options.apply_defaults timeout: @config.rpcs.create_subnet.timeout,
|
@@ -1329,12 +1343,13 @@ module Google
|
|
1329
1343
|
# Customize the options with defaults
|
1330
1344
|
call_metadata = @config.rpcs.update_subnet.metadata.to_h
|
1331
1345
|
|
1332
|
-
# Set x-goog-api-client
|
1346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1333
1347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1334
1348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1335
1349
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1336
1350
|
transports_version_send: [:rest]
|
1337
1351
|
|
1352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1338
1353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1339
1354
|
|
1340
1355
|
options.apply_defaults timeout: @config.rpcs.update_subnet.timeout,
|
@@ -1429,12 +1444,13 @@ module Google
|
|
1429
1444
|
# Customize the options with defaults
|
1430
1445
|
call_metadata = @config.rpcs.delete_subnet.metadata.to_h
|
1431
1446
|
|
1432
|
-
# Set x-goog-api-client
|
1447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1433
1448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1434
1449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1435
1450
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1436
1451
|
transports_version_send: [:rest]
|
1437
1452
|
|
1453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1438
1454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1439
1455
|
|
1440
1456
|
options.apply_defaults timeout: @config.rpcs.delete_subnet.timeout,
|
@@ -1521,12 +1537,13 @@ module Google
|
|
1521
1537
|
# Customize the options with defaults
|
1522
1538
|
call_metadata = @config.rpcs.list_interconnects.metadata.to_h
|
1523
1539
|
|
1524
|
-
# Set x-goog-api-client
|
1540
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1525
1541
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1526
1542
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1527
1543
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1528
1544
|
transports_version_send: [:rest]
|
1529
1545
|
|
1546
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1530
1547
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1531
1548
|
|
1532
1549
|
options.apply_defaults timeout: @config.rpcs.list_interconnects.timeout,
|
@@ -1599,12 +1616,13 @@ module Google
|
|
1599
1616
|
# Customize the options with defaults
|
1600
1617
|
call_metadata = @config.rpcs.get_interconnect.metadata.to_h
|
1601
1618
|
|
1602
|
-
# Set x-goog-api-client
|
1619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1603
1620
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1604
1621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1605
1622
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1606
1623
|
transports_version_send: [:rest]
|
1607
1624
|
|
1625
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1608
1626
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1609
1627
|
|
1610
1628
|
options.apply_defaults timeout: @config.rpcs.get_interconnect.timeout,
|
@@ -1677,12 +1695,13 @@ module Google
|
|
1677
1695
|
# Customize the options with defaults
|
1678
1696
|
call_metadata = @config.rpcs.diagnose_interconnect.metadata.to_h
|
1679
1697
|
|
1680
|
-
# Set x-goog-api-client
|
1698
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1681
1699
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1682
1700
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1683
1701
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1684
1702
|
transports_version_send: [:rest]
|
1685
1703
|
|
1704
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1686
1705
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1687
1706
|
|
1688
1707
|
options.apply_defaults timeout: @config.rpcs.diagnose_interconnect.timeout,
|
@@ -1768,12 +1787,13 @@ module Google
|
|
1768
1787
|
# Customize the options with defaults
|
1769
1788
|
call_metadata = @config.rpcs.list_interconnect_attachments.metadata.to_h
|
1770
1789
|
|
1771
|
-
# Set x-goog-api-client
|
1790
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1772
1791
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1773
1792
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1774
1793
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1775
1794
|
transports_version_send: [:rest]
|
1776
1795
|
|
1796
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1777
1797
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1778
1798
|
|
1779
1799
|
options.apply_defaults timeout: @config.rpcs.list_interconnect_attachments.timeout,
|
@@ -1846,12 +1866,13 @@ module Google
|
|
1846
1866
|
# Customize the options with defaults
|
1847
1867
|
call_metadata = @config.rpcs.get_interconnect_attachment.metadata.to_h
|
1848
1868
|
|
1849
|
-
# Set x-goog-api-client
|
1869
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1850
1870
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1851
1871
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1852
1872
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1853
1873
|
transports_version_send: [:rest]
|
1854
1874
|
|
1875
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1855
1876
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1856
1877
|
|
1857
1878
|
options.apply_defaults timeout: @config.rpcs.get_interconnect_attachment.timeout,
|
@@ -1951,12 +1972,13 @@ module Google
|
|
1951
1972
|
# Customize the options with defaults
|
1952
1973
|
call_metadata = @config.rpcs.create_interconnect_attachment.metadata.to_h
|
1953
1974
|
|
1954
|
-
# Set x-goog-api-client
|
1975
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1955
1976
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1956
1977
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1957
1978
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
1958
1979
|
transports_version_send: [:rest]
|
1959
1980
|
|
1981
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1960
1982
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1961
1983
|
|
1962
1984
|
options.apply_defaults timeout: @config.rpcs.create_interconnect_attachment.timeout,
|
@@ -2051,12 +2073,13 @@ module Google
|
|
2051
2073
|
# Customize the options with defaults
|
2052
2074
|
call_metadata = @config.rpcs.delete_interconnect_attachment.metadata.to_h
|
2053
2075
|
|
2054
|
-
# Set x-goog-api-client
|
2076
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2055
2077
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2056
2078
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2057
2079
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2058
2080
|
transports_version_send: [:rest]
|
2059
2081
|
|
2082
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2060
2083
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2061
2084
|
|
2062
2085
|
options.apply_defaults timeout: @config.rpcs.delete_interconnect_attachment.timeout,
|
@@ -2143,12 +2166,13 @@ module Google
|
|
2143
2166
|
# Customize the options with defaults
|
2144
2167
|
call_metadata = @config.rpcs.list_routers.metadata.to_h
|
2145
2168
|
|
2146
|
-
# Set x-goog-api-client
|
2169
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2147
2170
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2148
2171
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2149
2172
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2150
2173
|
transports_version_send: [:rest]
|
2151
2174
|
|
2175
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2152
2176
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2153
2177
|
|
2154
2178
|
options.apply_defaults timeout: @config.rpcs.list_routers.timeout,
|
@@ -2221,12 +2245,13 @@ module Google
|
|
2221
2245
|
# Customize the options with defaults
|
2222
2246
|
call_metadata = @config.rpcs.get_router.metadata.to_h
|
2223
2247
|
|
2224
|
-
# Set x-goog-api-client
|
2248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2225
2249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2226
2250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2227
2251
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2228
2252
|
transports_version_send: [:rest]
|
2229
2253
|
|
2254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2230
2255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2231
2256
|
|
2232
2257
|
options.apply_defaults timeout: @config.rpcs.get_router.timeout,
|
@@ -2299,12 +2324,13 @@ module Google
|
|
2299
2324
|
# Customize the options with defaults
|
2300
2325
|
call_metadata = @config.rpcs.diagnose_router.metadata.to_h
|
2301
2326
|
|
2302
|
-
# Set x-goog-api-client
|
2327
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2303
2328
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2304
2329
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2305
2330
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2306
2331
|
transports_version_send: [:rest]
|
2307
2332
|
|
2333
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2308
2334
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2309
2335
|
|
2310
2336
|
options.apply_defaults timeout: @config.rpcs.diagnose_router.timeout,
|
@@ -2404,12 +2430,13 @@ module Google
|
|
2404
2430
|
# Customize the options with defaults
|
2405
2431
|
call_metadata = @config.rpcs.create_router.metadata.to_h
|
2406
2432
|
|
2407
|
-
# Set x-goog-api-client
|
2433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2408
2434
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2409
2435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2410
2436
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2411
2437
|
transports_version_send: [:rest]
|
2412
2438
|
|
2439
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2413
2440
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2414
2441
|
|
2415
2442
|
options.apply_defaults timeout: @config.rpcs.create_router.timeout,
|
@@ -2510,12 +2537,13 @@ module Google
|
|
2510
2537
|
# Customize the options with defaults
|
2511
2538
|
call_metadata = @config.rpcs.update_router.metadata.to_h
|
2512
2539
|
|
2513
|
-
# Set x-goog-api-client
|
2540
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2514
2541
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2515
2542
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2516
2543
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2517
2544
|
transports_version_send: [:rest]
|
2518
2545
|
|
2546
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2519
2547
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2520
2548
|
|
2521
2549
|
options.apply_defaults timeout: @config.rpcs.update_router.timeout,
|
@@ -2610,12 +2638,13 @@ module Google
|
|
2610
2638
|
# Customize the options with defaults
|
2611
2639
|
call_metadata = @config.rpcs.delete_router.metadata.to_h
|
2612
2640
|
|
2613
|
-
# Set x-goog-api-client
|
2641
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2614
2642
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2615
2643
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2616
2644
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
2617
2645
|
transports_version_send: [:rest]
|
2618
2646
|
|
2647
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2619
2648
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2620
2649
|
|
2621
2650
|
options.apply_defaults timeout: @config.rpcs.delete_router.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
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 = "edgenetwork.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::EdgeNetwork::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n+google/cloud/edgenetwork/v1/resources.proto\x12\x1bgoogle.cloud.edgenetwork.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x02\n\x04Zone\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Zone.LabelsEntryB\x02\x18\x01\x12\x17\n\x0blayout_name\x18\x05 \x01(\tB\x02\x18\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n\x1f\x65\x64genetwork.googleapis.com/Zone\x12\x34projects/{project}/locations/{location}/zones/{zone}\"\x92\x03\n\x07Network\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x04 \x03(\x0b\x32\x30.google.cloud.edgenetwork.v1.Network.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x0b\n\x03mtu\x18\x06 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:p\xea\x41m\n\"edgenetwork.googleapis.com/Network\x12Gprojects/{project}/locations/{location}/zones/{zone}/networks/{network}\"\xb9\x04\n\x06Subnet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Subnet.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x11\n\tipv4_cidr\x18\x07 \x03(\t\x12\x11\n\tipv6_cidr\x18\x08 \x03(\t\x12\x14\n\x07vlan_id\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\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:m\xea\x41j\n!edgenetwork.googleapis.com/Subnet\x12\x45projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}\"\x99\x05\n\x0cInterconnect\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.edgenetwork.v1.Interconnect.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x11interconnect_type\x18\x06 \x01(\x0e\x32:.google.cloud.edgenetwork.v1.Interconnect.InterconnectTypeB\x03\xe0\x41\x01\x12\x11\n\x04uuid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x64\x65vice_cloud_resource_name\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ephysical_ports\x18\t \x03(\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\"D\n\x10InterconnectType\x12!\n\x1dINTERCONNECT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tDEDICATED\x10\x01:\x7f\xea\x41|\n\'edgenetwork.googleapis.com/Interconnect\x12Qprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}\"\xba\x05\n\x16InterconnectAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectAttachment.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0cinterconnect\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\x12;\n\x07network\x18\x0b \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x14\n\x07vlan_id\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0b\n\x03mtu\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\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:\x9f\x01\xea\x41\x9b\x01\n1edgenetwork.googleapis.com/InterconnectAttachment\x12\x66projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}\"\xf0\x08\n\x06Router\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Router.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12@\n\tinterface\x18\x07 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Router.Interface\x12=\n\x08\x62gp_peer\x18\x08 \x03(\x0b\x32+.google.cloud.edgenetwork.v1.Router.BgpPeer\x12\x34\n\x03\x62gp\x18\t \x01(\x0b\x32\'.google.cloud.edgenetwork.v1.Router.Bgp\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x12!\n\x14route_advertisements\x18\x0b \x03(\tB\x03\xe0\x41\x01\x1a\x9a\x01\n\tInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tipv4_cidr\x18\x03 \x01(\t\x12\x11\n\tipv6_cidr\x18\x06 \x01(\t\x12&\n\x1elinked_interconnect_attachment\x18\x02 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x1d\n\x15loopback_ip_addresses\x18\x05 \x03(\t\x1a\xbe\x01\n\x07\x42gpPeer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tinterface\x18\x02 \x01(\t\x12\x1b\n\x13interface_ipv4_cidr\x18\x03 \x01(\t\x12\x1b\n\x13interface_ipv6_cidr\x18\x07 \x01(\t\x12\x16\n\x0epeer_ipv4_cidr\x18\x04 \x01(\t\x12\x16\n\x0epeer_ipv6_cidr\x18\x06 \x01(\t\x12\x10\n\x08peer_asn\x18\x05 \x01(\r\x12\x16\n\tlocal_asn\x18\x08 \x01(\rB\x03\xe0\x41\x03\x1a\x39\n\x03\x42gp\x12\x0b\n\x03\x61sn\x18\x01 \x01(\r\x12%\n\x1dkeepalive_interval_in_seconds\x18\x02 \x01(\r\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:m\xea\x41j\n!edgenetwork.googleapis.com/Router\x12\x45projects/{project}/locations/{location}/zones/{zone}/routers/{router}\";\n\x10LinkLayerAddress\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\"~\n\x0cSubnetStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12K\n\x14link_layer_addresses\x18\x03 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\"\xf1\x08\n\x17InterconnectDiagnostics\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12K\n\x14link_layer_addresses\x18\x02 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\x12N\n\x05links\x18\x03 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus\x1a\xb0\x02\n\nLinkStatus\x12\x12\n\ncircuit_id\x18\x01 \x01(\t\x12X\n\x0blacp_status\x18\x02 \x01(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus\x12Z\n\rlldp_statuses\x18\x03 \x03(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus\x12X\n\rpacket_counts\x18\x04 \x01(\x0b\x32\x41.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts\x1a\xa7\x01\n\x0cPacketCounts\x12\x17\n\x0finbound_unicast\x18\x01 \x01(\x03\x12\x16\n\x0einbound_errors\x18\x02 \x01(\x03\x12\x18\n\x10inbound_discards\x18\x03 \x01(\x03\x12\x18\n\x10outbound_unicast\x18\x04 \x01(\x03\x12\x17\n\x0foutbound_errors\x18\x05 \x01(\x03\x12\x19\n\x11outbound_discards\x18\x06 \x01(\x03\x1a\x90\x02\n\x0eLinkLACPStatus\x12X\n\x05state\x18\x01 \x01(\x0e\x32I.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State\x12\x18\n\x10google_system_id\x18\x02 \x01(\t\x12\x1a\n\x12neighbor_system_id\x18\x03 \x01(\t\x12\x14\n\x0c\x61ggregatable\x18\x04 \x01(\x08\x12\x12\n\ncollecting\x18\x05 \x01(\x08\x12\x14\n\x0c\x64istributing\x18\x06 \x01(\x08\".\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44\x45TACHED\x10\x02\x1a\xb3\x01\n\x0eLinkLLDPStatus\x12\x18\n\x10peer_system_name\x18\x01 \x01(\t\x12\x1f\n\x17peer_system_description\x18\x02 \x01(\t\x12\x17\n\x0fpeer_chassis_id\x18\x03 \x01(\t\x12\x1c\n\x14peer_chassis_id_type\x18\x04 \x01(\t\x12\x14\n\x0cpeer_port_id\x18\x05 \x01(\t\x12\x19\n\x11peer_port_id_type\x18\x06 \x01(\t\"\xea\x04\n\x0cRouterStatus\x12\x38\n\x07network\x18\x01 \x01(\tB\'\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12P\n\x0f\x62gp_peer_status\x18\x02 \x03(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus\x1a\xd1\x02\n\rBgpPeerStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x17\n\x0fpeer_ip_address\x18\x03 \x01(\t\x12Q\n\x06status\x18\x04 \x01(\x0e\x32\x41.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus\x12\r\n\x05state\x18\x05 \x01(\t\x12\x0e\n\x06uptime\x18\x06 \x01(\t\x12\x16\n\x0euptime_seconds\x18\x07 \x01(\x03\x12O\n\x0eprefix_counter\x18\x08 \x01(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter\"*\n\tBgpStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02\x1az\n\rPrefixCounter\x12\x12\n\nadvertised\x18\x01 \x01(\x03\x12\x0e\n\x06\x64\x65nied\x18\x02 \x01(\x03\x12\x10\n\x08received\x18\x03 \x01(\x03\x12\x0c\n\x04sent\x18\x04 \x01(\x03\x12\x12\n\nsuppressed\x18\x05 \x01(\x03\x12\x11\n\twithdrawn\x18\x06 \x01(\x03*\x89\x01\n\rResourceState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x16\n\x12STATE_PROVISIONING\x10\x02\x12\x11\n\rSTATE_RUNNING\x10\x03\x12\x13\n\x0fSTATE_SUSPENDED\x10\x04\x12\x12\n\x0eSTATE_DELETING\x10\x05\x42\xd3\x01\n\x1f\x63om.google.cloud.edgenetwork.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb\xaa\x02\x1bGoogle.Cloud.EdgeNetwork.V1\xca\x02\x1bGoogle\\Cloud\\EdgeNetwork\\V1\xea\x02\x1eGoogle::Cloud::EdgeNetwork::V1b\x06proto3"
|
12
|
+
descriptor_data = "\n+google/cloud/edgenetwork/v1/resources.proto\x12\x1bgoogle.cloud.edgenetwork.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x02\n\x04Zone\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Zone.LabelsEntryB\x02\x18\x01\x12\x17\n\x0blayout_name\x18\x05 \x01(\tB\x02\x18\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n\x1f\x65\x64genetwork.googleapis.com/Zone\x12\x34projects/{project}/locations/{location}/zones/{zone}\"\x92\x03\n\x07Network\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x04 \x03(\x0b\x32\x30.google.cloud.edgenetwork.v1.Network.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x0b\n\x03mtu\x18\x06 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:p\xea\x41m\n\"edgenetwork.googleapis.com/Network\x12Gprojects/{project}/locations/{location}/zones/{zone}/networks/{network}\"\xce\x05\n\x06Subnet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Subnet.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x11\n\tipv4_cidr\x18\x07 \x03(\t\x12\x11\n\tipv6_cidr\x18\x08 \x03(\t\x12\x14\n\x07vlan_id\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x0c\x62onding_type\x18\x0b \x01(\x0e\x32/.google.cloud.edgenetwork.v1.Subnet.BondingTypeB\x03\xe0\x41\x01\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\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\"G\n\x0b\x42ondingType\x12\x1c\n\x18\x42ONDING_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42ONDED\x10\x01\x12\x0e\n\nNON_BONDED\x10\x02:m\xea\x41j\n!edgenetwork.googleapis.com/Subnet\x12\x45projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}\"\x99\x05\n\x0cInterconnect\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.edgenetwork.v1.Interconnect.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x11interconnect_type\x18\x06 \x01(\x0e\x32:.google.cloud.edgenetwork.v1.Interconnect.InterconnectTypeB\x03\xe0\x41\x01\x12\x11\n\x04uuid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x64\x65vice_cloud_resource_name\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ephysical_ports\x18\t \x03(\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\"D\n\x10InterconnectType\x12!\n\x1dINTERCONNECT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tDEDICATED\x10\x01:\x7f\xea\x41|\n\'edgenetwork.googleapis.com/Interconnect\x12Qprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}\"\xba\x05\n\x16InterconnectAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectAttachment.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0cinterconnect\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\x12;\n\x07network\x18\x0b \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x14\n\x07vlan_id\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0b\n\x03mtu\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\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:\x9f\x01\xea\x41\x9b\x01\n1edgenetwork.googleapis.com/InterconnectAttachment\x12\x66projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}\"\xf0\x08\n\x06Router\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Router.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12@\n\tinterface\x18\x07 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Router.Interface\x12=\n\x08\x62gp_peer\x18\x08 \x03(\x0b\x32+.google.cloud.edgenetwork.v1.Router.BgpPeer\x12\x34\n\x03\x62gp\x18\t \x01(\x0b\x32\'.google.cloud.edgenetwork.v1.Router.Bgp\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x12!\n\x14route_advertisements\x18\x0b \x03(\tB\x03\xe0\x41\x01\x1a\x9a\x01\n\tInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tipv4_cidr\x18\x03 \x01(\t\x12\x11\n\tipv6_cidr\x18\x06 \x01(\t\x12&\n\x1elinked_interconnect_attachment\x18\x02 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x1d\n\x15loopback_ip_addresses\x18\x05 \x03(\t\x1a\xbe\x01\n\x07\x42gpPeer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tinterface\x18\x02 \x01(\t\x12\x1b\n\x13interface_ipv4_cidr\x18\x03 \x01(\t\x12\x1b\n\x13interface_ipv6_cidr\x18\x07 \x01(\t\x12\x16\n\x0epeer_ipv4_cidr\x18\x04 \x01(\t\x12\x16\n\x0epeer_ipv6_cidr\x18\x06 \x01(\t\x12\x10\n\x08peer_asn\x18\x05 \x01(\r\x12\x16\n\tlocal_asn\x18\x08 \x01(\rB\x03\xe0\x41\x03\x1a\x39\n\x03\x42gp\x12\x0b\n\x03\x61sn\x18\x01 \x01(\r\x12%\n\x1dkeepalive_interval_in_seconds\x18\x02 \x01(\r\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:m\xea\x41j\n!edgenetwork.googleapis.com/Router\x12\x45projects/{project}/locations/{location}/zones/{zone}/routers/{router}\";\n\x10LinkLayerAddress\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\"~\n\x0cSubnetStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12K\n\x14link_layer_addresses\x18\x03 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\"\xf1\x08\n\x17InterconnectDiagnostics\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12K\n\x14link_layer_addresses\x18\x02 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\x12N\n\x05links\x18\x03 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus\x1a\xb0\x02\n\nLinkStatus\x12\x12\n\ncircuit_id\x18\x01 \x01(\t\x12X\n\x0blacp_status\x18\x02 \x01(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus\x12Z\n\rlldp_statuses\x18\x03 \x03(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus\x12X\n\rpacket_counts\x18\x04 \x01(\x0b\x32\x41.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts\x1a\xa7\x01\n\x0cPacketCounts\x12\x17\n\x0finbound_unicast\x18\x01 \x01(\x03\x12\x16\n\x0einbound_errors\x18\x02 \x01(\x03\x12\x18\n\x10inbound_discards\x18\x03 \x01(\x03\x12\x18\n\x10outbound_unicast\x18\x04 \x01(\x03\x12\x17\n\x0foutbound_errors\x18\x05 \x01(\x03\x12\x19\n\x11outbound_discards\x18\x06 \x01(\x03\x1a\x90\x02\n\x0eLinkLACPStatus\x12X\n\x05state\x18\x01 \x01(\x0e\x32I.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State\x12\x18\n\x10google_system_id\x18\x02 \x01(\t\x12\x1a\n\x12neighbor_system_id\x18\x03 \x01(\t\x12\x14\n\x0c\x61ggregatable\x18\x04 \x01(\x08\x12\x12\n\ncollecting\x18\x05 \x01(\x08\x12\x14\n\x0c\x64istributing\x18\x06 \x01(\x08\".\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44\x45TACHED\x10\x02\x1a\xb3\x01\n\x0eLinkLLDPStatus\x12\x18\n\x10peer_system_name\x18\x01 \x01(\t\x12\x1f\n\x17peer_system_description\x18\x02 \x01(\t\x12\x17\n\x0fpeer_chassis_id\x18\x03 \x01(\t\x12\x1c\n\x14peer_chassis_id_type\x18\x04 \x01(\t\x12\x14\n\x0cpeer_port_id\x18\x05 \x01(\t\x12\x19\n\x11peer_port_id_type\x18\x06 \x01(\t\"\xea\x04\n\x0cRouterStatus\x12\x38\n\x07network\x18\x01 \x01(\tB\'\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12P\n\x0f\x62gp_peer_status\x18\x02 \x03(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus\x1a\xd1\x02\n\rBgpPeerStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x17\n\x0fpeer_ip_address\x18\x03 \x01(\t\x12Q\n\x06status\x18\x04 \x01(\x0e\x32\x41.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus\x12\r\n\x05state\x18\x05 \x01(\t\x12\x0e\n\x06uptime\x18\x06 \x01(\t\x12\x16\n\x0euptime_seconds\x18\x07 \x01(\x03\x12O\n\x0eprefix_counter\x18\x08 \x01(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter\"*\n\tBgpStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02\x1az\n\rPrefixCounter\x12\x12\n\nadvertised\x18\x01 \x01(\x03\x12\x0e\n\x06\x64\x65nied\x18\x02 \x01(\x03\x12\x10\n\x08received\x18\x03 \x01(\x03\x12\x0c\n\x04sent\x18\x04 \x01(\x03\x12\x12\n\nsuppressed\x18\x05 \x01(\x03\x12\x11\n\twithdrawn\x18\x06 \x01(\x03*\x89\x01\n\rResourceState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x16\n\x12STATE_PROVISIONING\x10\x02\x12\x11\n\rSTATE_RUNNING\x10\x03\x12\x13\n\x0fSTATE_SUSPENDED\x10\x04\x12\x12\n\x0eSTATE_DELETING\x10\x05\x42\xd3\x01\n\x1f\x63om.google.cloud.edgenetwork.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb\xaa\x02\x1bGoogle.Cloud.EdgeNetwork.V1\xca\x02\x1bGoogle\\Cloud\\EdgeNetwork\\V1\xea\x02\x1eGoogle::Cloud::EdgeNetwork::V1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -43,6 +43,7 @@ module Google
|
|
43
43
|
Zone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Zone").msgclass
|
44
44
|
Network = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Network").msgclass
|
45
45
|
Subnet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Subnet").msgclass
|
46
|
+
Subnet::BondingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Subnet.BondingType").enummodule
|
46
47
|
Interconnect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect").msgclass
|
47
48
|
Interconnect::InterconnectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect.InterconnectType").enummodule
|
48
49
|
InterconnectAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectAttachment").msgclass
|
@@ -121,6 +121,13 @@ module Google
|
|
121
121
|
# @return [::Integer]
|
122
122
|
# Optional. VLAN id provided by user. If not specified we assign one
|
123
123
|
# automatically.
|
124
|
+
# @!attribute [rw] bonding_type
|
125
|
+
# @return [::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType]
|
126
|
+
# Optional. A bonding type in the subnet creation specifies whether a VLAN
|
127
|
+
# being created will be present on Bonded or Non-Bonded or Both port types.
|
128
|
+
# In addition, this flag is to be used to set the specific network
|
129
|
+
# configuration which clusters can then use for their workloads based on the
|
130
|
+
# bonding choice.
|
124
131
|
# @!attribute [r] state
|
125
132
|
# @return [::Google::Cloud::EdgeNetwork::V1::ResourceState]
|
126
133
|
# Output only. Current stage of the resource to the device by config push.
|
@@ -136,6 +143,22 @@ module Google
|
|
136
143
|
include ::Google::Protobuf::MessageExts
|
137
144
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
138
145
|
end
|
146
|
+
|
147
|
+
# Bonding type in the subnet.
|
148
|
+
module BondingType
|
149
|
+
# Unspecified
|
150
|
+
# Bonding type will be unspecified by default and if the user chooses to
|
151
|
+
# not specify a bonding type at time of creating the VLAN. This will be
|
152
|
+
# treated as mixed bonding where the VLAN will have both bonded and
|
153
|
+
# non-bonded connectivity to machines.
|
154
|
+
BONDING_TYPE_UNSPECIFIED = 0
|
155
|
+
|
156
|
+
# Single homed.
|
157
|
+
BONDED = 1
|
158
|
+
|
159
|
+
# Multi homed.
|
160
|
+
NON_BONDED = 2
|
161
|
+
end
|
139
162
|
end
|
140
163
|
|
141
164
|
# Message describing Interconnect object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-edge_network-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|