openapi: 3.1.0 info: title: Google Cloud VPC Firewalls Subnetworks API description: Provides programmatic access to manage virtual private cloud networks, subnets, firewall rules, routes, and peering connections within Google Cloud. version: v1 contact: name: Google Cloud url: https://cloud.google.com/vpc/docs servers: - url: https://compute.googleapis.com/compute/v1 description: Google Cloud VPC production endpoint security: - oauth2: - https://www.googleapis.com/auth/compute tags: - name: Subnetworks description: Manage subnetworks within VPC networks paths: /projects/{project}/regions/{region}/subnetworks: get: operationId: listSubnetworks summary: Google Cloud VPC List subnetworks description: Retrieves the list of subnetworks available in the specified region. tags: - Subnetworks parameters: - name: project in: path required: true schema: type: string - name: region in: path required: true schema: type: string responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/SubnetworkList' components: schemas: SubnetworkList: 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