Google Cloud Interconnect InterconnectLocations API

Query available interconnect locations

OpenAPI Specification

google-cloud-interconnect-interconnectlocations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Google Cloud Interconnect InterconnectAttachments InterconnectLocations API
  description: Provides programmatic access to manage interconnect connections, attachments, and locations for hybrid cloud connectivity between on-premises networks and Google Cloud.
  version: v1
  contact:
    name: Google Cloud
    url: https://cloud.google.com/network-connectivity/docs/interconnect
servers:
- url: https://compute.googleapis.com/compute/v1
  description: Google Cloud Interconnect production endpoint
security:
- oauth2:
  - https://www.googleapis.com/auth/compute
tags:
- name: InterconnectLocations
  description: Query available interconnect locations
paths:
  /projects/{project}/global/interconnectLocations:
    get:
      operationId: listInterconnectLocations
      summary: Google Cloud Interconnect List interconnect locations
      description: Retrieves the list of interconnect locations available to the specified project.
      tags:
      - InterconnectLocations
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterconnectLocationList'
components:
  schemas:
    InterconnectLocationList:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
  securitySchemes:
    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/compute: Manage your Google Compute Engine resources
            https://www.googleapis.com/auth/cloud-platform: Full access to Google Cloud Platform resources