google-cloud-network_connectivity-v1 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +566 -0
- data/lib/google/cloud/network_connectivity/v1/hub_service/paths.rb +40 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +15 -2
- data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +11 -1
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +451 -36
- metadata +1 -1
|
@@ -54,9 +54,9 @@ module Google
|
|
|
54
54
|
# @!attribute [r] state
|
|
55
55
|
# @return [::Google::Cloud::NetworkConnectivity::V1::State]
|
|
56
56
|
# Output only. The current lifecycle state of this hub.
|
|
57
|
-
# @!attribute [
|
|
57
|
+
# @!attribute [r] routing_vpcs
|
|
58
58
|
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>]
|
|
59
|
-
# The VPC networks associated with this hub's spokes.
|
|
59
|
+
# Output only. The VPC networks associated with this hub's spokes.
|
|
60
60
|
#
|
|
61
61
|
# This field is read-only. Network Connectivity Center automatically
|
|
62
62
|
# populates it based on the set of spokes attached to the hub.
|
|
@@ -93,10 +93,32 @@ module Google
|
|
|
93
93
|
# for the hub. If true, Private Service Connect endpoints in VPC spokes
|
|
94
94
|
# attached to the hub are made accessible to other VPC spokes attached to the
|
|
95
95
|
# hub. The default value is false.
|
|
96
|
+
# @!attribute [rw] export_psc_config
|
|
97
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Hub::ExportPscConfig]
|
|
98
|
+
# Optional. Config for more granular control of Private Service Connect
|
|
99
|
+
# transitivity.
|
|
96
100
|
class Hub
|
|
97
101
|
include ::Google::Protobuf::MessageExts
|
|
98
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
99
103
|
|
|
104
|
+
# Configuration for more granular control of Private Service Connect
|
|
105
|
+
# connection propagation.
|
|
106
|
+
# This allows enabling or disabling connection propagation for specific types
|
|
107
|
+
# of Private Service Connect endpoints.
|
|
108
|
+
# @!attribute [rw] published_services_and_regional_google_apis
|
|
109
|
+
# @return [::Boolean]
|
|
110
|
+
# Optional. Controls whether Private Service Connect endpoints for regional
|
|
111
|
+
# ILBs and regional Google APIs should be propagated. Default value is true
|
|
112
|
+
# if export_psc is true. Otherwise, the default value is false.
|
|
113
|
+
# @!attribute [rw] global_google_apis
|
|
114
|
+
# @return [::Boolean]
|
|
115
|
+
# Optional. Controls whether Private Service Connect endpoints for global
|
|
116
|
+
# Google APIs should be propagated. The default value is false.
|
|
117
|
+
class ExportPscConfig
|
|
118
|
+
include ::Google::Protobuf::MessageExts
|
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
120
|
+
end
|
|
121
|
+
|
|
100
122
|
# @!attribute [rw] key
|
|
101
123
|
# @return [::String]
|
|
102
124
|
# @!attribute [rw] value
|
|
@@ -171,6 +193,10 @@ module Google
|
|
|
171
193
|
# @!attribute [rw] linked_vpc_network
|
|
172
194
|
# @return [::Google::Cloud::NetworkConnectivity::V1::LinkedVpcNetwork]
|
|
173
195
|
# Optional. VPC network that is associated with the spoke.
|
|
196
|
+
# @!attribute [rw] gateway
|
|
197
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Gateway]
|
|
198
|
+
# Optional. This is a gateway that can apply specialized processing to
|
|
199
|
+
# traffic going through it.
|
|
174
200
|
# @!attribute [rw] linked_producer_vpc_network
|
|
175
201
|
# @return [::Google::Cloud::NetworkConnectivity::V1::LinkedProducerVpcNetwork]
|
|
176
202
|
# Optional. The linked producer VPC that is associated with the spoke.
|
|
@@ -193,14 +219,14 @@ module Google
|
|
|
193
219
|
# Optional. This checksum is computed by the server based on the value of
|
|
194
220
|
# other fields, and may be sent on update and delete requests to ensure the
|
|
195
221
|
# client has an up-to-date value before proceeding.
|
|
196
|
-
# @!attribute [
|
|
222
|
+
# @!attribute [r] field_paths_pending_update
|
|
197
223
|
# @return [::Array<::String>]
|
|
198
|
-
#
|
|
224
|
+
# Output only. The list of fields waiting for hub administrator's approval.
|
|
199
225
|
class Spoke
|
|
200
226
|
include ::Google::Protobuf::MessageExts
|
|
201
227
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
202
228
|
|
|
203
|
-
# The reason
|
|
229
|
+
# The reason for the current state of the spoke.
|
|
204
230
|
# @!attribute [rw] code
|
|
205
231
|
# @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
|
|
206
232
|
# The code associated with this reason.
|
|
@@ -214,7 +240,7 @@ module Google
|
|
|
214
240
|
include ::Google::Protobuf::MessageExts
|
|
215
241
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
216
242
|
|
|
217
|
-
# The Code enum represents the various reasons
|
|
243
|
+
# The Code enum represents the various reasons for the state of the spoke.
|
|
218
244
|
module Code
|
|
219
245
|
# No information available.
|
|
220
246
|
CODE_UNSPECIFIED = 0
|
|
@@ -360,6 +386,9 @@ module Google
|
|
|
360
386
|
# @!attribute [rw] next_hop_interconnect_attachment
|
|
361
387
|
# @return [::Google::Cloud::NetworkConnectivity::V1::NextHopInterconnectAttachment]
|
|
362
388
|
# Immutable. The next-hop VLAN attachment for packets on this route.
|
|
389
|
+
# @!attribute [rw] next_hop_spoke
|
|
390
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::NextHopSpoke]
|
|
391
|
+
# Immutable. The next-hop spoke for packets on this route.
|
|
363
392
|
class Route
|
|
364
393
|
include ::Google::Protobuf::MessageExts
|
|
365
394
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1281,9 +1310,36 @@ module Google
|
|
|
1281
1310
|
# Output only. The VPC network where these VPN tunnels are located.
|
|
1282
1311
|
# @!attribute [rw] include_import_ranges
|
|
1283
1312
|
# @return [::Array<::String>]
|
|
1284
|
-
# Optional.
|
|
1285
|
-
#
|
|
1286
|
-
#
|
|
1313
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1314
|
+
# included during import from hub.
|
|
1315
|
+
# @!attribute [r] proposed_include_import_ranges
|
|
1316
|
+
# @return [::Array<::String>]
|
|
1317
|
+
# Output only. The proposed include import IP ranges waiting for hub
|
|
1318
|
+
# administrator's approval.
|
|
1319
|
+
# @!attribute [rw] exclude_import_ranges
|
|
1320
|
+
# @return [::Array<::String>]
|
|
1321
|
+
# Optional. Hub routes overlapped/encompassed by exclude import ranges are
|
|
1322
|
+
# excluded during import from hub.
|
|
1323
|
+
# @!attribute [r] proposed_exclude_import_ranges
|
|
1324
|
+
# @return [::Array<::String>]
|
|
1325
|
+
# Output only. The proposed exclude import IP ranges waiting for hub
|
|
1326
|
+
# administrator's approval.
|
|
1327
|
+
# @!attribute [rw] include_export_ranges
|
|
1328
|
+
# @return [::Array<::String>]
|
|
1329
|
+
# Optional. Dynamic routes fully encompassed by include export ranges are
|
|
1330
|
+
# included during export to hub.
|
|
1331
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1332
|
+
# @return [::Array<::String>]
|
|
1333
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1334
|
+
# administrator's approval.
|
|
1335
|
+
# @!attribute [rw] exclude_export_ranges
|
|
1336
|
+
# @return [::Array<::String>]
|
|
1337
|
+
# Optional. Dynamic routes overlapped/encompassed by exclude export ranges
|
|
1338
|
+
# are excluded during export to hub.
|
|
1339
|
+
# @!attribute [r] proposed_exclude_export_ranges
|
|
1340
|
+
# @return [::Array<::String>]
|
|
1341
|
+
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1342
|
+
# administrator's approval.
|
|
1287
1343
|
class LinkedVpnTunnels
|
|
1288
1344
|
include ::Google::Protobuf::MessageExts
|
|
1289
1345
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1306,9 +1362,36 @@ module Google
|
|
|
1306
1362
|
# Output only. The VPC network where these VLAN attachments are located.
|
|
1307
1363
|
# @!attribute [rw] include_import_ranges
|
|
1308
1364
|
# @return [::Array<::String>]
|
|
1309
|
-
# Optional.
|
|
1310
|
-
#
|
|
1311
|
-
#
|
|
1365
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1366
|
+
# included during import from hub.
|
|
1367
|
+
# @!attribute [r] proposed_include_import_ranges
|
|
1368
|
+
# @return [::Array<::String>]
|
|
1369
|
+
# Output only. The proposed include import IP ranges waiting for hub
|
|
1370
|
+
# administrator's approval.
|
|
1371
|
+
# @!attribute [rw] exclude_import_ranges
|
|
1372
|
+
# @return [::Array<::String>]
|
|
1373
|
+
# Optional. Hub routes overlapped/encompassed by exclude import ranges are
|
|
1374
|
+
# excluded during import from hub.
|
|
1375
|
+
# @!attribute [r] proposed_exclude_import_ranges
|
|
1376
|
+
# @return [::Array<::String>]
|
|
1377
|
+
# Output only. The proposed exclude import IP ranges waiting for hub
|
|
1378
|
+
# administrator's approval.
|
|
1379
|
+
# @!attribute [rw] include_export_ranges
|
|
1380
|
+
# @return [::Array<::String>]
|
|
1381
|
+
# Optional. Dynamic routes fully encompassed by include export ranges are
|
|
1382
|
+
# included during export to hub.
|
|
1383
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1384
|
+
# @return [::Array<::String>]
|
|
1385
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1386
|
+
# administrator's approval.
|
|
1387
|
+
# @!attribute [rw] exclude_export_ranges
|
|
1388
|
+
# @return [::Array<::String>]
|
|
1389
|
+
# Optional. Dynamic routes overlapped/encompassed by exclude export ranges
|
|
1390
|
+
# are excluded during export to hub.
|
|
1391
|
+
# @!attribute [r] proposed_exclude_export_ranges
|
|
1392
|
+
# @return [::Array<::String>]
|
|
1393
|
+
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1394
|
+
# administrator's approval.
|
|
1312
1395
|
class LinkedInterconnectAttachments
|
|
1313
1396
|
include ::Google::Protobuf::MessageExts
|
|
1314
1397
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1332,9 +1415,36 @@ module Google
|
|
|
1332
1415
|
# located.
|
|
1333
1416
|
# @!attribute [rw] include_import_ranges
|
|
1334
1417
|
# @return [::Array<::String>]
|
|
1335
|
-
# Optional.
|
|
1336
|
-
#
|
|
1337
|
-
#
|
|
1418
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1419
|
+
# included during import from hub.
|
|
1420
|
+
# @!attribute [r] proposed_include_import_ranges
|
|
1421
|
+
# @return [::Array<::String>]
|
|
1422
|
+
# Output only. The proposed include import IP ranges waiting for hub
|
|
1423
|
+
# administrator's approval.
|
|
1424
|
+
# @!attribute [rw] exclude_import_ranges
|
|
1425
|
+
# @return [::Array<::String>]
|
|
1426
|
+
# Optional. Hub routes overlapped/encompassed by exclude import ranges are
|
|
1427
|
+
# excluded during import from hub.
|
|
1428
|
+
# @!attribute [r] proposed_exclude_import_ranges
|
|
1429
|
+
# @return [::Array<::String>]
|
|
1430
|
+
# Output only. The proposed exclude import IP ranges waiting for hub
|
|
1431
|
+
# administrator's approval.
|
|
1432
|
+
# @!attribute [rw] include_export_ranges
|
|
1433
|
+
# @return [::Array<::String>]
|
|
1434
|
+
# Optional. Dynamic routes fully encompassed by include export ranges are
|
|
1435
|
+
# included during export to hub.
|
|
1436
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1437
|
+
# @return [::Array<::String>]
|
|
1438
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1439
|
+
# administrator's approval.
|
|
1440
|
+
# @!attribute [rw] exclude_export_ranges
|
|
1441
|
+
# @return [::Array<::String>]
|
|
1442
|
+
# Optional. Dynamic routes overlapped/encompassed by exclude export ranges
|
|
1443
|
+
# are excluded during export to hub.
|
|
1444
|
+
# @!attribute [r] proposed_exclude_export_ranges
|
|
1445
|
+
# @return [::Array<::String>]
|
|
1446
|
+
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1447
|
+
# administrator's approval.
|
|
1338
1448
|
class LinkedRouterApplianceInstances
|
|
1339
1449
|
include ::Google::Protobuf::MessageExts
|
|
1340
1450
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1350,20 +1460,20 @@ module Google
|
|
|
1350
1460
|
# @!attribute [rw] include_export_ranges
|
|
1351
1461
|
# @return [::Array<::String>]
|
|
1352
1462
|
# Optional. IP ranges allowed to be included from peering.
|
|
1353
|
-
# @!attribute [
|
|
1463
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1354
1464
|
# @return [::Array<::String>]
|
|
1355
|
-
#
|
|
1356
|
-
#
|
|
1465
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1466
|
+
# administrator's approval.
|
|
1357
1467
|
# @!attribute [r] proposed_exclude_export_ranges
|
|
1358
1468
|
# @return [::Array<::String>]
|
|
1359
1469
|
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1360
|
-
#
|
|
1470
|
+
# administrator's approval.
|
|
1361
1471
|
# @!attribute [r] producer_vpc_spokes
|
|
1362
1472
|
# @return [::Array<::String>]
|
|
1363
1473
|
# Output only. The list of Producer VPC spokes that this VPC spoke is a
|
|
1364
1474
|
# service consumer VPC spoke for. These producer VPCs are connected through
|
|
1365
1475
|
# VPC peering to this spoke's backing VPC network. Because they are directly
|
|
1366
|
-
# connected
|
|
1476
|
+
# connected through VPC peering, NCC export filters do not apply between the
|
|
1367
1477
|
# service consumer VPC spoke and any of its producer VPC spokes. This VPC
|
|
1368
1478
|
# spoke cannot be deleted as long as any of these producer VPC spokes are
|
|
1369
1479
|
# connected to the NCC Hub.
|
|
@@ -1372,6 +1482,276 @@ module Google
|
|
|
1372
1482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1373
1483
|
end
|
|
1374
1484
|
|
|
1485
|
+
# A gateway that can apply specialized traffic processing.
|
|
1486
|
+
# @!attribute [rw] ip_range_reservations
|
|
1487
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Gateway::IpRangeReservation>]
|
|
1488
|
+
# Optional. A list of IP ranges that are reserved for this gateway's internal
|
|
1489
|
+
# intfrastructure.
|
|
1490
|
+
# @!attribute [rw] capacity
|
|
1491
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Gateway::GatewayCapacity]
|
|
1492
|
+
# Optional. The aggregate processing capacity of this gateway.
|
|
1493
|
+
# @!attribute [r] cloud_routers
|
|
1494
|
+
# @return [::Array<::String>]
|
|
1495
|
+
# Output only. The list of Cloud Routers that are connected to this gateway.
|
|
1496
|
+
# Should be in the form:
|
|
1497
|
+
# https://www.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/routers/\\{router}
|
|
1498
|
+
# @!attribute [r] sac_attachment
|
|
1499
|
+
# @return [::String]
|
|
1500
|
+
# Output only. The URI of the connected SACAttachment.
|
|
1501
|
+
# Should be in the form:
|
|
1502
|
+
# projects/\\{project}/locations/\\{location}/sacAttachments/\\{sac_attachment}
|
|
1503
|
+
class Gateway
|
|
1504
|
+
include ::Google::Protobuf::MessageExts
|
|
1505
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1506
|
+
|
|
1507
|
+
# A list of IP ranges that are reserved for this gateway's internal
|
|
1508
|
+
# intfrastructure.
|
|
1509
|
+
# @!attribute [rw] ip_range
|
|
1510
|
+
# @return [::String]
|
|
1511
|
+
# Required. A block of IP addresses used to allocate supporting
|
|
1512
|
+
# infrastructure for this gateway. This block must not overlap with subnets
|
|
1513
|
+
# in any spokes or peer VPC networks that the gateway can communicate with.
|
|
1514
|
+
# Example: "10.1.2.0/24"
|
|
1515
|
+
class IpRangeReservation
|
|
1516
|
+
include ::Google::Protobuf::MessageExts
|
|
1517
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1518
|
+
end
|
|
1519
|
+
|
|
1520
|
+
# The aggregate processing capacity of this gateway.
|
|
1521
|
+
module GatewayCapacity
|
|
1522
|
+
# The gateway capacity is unspecified.
|
|
1523
|
+
GATEWAY_CAPACITY_UNSPECIFIED = 0
|
|
1524
|
+
|
|
1525
|
+
# The gateway has 1 Gbps of aggregate processing capacity
|
|
1526
|
+
CAPACITY_1_GBPS = 5
|
|
1527
|
+
|
|
1528
|
+
# The gateway has 10 Gbps of aggregate processing capacity
|
|
1529
|
+
CAPACITY_10_GBPS = 1
|
|
1530
|
+
end
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
# A gateway advertised route is a route that a gateway spoke advertises
|
|
1534
|
+
# somewhere.
|
|
1535
|
+
# @!attribute [rw] name
|
|
1536
|
+
# @return [::String]
|
|
1537
|
+
# Identifier. The name of the gateway advertised route. Route names must be
|
|
1538
|
+
# unique and use the following form:
|
|
1539
|
+
# `projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}`
|
|
1540
|
+
# @!attribute [r] create_time
|
|
1541
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1542
|
+
# Output only. The time the gateway advertised route was created.
|
|
1543
|
+
# @!attribute [r] update_time
|
|
1544
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1545
|
+
# Output only. The time the gateway advertised route was last updated.
|
|
1546
|
+
# @!attribute [rw] labels
|
|
1547
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
1548
|
+
# Optional labels in key-value pair format. For more information about
|
|
1549
|
+
# labels, see [Requirements for
|
|
1550
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
1551
|
+
# @!attribute [rw] description
|
|
1552
|
+
# @return [::String]
|
|
1553
|
+
# An optional description of the gateway advertised route.
|
|
1554
|
+
# @!attribute [r] unique_id
|
|
1555
|
+
# @return [::String]
|
|
1556
|
+
# Output only. The Google-generated UUID for the gateway advertised route.
|
|
1557
|
+
# This value is unique across all gateway advertised route resources. If a
|
|
1558
|
+
# gateway advertised route is deleted and another with the same name is
|
|
1559
|
+
# created, the new route is assigned a different `unique_id`.
|
|
1560
|
+
# @!attribute [r] state
|
|
1561
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::State]
|
|
1562
|
+
# Output only. The current lifecycle state of this gateway advertised route.
|
|
1563
|
+
# @!attribute [rw] ip_range
|
|
1564
|
+
# @return [::String]
|
|
1565
|
+
# Immutable. This route's advertised IP address range. Must be a valid
|
|
1566
|
+
# CIDR-formatted prefix. If an IP address is provided without a subnet mask,
|
|
1567
|
+
# it is interpreted as, for IPv4, a `/32` singular IP address range, and, for
|
|
1568
|
+
# IPv6,
|
|
1569
|
+
# `/128`.
|
|
1570
|
+
# @!attribute [rw] priority
|
|
1571
|
+
# @return [::Integer]
|
|
1572
|
+
# Optional. The priority of this advertised route. You can choose a value
|
|
1573
|
+
# from `0` to `65335`. If you don't provide a value, Google Cloud assigns a
|
|
1574
|
+
# priority of `100` to the ranges.
|
|
1575
|
+
# @!attribute [rw] recipient
|
|
1576
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::GatewayAdvertisedRoute::Recipient]
|
|
1577
|
+
# Optional. The recipient of this advertised route.
|
|
1578
|
+
class GatewayAdvertisedRoute
|
|
1579
|
+
include ::Google::Protobuf::MessageExts
|
|
1580
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1581
|
+
|
|
1582
|
+
# @!attribute [rw] key
|
|
1583
|
+
# @return [::String]
|
|
1584
|
+
# @!attribute [rw] value
|
|
1585
|
+
# @return [::String]
|
|
1586
|
+
class LabelsEntry
|
|
1587
|
+
include ::Google::Protobuf::MessageExts
|
|
1588
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1589
|
+
end
|
|
1590
|
+
|
|
1591
|
+
# The recipient of an advertised route.
|
|
1592
|
+
module Recipient
|
|
1593
|
+
# No recipient specified. By default routes are advertised to the hub.
|
|
1594
|
+
RECIPIENT_UNSPECIFIED = 0
|
|
1595
|
+
|
|
1596
|
+
# Advertises a route toward the hub. Other spokes reachable from this spoke
|
|
1597
|
+
# will receive the route.
|
|
1598
|
+
ADVERTISE_TO_HUB = 1
|
|
1599
|
+
end
|
|
1600
|
+
end
|
|
1601
|
+
|
|
1602
|
+
# The request for
|
|
1603
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#create_gateway_advertised_route HubService.CreateGatewayAdvertisedRoute}.
|
|
1604
|
+
# @!attribute [rw] parent
|
|
1605
|
+
# @return [::String]
|
|
1606
|
+
# Required. The parent resource.
|
|
1607
|
+
# @!attribute [rw] gateway_advertised_route_id
|
|
1608
|
+
# @return [::String]
|
|
1609
|
+
# Required. Unique id for the route to create.
|
|
1610
|
+
# @!attribute [rw] gateway_advertised_route
|
|
1611
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::GatewayAdvertisedRoute]
|
|
1612
|
+
# Required. Initial values for the new gateway advertised route.
|
|
1613
|
+
# @!attribute [rw] request_id
|
|
1614
|
+
# @return [::String]
|
|
1615
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1616
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1617
|
+
# if it has already been completed. The server guarantees that a request
|
|
1618
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1619
|
+
# minutes.
|
|
1620
|
+
#
|
|
1621
|
+
# For example, consider a situation where you make an initial request and
|
|
1622
|
+
# the request times out. If you make the request again with the same request
|
|
1623
|
+
# ID, the server can check to see whether the original operation
|
|
1624
|
+
# was received. If it was, the server ignores the second request. This
|
|
1625
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1626
|
+
#
|
|
1627
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1628
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1629
|
+
class CreateGatewayAdvertisedRouteRequest
|
|
1630
|
+
include ::Google::Protobuf::MessageExts
|
|
1631
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1632
|
+
end
|
|
1633
|
+
|
|
1634
|
+
# The request for
|
|
1635
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#get_gateway_advertised_route HubService.GetGatewayAdvertisedRoute}.
|
|
1636
|
+
# @!attribute [rw] name
|
|
1637
|
+
# @return [::String]
|
|
1638
|
+
# Required. The name of the gateway advertised route to get.
|
|
1639
|
+
class GetGatewayAdvertisedRouteRequest
|
|
1640
|
+
include ::Google::Protobuf::MessageExts
|
|
1641
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1642
|
+
end
|
|
1643
|
+
|
|
1644
|
+
# The request for
|
|
1645
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_gateway_advertised_routes HubService.ListGatewayAdvertisedRoutes}.
|
|
1646
|
+
# @!attribute [rw] parent
|
|
1647
|
+
# @return [::String]
|
|
1648
|
+
# Required. The parent resource's name.
|
|
1649
|
+
# @!attribute [rw] page_size
|
|
1650
|
+
# @return [::Integer]
|
|
1651
|
+
# Optional. The maximum number of results per page that should be returned.
|
|
1652
|
+
# @!attribute [rw] page_token
|
|
1653
|
+
# @return [::String]
|
|
1654
|
+
# Optional. A page token, received from a previous
|
|
1655
|
+
# `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent
|
|
1656
|
+
# page.
|
|
1657
|
+
#
|
|
1658
|
+
# When paginating, all other parameters provided to
|
|
1659
|
+
# `ListGatewayAdvertisedRoutes` must match the call that provided the page
|
|
1660
|
+
# token.
|
|
1661
|
+
# @!attribute [rw] filter
|
|
1662
|
+
# @return [::String]
|
|
1663
|
+
# An expression that filters the list of results.
|
|
1664
|
+
# @!attribute [rw] order_by
|
|
1665
|
+
# @return [::String]
|
|
1666
|
+
# Sort the results by a certain order.
|
|
1667
|
+
class ListGatewayAdvertisedRoutesRequest
|
|
1668
|
+
include ::Google::Protobuf::MessageExts
|
|
1669
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1672
|
+
# Response for
|
|
1673
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_gateway_advertised_routes HubService.ListGatewayAdvertisedRoutes}
|
|
1674
|
+
# method.
|
|
1675
|
+
# @!attribute [rw] gateway_advertised_routes
|
|
1676
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::GatewayAdvertisedRoute>]
|
|
1677
|
+
# The requested gateway advertised routes.
|
|
1678
|
+
# @!attribute [rw] next_page_token
|
|
1679
|
+
# @return [::String]
|
|
1680
|
+
# The token for the next page of the response. To see more results,
|
|
1681
|
+
# use this value as the page_token for your next request. If this value
|
|
1682
|
+
# is empty, there are no more results.
|
|
1683
|
+
# @!attribute [rw] unreachable
|
|
1684
|
+
# @return [::Array<::String>]
|
|
1685
|
+
# Hubs that could not be reached.
|
|
1686
|
+
class ListGatewayAdvertisedRoutesResponse
|
|
1687
|
+
include ::Google::Protobuf::MessageExts
|
|
1688
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1689
|
+
end
|
|
1690
|
+
|
|
1691
|
+
# The request for
|
|
1692
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#update_gateway_advertised_route HubService.UpdateGatewayAdvertisedRoute}.
|
|
1693
|
+
# @!attribute [rw] update_mask
|
|
1694
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
1695
|
+
# Optional. In the case of an update to an existing group, field mask is used
|
|
1696
|
+
# to specify the fields to be overwritten. The fields specified in the
|
|
1697
|
+
# update_mask are relative to the resource, not the full request. A field is
|
|
1698
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
|
1699
|
+
# all fields are overwritten.
|
|
1700
|
+
# @!attribute [rw] gateway_advertised_route
|
|
1701
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::GatewayAdvertisedRoute]
|
|
1702
|
+
# Required. The gateway advertised route to update.
|
|
1703
|
+
#
|
|
1704
|
+
# The gateway advertised route's `name` field is used to identify the gateway
|
|
1705
|
+
# advertised route to update. Format:
|
|
1706
|
+
# `projects/{project}/locations/{location}/spokes/{spoke}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoute}`
|
|
1707
|
+
# @!attribute [rw] request_id
|
|
1708
|
+
# @return [::String]
|
|
1709
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1710
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1711
|
+
# if it has already been completed. The server guarantees that a request
|
|
1712
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1713
|
+
# minutes.
|
|
1714
|
+
#
|
|
1715
|
+
# For example, consider a situation where you make an initial request and
|
|
1716
|
+
# the request times out. If you make the request again with the same request
|
|
1717
|
+
# ID, the server can check to see whether the original operation
|
|
1718
|
+
# was received. If it was, the server ignores the second request. This
|
|
1719
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1720
|
+
#
|
|
1721
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1722
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1723
|
+
class UpdateGatewayAdvertisedRouteRequest
|
|
1724
|
+
include ::Google::Protobuf::MessageExts
|
|
1725
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1726
|
+
end
|
|
1727
|
+
|
|
1728
|
+
# Request for
|
|
1729
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#delete_gateway_advertised_route HubService.DeleteGatewayAdvertisedRoute}
|
|
1730
|
+
# method.
|
|
1731
|
+
# @!attribute [rw] name
|
|
1732
|
+
# @return [::String]
|
|
1733
|
+
# Required. The name of the gateway advertised route to delete.
|
|
1734
|
+
# @!attribute [rw] request_id
|
|
1735
|
+
# @return [::String]
|
|
1736
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1737
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1738
|
+
# if it has already been completed. The server guarantees that a request
|
|
1739
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1740
|
+
# minutes.
|
|
1741
|
+
#
|
|
1742
|
+
# For example, consider a situation where you make an initial request and
|
|
1743
|
+
# the request times out. If you make the request again with the same request
|
|
1744
|
+
# ID, the server can check to see whether the original operation
|
|
1745
|
+
# was received. If it was, the server ignores the second request. This
|
|
1746
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1747
|
+
#
|
|
1748
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1749
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1750
|
+
class DeleteGatewayAdvertisedRouteRequest
|
|
1751
|
+
include ::Google::Protobuf::MessageExts
|
|
1752
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1375
1755
|
# @!attribute [rw] network
|
|
1376
1756
|
# @return [::String]
|
|
1377
1757
|
# Immutable. The URI of the Service Consumer VPC that the Producer VPC is
|
|
@@ -1393,14 +1773,14 @@ module Google
|
|
|
1393
1773
|
# @!attribute [rw] include_export_ranges
|
|
1394
1774
|
# @return [::Array<::String>]
|
|
1395
1775
|
# Optional. IP ranges allowed to be included from peering.
|
|
1396
|
-
# @!attribute [
|
|
1776
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1397
1777
|
# @return [::Array<::String>]
|
|
1398
|
-
#
|
|
1399
|
-
#
|
|
1778
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1779
|
+
# administrator's approval.
|
|
1400
1780
|
# @!attribute [r] proposed_exclude_export_ranges
|
|
1401
1781
|
# @return [::Array<::String>]
|
|
1402
1782
|
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1403
|
-
#
|
|
1783
|
+
# administrator's approval.
|
|
1404
1784
|
class LinkedProducerVpcNetwork
|
|
1405
1785
|
include ::Google::Protobuf::MessageExts
|
|
1406
1786
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1490,6 +1870,24 @@ module Google
|
|
|
1490
1870
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1491
1871
|
end
|
|
1492
1872
|
|
|
1873
|
+
# A route next hop that leads to a spoke resource.
|
|
1874
|
+
# @!attribute [rw] uri
|
|
1875
|
+
# @return [::String]
|
|
1876
|
+
# The URI of the spoke resource.
|
|
1877
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1878
|
+
# @return [::Boolean]
|
|
1879
|
+
# Indicates whether site-to-site data transfer is allowed for this
|
|
1880
|
+
# spoke resource. Data transfer is available only in
|
|
1881
|
+
# [supported
|
|
1882
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1883
|
+
# Whether this route is accessible to other hybrid spokes with site-to-site
|
|
1884
|
+
# data transfer enabled. If this is false, the route is only accessible to
|
|
1885
|
+
# VPC spokes of the connected Hub.
|
|
1886
|
+
class NextHopSpoke
|
|
1887
|
+
include ::Google::Protobuf::MessageExts
|
|
1888
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1889
|
+
end
|
|
1890
|
+
|
|
1493
1891
|
# Summarizes information about the spokes associated with a hub.
|
|
1494
1892
|
# The summary includes a count of spokes according to type
|
|
1495
1893
|
# and according to state. If any spokes are inactive,
|
|
@@ -1598,18 +1996,6 @@ module Google
|
|
|
1598
1996
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1599
1997
|
end
|
|
1600
1998
|
|
|
1601
|
-
# Supported features for a location
|
|
1602
|
-
module LocationFeature
|
|
1603
|
-
# No publicly supported feature in this location
|
|
1604
|
-
LOCATION_FEATURE_UNSPECIFIED = 0
|
|
1605
|
-
|
|
1606
|
-
# Site-to-cloud spokes are supported in this location
|
|
1607
|
-
SITE_TO_CLOUD_SPOKES = 1
|
|
1608
|
-
|
|
1609
|
-
# Site-to-site spokes are supported in this location
|
|
1610
|
-
SITE_TO_SITE_SPOKES = 2
|
|
1611
|
-
end
|
|
1612
|
-
|
|
1613
1999
|
# The route's type
|
|
1614
2000
|
module RouteType
|
|
1615
2001
|
# No route type information specified
|
|
@@ -1627,6 +2013,10 @@ module Google
|
|
|
1627
2013
|
# derived from Border Gateway Protocol (BGP) advertisements received from an
|
|
1628
2014
|
# NCC hybrid spoke.
|
|
1629
2015
|
DYNAMIC_ROUTE = 3
|
|
2016
|
+
|
|
2017
|
+
# The route leads to a destination within the Private Service Connect
|
|
2018
|
+
# Global Google API range of the VPC network.
|
|
2019
|
+
PSC_GLOBAL_GAPI = 4
|
|
1630
2020
|
end
|
|
1631
2021
|
|
|
1632
2022
|
# The State enum represents the lifecycle stage of a Network Connectivity
|
|
@@ -1684,6 +2074,9 @@ module Google
|
|
|
1684
2074
|
# Spokes associated with VPC networks.
|
|
1685
2075
|
VPC_NETWORK = 4
|
|
1686
2076
|
|
|
2077
|
+
# Spokes that are NCC gateways.
|
|
2078
|
+
GATEWAY = 5
|
|
2079
|
+
|
|
1687
2080
|
# Spokes that are backed by a producer VPC network.
|
|
1688
2081
|
PRODUCER_VPC_NETWORK = 7
|
|
1689
2082
|
end
|
|
@@ -1712,6 +2105,28 @@ module Google
|
|
|
1712
2105
|
# automatically created along with hub creation. Spokes have to join one of
|
|
1713
2106
|
# the groups during creation.
|
|
1714
2107
|
STAR = 3
|
|
2108
|
+
|
|
2109
|
+
# Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and
|
|
2110
|
+
# 'untrusted') that are automatically created along with hub creation.
|
|
2111
|
+
HYBRID_INSPECTION = 4
|
|
2112
|
+
end
|
|
2113
|
+
|
|
2114
|
+
# Supported features for a location
|
|
2115
|
+
module LocationFeature
|
|
2116
|
+
# No publicly supported feature in this location
|
|
2117
|
+
LOCATION_FEATURE_UNSPECIFIED = 0
|
|
2118
|
+
|
|
2119
|
+
# Site-to-cloud spokes are supported in this location
|
|
2120
|
+
SITE_TO_CLOUD_SPOKES = 1
|
|
2121
|
+
|
|
2122
|
+
# Site-to-site spokes are supported in this location
|
|
2123
|
+
SITE_TO_SITE_SPOKES = 2
|
|
2124
|
+
|
|
2125
|
+
# Gateway spokes are supported in this location.
|
|
2126
|
+
GATEWAY_SPOKES = 3
|
|
2127
|
+
|
|
2128
|
+
# Supports transports in this location.
|
|
2129
|
+
TRANSPORTS = 4
|
|
1715
2130
|
end
|
|
1716
2131
|
end
|
|
1717
2132
|
end
|