Skip to content

Commit b1a9eef

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field remote_peering_network_type is added to message google.cloud.edgenetwork.v1.Interconnect
feat: A new field `peering_type` is added to message `google.cloud.edgenetwork.v1.InterconnectAttachment` PiperOrigin-RevId: 824727309
1 parent 7a87bf0 commit b1a9eef

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

google/cloud/edgenetwork/v1/resources.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,19 @@ enum ResourceState {
5353
STATE_DELETING = 5;
5454
}
5555

56+
// Defines the remote peering destination for the interface. It is required
57+
// when peering separation is enabled.
58+
enum RemotePeeringNetworkType {
59+
// Unspecified.
60+
REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED = 0;
61+
62+
// Customer's trusted internal network.
63+
REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL = 1;
64+
65+
// Customer's untrust network that has internet access.
66+
REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET = 2;
67+
}
68+
5669
// A Google Edge Cloud zone.
5770
message Zone {
5871
option (google.api.resource) = {
@@ -231,6 +244,11 @@ message Interconnect {
231244
// interconnect.
232245
repeated string physical_ports = 9
233246
[(google.api.field_behavior) = OUTPUT_ONLY];
247+
248+
// Optional. The remote peering network type of the interconnect. It is
249+
// required when peering separation is enabled.
250+
RemotePeeringNetworkType remote_peering_network_type = 10
251+
[(google.api.field_behavior) = OPTIONAL];
234252
}
235253

236254
// Message describing InterconnectAttachment object
@@ -287,6 +305,11 @@ message InterconnectAttachment {
287305

288306
// Output only. Current stage of the resource to the device by config push.
289307
ResourceState state = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
308+
309+
// Optional. The remote peering network type of the underlying interconnect.
310+
// It is required when peering separation is enabled.
311+
RemotePeeringNetworkType peering_type = 12
312+
[(google.api.field_behavior) = OPTIONAL];
290313
}
291314

292315
// Message describing Router object

0 commit comments

Comments
 (0)