Google Cloud Compute Engine Interconnect Remote Locations API
The InterconnectRemoteLocations API from Google Cloud Compute Engine — 2 operation(s) for interconnectremotelocations.
The InterconnectRemoteLocations API from Google Cloud Compute Engine — 2 operation(s) for interconnectremotelocations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-cloud-compute-engine:google-cloud-compute-engine-interconnectremotelocations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Compute Engine Interconnect Remote Locations API
version: v1
description: Generated from Google's published Discovery document for Compute Engine API (compute v1, revision 20261106). 2 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://compute.googleapis.com
tags:
- name: InterconnectRemoteLocations
paths:
/compute/v1/projects/{project}/global/interconnectRemoteLocations:
get:
operationId: compute.interconnectRemoteLocations.list
summary: List interconnectRemoteLocations
description: 'Retrieves the list of interconnect remote locations available to the
specified project.'
parameters:
- name: project
in: path
required: true
description: Project ID for this request.
schema:
pattern: (?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))
type: string
- name: filter
in: query
required: false
description: 'A filter expression that filters resources listed in the response. Most
Compute resources support two types of filter expressions:
expressions that support regular expressions and expressions that follow
API improvement proposal AIP-160.
These two types of filter expressions cannot be mixed in one request.
If you want to use AIP-160, your expression must specify the field name, an
operator, and the value that you want to use for filtering. The value
must be a string, a number, or a boolean. The operator
must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
For example, if you are filtering Compute Engine instances, you can
exclude instances named `example-instance` by specifying
`name != example-instance`.
The `:*` comparison can be used to test whether a key has been defined.
For example, to find all objects with `owner` label use:
```
labels.owner:*
```
You can also filter nested fields. For example, you could specify
`scheduling.automaticRestart = false` to include instances only
if they are not scheduled for automatic restarts. You can use filtering
on nested fields to filter based onresource labels.
To filter on multiple expressions, provide each separate expression within
parentheses. For example:
```
(scheduling.automaticRestart = true)
(cpuPlatform = "Intel Skylake")
```
By default, each expression is an `AND` expression. However, you
can include `AND` and `OR` expressions explicitly.
For example:
```
(cpuPlatform = "Intel Skylake") OR
(cpuPlatform = "Intel Broadwell") AND
(scheduling.automaticRestart = true)
```
If you want to use a regular expression, use the `eq` (equal) or `ne`
(not equal) operator against a single un-parenthesized expression with or
without quotes or against multiple parenthesized expressions. Examples:
`fieldname eq unquoted literal`
`fieldname eq ''single quoted literal''`
`fieldname eq "double quoted literal"`
`(fieldname1 eq literal) (fieldname2 ne "literal")`
The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
The literal value must match the entire field.
For example, to filter for instances that do not end with name "instance",
you would use `name ne .*instance`.
You cannot combine constraints on multiple fields using regular
expressions.'
schema:
type: string
- name: maxResults
in: query
required: false
description: 'The maximum number of results per page that should be returned.
If the number of available results is larger than `maxResults`,
Compute Engine returns a `nextPageToken` that can be used to get
the next page of results in subsequent list requests. Acceptable values are
`0` to `500`, inclusive. (Default: `500`)'
schema:
format: uint32
minimum: 0
type: integer
default: '500'
- name: orderBy
in: query
required: false
description: 'Sorts list results by a certain order. By default, results
are returned in alphanumerical order based on the resource name.
You can also sort results in descending order based on the creation
timestamp using `orderBy="creationTimestamp desc"`. This sorts
results based on the `creationTimestamp` field in
reverse chronological order (newest result first). Use this to sort
resources like operations so that the newest operation is returned first.
Currently, only sorting by `name` or
`creationTimestamp desc` is supported.'
schema:
type: string
- name: pageToken
in: query
required: false
description: 'Specifies a page token to use. Set `pageToken` to the
`nextPageToken` returned by a previous list request to get
the next page of results.'
schema:
type: string
- name: returnPartialSuccess
in: query
required: false
description: 'Opt-in for partial success behavior which provides partial results in case
of failure. The default value is false.
For example, when partial success behavior is enabled, aggregatedList for a
single zone scope either returns all resources in the zone or no resources,
with an error code.'
schema:
type: boolean
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InterconnectRemoteLocationList'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/compute
- https://www.googleapis.com/auth/compute.readonly
- apiKey: []
tags:
- InterconnectRemoteLocations
/compute/v1/projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}:
get:
operationId: compute.interconnectRemoteLocations.get
summary: Get interconnectRemoteLocations
description: 'Returns the details for the specified interconnect remote location. Gets a
list of available interconnect remote locations by making alist() request.'
parameters:
- name: project
in: path
required: true
description: Project ID for this request.
schema:
pattern: (?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))
type: string
- name: interconnectRemoteLocation
in: path
required: true
description: Name of the interconnect remote location to return.
schema:
pattern: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}'
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InterconnectRemoteLocation'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/compute
- https://www.googleapis.com/auth/compute.readonly
- apiKey: []
tags:
- InterconnectRemoteLocations
components:
schemas:
InterconnectRemoteLocationConstraints:
type: object
properties:
portPairVlan:
readOnly: true
enum:
- PORT_PAIR_MATCHING_VLAN
- PORT_PAIR_UNCONSTRAINED_VLAN
description: 'Output only. [Output Only] Port pair VLAN constraints, which can take one of the
following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN'
type: string
portPairRemoteLocation:
type: string
description: 'Output only. [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.'
readOnly: true
enum:
- PORT_PAIR_MATCHING_REMOTE_LOCATION
- PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION
subnetLengthRange:
$ref: '#/components/schemas/InterconnectRemoteLocationConstraintsSubnetLengthRange'
description: "Output only. [Output Only]\n\n[min-length, max-length] \n\nThe minimum and maximum value (inclusive) for the IPv4 subnet\nlength.\n\n For example, an interconnectRemoteLocation for Azure has {min: 30,\nmax:\n30} because Azure requires /30 subnets. \n\nThis range specifies the values supported by both cloud providers.\nInterconnect currently supports /29 and /30 IPv4 subnet lengths. If a\nremote cloud has no constraint on IPv4 subnet length, the range would\nthus be {min: 29, max: 30}."
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange:
type: object
properties:
min:
type: integer
format: uint32
max:
type: integer
format: uint32
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
InterconnectRemoteLocation:
description: 'Represents a Cross-Cloud Interconnect Remote Location resource.
You can use this resource to find remote location details about an
Interconnect attachment (VLAN).'
properties:
maxLagSize100Gbps:
type: integer
format: int32
readOnly: true
description: 'Output only. [Output Only]
The maximum number of 100 Gbps ports supported in a link aggregation group
(LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed
max_lag_size_100_gbps.'
description:
description: Output only. [Output Only] An optional description of the resource.
readOnly: true
type: string
maxLagSize400Gbps:
type: integer
format: int32
description: 'Output only. [Output Only]
The maximum number of 400 Gbps ports supported in a link aggregation group
(LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed
max_lag_size_400_gbps.'
readOnly: true
creationTimestamp:
description: 'Output only. [Output Only] Creation timestamp inRFC3339
text format.'
readOnly: true
type: string
status:
description: "Output only. [Output Only] The status of this InterconnectRemoteLocation, which can take\none of the following values:\n \n - CLOSED: The InterconnectRemoteLocation is closed and is unavailable\n for provisioning new Cross-Cloud Interconnects. \n - AVAILABLE: The\n InterconnectRemoteLocation is available for provisioning new\n Cross-Cloud Interconnects."
enum:
- AVAILABLE
- CLOSED
type: string
readOnly: true
remoteService:
readOnly: true
description: 'Output only. [Output Only] Indicates the service provider present at the remote
location. Example values: "Amazon Web Services", "Microsoft Azure".'
type: string
facilityProviderFacilityId:
readOnly: true
type: string
description: 'Output only. [Output Only] A provider-assigned Identifier for this facility (e.g.,
Ashburn-DC1).'
name:
readOnly: true
description: Output only. [Output Only] Name of the resource.
type: string
maxLagSize10Gbps:
description: 'Output only. [Output Only]
The maximum number of 10 Gbps ports supported in a link aggregation group
(LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed
max_lag_size_10_gbps.'
readOnly: true
type: integer
format: int32
continent:
description: "Output only. [Output Only] Continent for this location, which can take one of the\nfollowing values:\n \n - AFRICA\n - ASIA_PAC\n - EUROPE\n - NORTH_AMERICA\n - SOUTH_AMERICA"
type: string
readOnly: true
enum:
- AFRICA
- ASIA_PAC
- EUROPE
- NORTH_AMERICA
- SOUTH_AMERICA
kind:
type: string
default: compute#interconnectRemoteLocation
readOnly: true
description: 'Output only. [Output Only] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote
locations.'
facilityProvider:
readOnly: true
type: string
description: Output only. [Output Only] The name of the provider for this facility (e.g., EQUINIX).
city:
description: 'Output only. [Output Only] Metropolitan area designator that indicates which city an
interconnect is located.
For example: "Chicago, IL", "Amsterdam, Netherlands".'
type: string
readOnly: true
permittedConnections:
readOnly: true
description: Output only. [Output Only] Permitted connections.
items:
$ref: '#/components/schemas/InterconnectRemoteLocationPermittedConnections'
type: array
address:
type: string
description: 'Output only. [Output Only] The postal address of the Point of Presence, each line in
the address is separated by a newline character.'
readOnly: true
selfLink:
readOnly: true
type: string
description: Output only. [Output Only] Server-defined URL for the resource.
id:
readOnly: true
description: 'Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.'
format: uint64
type: string
constraints:
$ref: '#/components/schemas/InterconnectRemoteLocationConstraints'
description: 'Output only. [Output Only] Constraints on the parameters for creating Cross-Cloud
Interconnect and associated InterconnectAttachments.'
attachmentConfigurationConstraints:
$ref: '#/components/schemas/InterconnectAttachmentConfigurationConstraints'
description: 'Output only. [Output Only] Subset of fields from InterconnectAttachment''s
|configurationConstraints| field that apply to all attachments for this
remote location.'
peeringdbFacilityId:
readOnly: true
description: 'Output only. [Output Only] The peeringdb identifier for this facility (corresponding
with a netfac type in peeringdb).'
type: string
lacp:
type: string
readOnly: true
description: 'Output only. [Output Only] Link Aggregation Control Protocol (LACP) constraints, which
can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED'
enum:
- LACP_SUPPORTED
- LACP_UNSUPPORTED
type: object
InterconnectRemoteLocationPermittedConnections:
type: object
properties:
interconnectLocation:
type: string
readOnly: true
description: 'Output only. [Output Only] URL of an Interconnect location that is permitted to
connect to this Interconnect remote location.'
InterconnectAttachmentConfigurationConstraints:
type: object
properties:
bgpPeerAsnRanges:
readOnly: true
type: array
description: 'Output only. [Output Only] List of ASN ranges that the remote location is known to
support. Formatted as an array of inclusive ranges {min: min-value, max:
max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}]
allows the peer ASN to be 123 or anything in the range 64512-65534.
This field is only advisory. Although the API accepts other ranges, these
are the ranges that we recommend.'
items:
$ref: '#/components/schemas/InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange'
bgpMd5:
enum:
- MD5_OPTIONAL
- MD5_REQUIRED
- MD5_UNSUPPORTED
readOnly: true
description: 'Output only. [Output Only] Whether the attachment''s BGP session
requires/allows/disallows BGP MD5 authentication. This can take one of
the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED.
For example, a Cross-Cloud Interconnect connection to a remote cloud
provider that requires BGP MD5 authentication has the
interconnectRemoteLocation attachment_configuration_constraints.bgp_md5
field set to MD5_REQUIRED, and that property is propagated to the
attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is
returned if MD5 is requested.'
type: string
InterconnectRemoteLocationConstraintsSubnetLengthRange:
properties:
min:
type: integer
format: int32
max:
type: integer
format: int32
type: object
InterconnectRemoteLocationList:
type: object
description: 'Response to the list request, and contains a list of interconnect remote
locations.'
properties:
id:
description: '[Output Only] Unique identifier for the resource; defined by the server.'
type: string
kind:
type: string
description: 'Output only. [Output Only] Type of resource. Alwayscompute#interconnectRemoteLocationList for lists of
interconnect remote locations.'
default: compute#interconnectRemoteLocationList
readOnly: true
items:
items:
$ref: '#/components/schemas/InterconnectRemoteLocation'
description: A list of InterconnectRemoteLocation resources.
type: array
selfLink:
description: Output only. [Output Only] Server-defined URL for this resource.
readOnly: true
type: string
warning:
properties:
data:
type: array
items:
type: object
properties:
value:
description: '[Output Only] A warning data value corresponding to the key.'
type: string
key:
description: '[Output Only] A key that provides more detail on the warning being
returned. For example, for warnings where there are no results in a list
request for a particular zone, this key might be scope and
the key value might be the zone name. Other examples might be a key
indicating a deprecated resource and a suggested replacement, or a
warning about invalid network settings (for example, if an instance
attempts to perform IP forwarding but is not enabled for IP forwarding).'
type: string
description: "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }]"
message:
type: string
description: '[Output Only] A human-readable description of the warning code.'
code:
description: '[Output Only] A warning code, if applicable. For example, Compute
Engine returns NO_RESULTS_ON_PAGE if there
are no results in the response.'
type: string
enum:
- CLEANUP_FAILED
- DEPRECATED_RESOURCE_USED
- DEPRECATED_TYPE_USED
- DISK_SIZE_LARGER_THAN_IMAGE_SIZE
- EXPERIMENTAL_TYPE_USED
- EXTERNAL_API_WARNING
- FIELD_VALUE_OVERRIDEN
- INJECTED_KERNELS_DEPRECATED
- INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB
- LARGE_DEPLOYMENT_WARNING
- LIST_OVERHEAD_QUOTA_EXCEED
- MISSING_TYPE_DEPENDENCY
- NEXT_HOP_ADDRESS_NOT_ASSIGNED
- NEXT_HOP_CANNOT_IP_FORWARD
- NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE
- NEXT_HOP_INSTANCE_NOT_FOUND
- NEXT_HOP_INSTANCE_NOT_ON_NETWORK
- NEXT_HOP_NOT_RUNNING
- NOT_CRITICAL_ERROR
- NO_RESULTS_ON_PAGE
- PARTIAL_SUCCESS
- QUOTA_INFO_UNAVAILABLE
- REQUIRED_TOS_AGREEMENT
- RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING
- RESOURCE_NOT_DELETED
- SCHEMA_VALIDATION_IGNORED
- SINGLE_INSTANCE_PROPERTY_TEMPLATE
- UNDECLARED_PROPERTIES
- UNREACHABLE
description: '[Output Only] Informational warning message.'
type: object
nextPageToken:
description: '[Output Only] This token lets you get the next page of results for
list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
the query parameter pageToken in the next list request.
Subsequent list requests will have their own nextPageToken to
continue paging through the results.'
type: string
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/devstorage.read_only: View your data in Google Cloud Storage
https://www.googleapis.com/auth/compute: View and manage your Google Compute Engine resources
https://www.googleapis.com/auth/devstorage.read_write: Manage your data in Cloud Storage and see the email address of your Google Account
https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
https://www.googleapis.com/auth/compute.readonly: View your Google Compute Engine resources
https://www.googleapis.com/auth/devstorage.full_control: Manage your data and permissions in Cloud Storage and see the email address for your Google Account
externalDocs:
url: https://cloud.google.com/compute/
x-provenance:
method: harvested
publisher: Google
source: https://www.googleapis.com/discovery/v1/apis/compute/v1/rest
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)