|
24 | 24 | package="google.cloud.edgenetwork.v1", |
25 | 25 | manifest={ |
26 | 26 | "ResourceState", |
| 27 | + "RemotePeeringNetworkType", |
27 | 28 | "Zone", |
28 | 29 | "Network", |
29 | 30 | "Subnet", |
@@ -70,6 +71,24 @@ class ResourceState(proto.Enum): |
70 | 71 | STATE_DELETING = 5 |
71 | 72 |
|
72 | 73 |
|
| 74 | +class RemotePeeringNetworkType(proto.Enum): |
| 75 | + r"""Defines the remote peering destination for the interface. It |
| 76 | + is required when peering separation is enabled. |
| 77 | +
|
| 78 | + Values: |
| 79 | + REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED (0): |
| 80 | + Unspecified. |
| 81 | + REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL (1): |
| 82 | + Customer's trusted internal network. |
| 83 | + REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET (2): |
| 84 | + Customer's untrust network that has internet |
| 85 | + access. |
| 86 | + """ |
| 87 | + REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED = 0 |
| 88 | + REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL = 1 |
| 89 | + REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET = 2 |
| 90 | + |
| 91 | + |
73 | 92 | class Zone(proto.Message): |
74 | 93 | r"""A Google Edge Cloud zone. |
75 | 94 |
|
@@ -312,6 +331,10 @@ class Interconnect(proto.Message): |
312 | 331 | physical_ports (MutableSequence[str]): |
313 | 332 | Output only. Physical ports (e.g., |
314 | 333 | TenGigE0/0/0/1) that form the interconnect. |
| 334 | + remote_peering_network_type (google.cloud.edgenetwork_v1.types.RemotePeeringNetworkType): |
| 335 | + Optional. The remote peering network type of |
| 336 | + the interconnect. It is required when peering |
| 337 | + separation is enabled. |
315 | 338 | """ |
316 | 339 |
|
317 | 340 | class InterconnectType(proto.Enum): |
@@ -366,6 +389,11 @@ class InterconnectType(proto.Enum): |
366 | 389 | proto.STRING, |
367 | 390 | number=9, |
368 | 391 | ) |
| 392 | + remote_peering_network_type: "RemotePeeringNetworkType" = proto.Field( |
| 393 | + proto.ENUM, |
| 394 | + number=10, |
| 395 | + enum="RemotePeeringNetworkType", |
| 396 | + ) |
369 | 397 |
|
370 | 398 |
|
371 | 399 | class InterconnectAttachment(proto.Message): |
@@ -404,6 +432,10 @@ class InterconnectAttachment(proto.Message): |
404 | 432 | state (google.cloud.edgenetwork_v1.types.ResourceState): |
405 | 433 | Output only. Current stage of the resource to |
406 | 434 | the device by config push. |
| 435 | + peering_type (google.cloud.edgenetwork_v1.types.RemotePeeringNetworkType): |
| 436 | + Optional. The remote peering network type of |
| 437 | + the underlying interconnect. It is required when |
| 438 | + peering separation is enabled. |
407 | 439 | """ |
408 | 440 |
|
409 | 441 | name: str = proto.Field( |
@@ -450,6 +482,11 @@ class InterconnectAttachment(proto.Message): |
450 | 482 | number=10, |
451 | 483 | enum="ResourceState", |
452 | 484 | ) |
| 485 | + peering_type: "RemotePeeringNetworkType" = proto.Field( |
| 486 | + proto.ENUM, |
| 487 | + number=12, |
| 488 | + enum="RemotePeeringNetworkType", |
| 489 | + ) |
453 | 490 |
|
454 | 491 |
|
455 | 492 | class Router(proto.Message): |
|
0 commit comments