Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Method: apps.firewall.ingressRules.create

Creates a firewall rule for the application.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

Authorization requires the following IAM permission on the specified resource parent:

  • appengine.applications.update

Request body

The request body contains an instance of FirewallRule.

Response body

If successful, the response body contains a newly created instance of FirewallRule.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.