Reference documentation and code samples for the Compute Engine v1 API enum InterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation.
[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.
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
PortPairUnconstrainedRemoteLocation
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.
UndefinedPortPairRemoteLocation
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eInterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation\u003c/code\u003e is 3.6.0, and previous versions are available, ranging from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation\u003c/code\u003e is a Compute Engine v1 API enum used in the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eInterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation\u003c/code\u003e has three fields: \u003ccode\u003ePortPairMatchingRemoteLocation\u003c/code\u003e, \u003ccode\u003ePortPairUnconstrainedRemoteLocation\u003c/code\u003e, and \u003ccode\u003eUndefinedPortPairRemoteLocation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePortPairMatchingRemoteLocation\u003c/code\u003e signifies that remote cloud providers allocate ports in pairs, necessitating users to choose the same remote location for both ports, while \u003ccode\u003ePortPairUnconstrainedRemoteLocation\u003c/code\u003e allows a redundant pair of Cross-Cloud Interconnects to use different remote locations within the same city.\u003c/p\u003e\n"],["\u003cp\u003eThis enum is in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is located within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]