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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月16日 UTC.