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. GCP's 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"]],[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eInterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, specifically for version 2.13.0 of the API and going up to version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePortPairRemoteLocation\u003c/code\u003e enum has three possible values: \u003ccode\u003ePortPairMatchingRemoteLocation\u003c/code\u003e, which indicates that ports should be allocated in pairs within the same remote location, \u003ccode\u003ePortPairUnconstrainedRemoteLocation\u003c/code\u003e, allowing for redundant port pairs in different locations within the same city, and \u003ccode\u003eUndefinedPortPairRemoteLocation\u003c/code\u003e, a value indicating that no value is set.\u003c/p\u003e\n"],["\u003cp\u003eThe content lists multiple versions of the API, from version 1.0.0 up to 3.6.0 which is labeled as the most recent version available, all of which contain the same class, in the same location.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eInterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation\u003c/code\u003e is available in the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e and assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]