Firewalls: get

Requires authorization

Returns the specified firewall. Try it now.

Request

HTTP request

GET https://www.googleapis.com/compute/v1/projects/project/global/firewalls/firewall

Parameters

Parameter name Value Description
Path parameters
firewall string Name of the firewall rule to return.
project string Project ID for this request.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Firewalls resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Compute Engine