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.

Method: apps.firewall.ingressRules.create

Creates a firewall rule for the application.

HTTP request

POST https://appengine.googleapis.com/v1beta/{parent=apps/*}/firewall/ingressRules

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.