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.batchUpdate

Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.

If the final rule does not match traffic with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

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

  • appengine.applications.update

Request body

The request body contains data with the following structure:

JSON representation
{
  "ingressRules": [
    {
      object (FirewallRule)
    }
  ]
}
Fields
ingressRules[]

object (FirewallRule)

A list of FirewallRules to replace the existing set.

Response body

If successful, the response body contains data with the following structure:

Response message for Firewall.UpdateAllIngressRules.

JSON representation
{
  "ingressRules": [
    {
      object (FirewallRule)
    }
  ]
}
Fields
ingressRules[]

object (FirewallRule)

The full list of ingress FirewallRules for this application.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.