public sealed class NetworkPeeringConnectionStatusTrafficConfiguration : IMessage<NetworkPeeringConnectionStatusTrafficConfiguration>, IEquatable<NetworkPeeringConnectionStatusTrafficConfiguration>, IDeepCloneable<NetworkPeeringConnectionStatusTrafficConfiguration>, IBufferMessage, IMessage
Which IP version(s) of traffic and routes are being imported or exported between peer networks.
Check the StackType enum for the list of possible values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[],[],null,["# Compute Engine v1 API - Class NetworkPeeringConnectionStatusTrafficConfiguration (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration) \n\n public sealed class NetworkPeeringConnectionStatusTrafficConfiguration : IMessage\u003cNetworkPeeringConnectionStatusTrafficConfiguration\u003e, IEquatable\u003cNetworkPeeringConnectionStatusTrafficConfiguration\u003e, IDeepCloneable\u003cNetworkPeeringConnectionStatusTrafficConfiguration\u003e, IBufferMessage, IMessage\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkPeeringConnectionStatusTrafficConfiguration \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkPeeringConnectionStatusTrafficConfiguration](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkPeeringConnectionStatusTrafficConfiguration](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkPeeringConnectionStatusTrafficConfiguration](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkPeeringConnectionStatusTrafficConfiguration), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nConstructors\n------------\n\n### NetworkPeeringConnectionStatusTrafficConfiguration()\n\n public NetworkPeeringConnectionStatusTrafficConfiguration()\n\n### NetworkPeeringConnectionStatusTrafficConfiguration(NetworkPeeringConnectionStatusTrafficConfiguration)\n\n public NetworkPeeringConnectionStatusTrafficConfiguration(NetworkPeeringConnectionStatusTrafficConfiguration other)\n\nProperties\n----------\n\n### ExportCustomRoutesToPeer\n\n public bool ExportCustomRoutesToPeer { get; set; }\n\nWhether custom routes are being exported to the peer network.\n\n### ExportSubnetRoutesWithPublicIpToPeer\n\n public bool ExportSubnetRoutesWithPublicIpToPeer { get; set; }\n\nWhether subnet routes with public IP ranges are being exported to the peer network.\n\n### HasExportCustomRoutesToPeer\n\n public bool HasExportCustomRoutesToPeer { get; }\n\nGets whether the \"export_custom_routes_to_peer\" field is set\n\n### HasExportSubnetRoutesWithPublicIpToPeer\n\n public bool HasExportSubnetRoutesWithPublicIpToPeer { get; }\n\nGets whether the \"export_subnet_routes_with_public_ip_to_peer\" field is set\n\n### HasImportCustomRoutesFromPeer\n\n public bool HasImportCustomRoutesFromPeer { get; }\n\nGets whether the \"import_custom_routes_from_peer\" field is set\n\n### HasImportSubnetRoutesWithPublicIpFromPeer\n\n public bool HasImportSubnetRoutesWithPublicIpFromPeer { get; }\n\nGets whether the \"import_subnet_routes_with_public_ip_from_peer\" field is set\n\n### HasStackType\n\n public bool HasStackType { get; }\n\nGets whether the \"stack_type\" field is set\n\n### ImportCustomRoutesFromPeer\n\n public bool ImportCustomRoutesFromPeer { get; set; }\n\nWhether custom routes are being imported from the peer network.\n\n### ImportSubnetRoutesWithPublicIpFromPeer\n\n public bool ImportSubnetRoutesWithPublicIpFromPeer { get; set; }\n\nWhether subnet routes with public IP ranges are being imported from the peer network.\n\n### StackType\n\n public string StackType { get; set; }\n\nWhich IP version(s) of traffic and routes are being imported or exported between peer networks.\nCheck the StackType enum for the list of possible values."]]