Method: apps.firewall.ingressRules.create

Creates a firewall rule for the application.

HTTP request

POST https://appengine.googleapis.com/v1/{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.