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.