public sealed class InterconnectRemoteLocationConstraints : IMessage<InterconnectRemoteLocationConstraints>, IEquatable<InterconnectRemoteLocationConstraints>, IDeepCloneable<InterconnectRemoteLocationConstraints>, IBufferMessage, IMessage
public string PortPairRemoteLocation { get; set; }
[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
Check the PortPairRemoteLocation enum for the list of possible values.
[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
Check the PortPairVlan enum for the list of possible values.
public InterconnectRemoteLocationConstraintsSubnetLengthRange SubnetLengthRange { get; set; }
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.
[[["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."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eInterconnectRemoteLocationConstraints\u003c/code\u003e is 3.6.0, as part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e library.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, providing functionalities such as deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors to create an instance of \u003ccode\u003eInterconnectRemoteLocationConstraints\u003c/code\u003e or clone it from another instance, as well as properties to check for the presence and value of port pair related fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInterconnectRemoteLocationConstraints\u003c/code\u003e includes properties like \u003ccode\u003ePortPairRemoteLocation\u003c/code\u003e and \u003ccode\u003ePortPairVlan\u003c/code\u003e, which define constraints for remote location and VLAN, respectively, and these properties can take on only a set list of values, such as \u003ccode\u003ePORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION\u003c/code\u003e or \u003ccode\u003ePORT_PAIR_UNCONSTRAINED_VLAN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubnetLengthRange\u003c/code\u003e is a property within this class that details the constraints on the IPv4 subnet length, specifying minimum and maximum values for compatibility, and it defaults to a range of 29-30.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class InterconnectRemoteLocationConstraints (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.InterconnectRemoteLocationConstraints)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints) \n\n public sealed class InterconnectRemoteLocationConstraints : IMessage\u003cInterconnectRemoteLocationConstraints\u003e, IEquatable\u003cInterconnectRemoteLocationConstraints\u003e, IDeepCloneable\u003cInterconnectRemoteLocationConstraints\u003e, IBufferMessage, IMessage\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e InterconnectRemoteLocationConstraints \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[InterconnectRemoteLocationConstraints](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[InterconnectRemoteLocationConstraints](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[InterconnectRemoteLocationConstraints](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints), [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### InterconnectRemoteLocationConstraints()\n\n public InterconnectRemoteLocationConstraints()\n\n### InterconnectRemoteLocationConstraints(InterconnectRemoteLocationConstraints)\n\n public InterconnectRemoteLocationConstraints(InterconnectRemoteLocationConstraints other)\n\nProperties\n----------\n\n### HasPortPairRemoteLocation\n\n public bool HasPortPairRemoteLocation { get; }\n\nGets whether the \"port_pair_remote_location\" field is set\n\n### HasPortPairVlan\n\n public bool HasPortPairVlan { get; }\n\nGets whether the \"port_pair_vlan\" field is set\n\n### PortPairRemoteLocation\n\n public string PortPairRemoteLocation { get; set; }\n\n\\[Output Only\\] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.\nCheck the PortPairRemoteLocation enum for the list of possible values.\n\n### PortPairVlan\n\n public string PortPairVlan { get; set; }\n\n\\[Output Only\\] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN\nCheck the PortPairVlan enum for the list of possible values.\n\n### SubnetLengthRange\n\n public InterconnectRemoteLocationConstraintsSubnetLengthRange SubnetLengthRange { get; set; }\n\n\\[Output Only\\] \\[min-length, max-length\\] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}."]]