Google Cloud VPC Firewalls API

Manage firewall rules for VPC networks

OpenAPI Specification

google-cloud-vpc-firewalls-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Google Cloud VPC Firewalls 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: Firewalls
  description: Manage firewall rules for VPC networks
paths:
  /projects/{project}/global/firewalls:
    get:
      operationId: listFirewalls
      summary: Google Cloud VPC List firewall rules
      description: Retrieves the list of firewall rules available to the specified project.
      tags:
      - Firewalls
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FirewallList'
components:
  schemas:
    FirewallList:
      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