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/v1/{name=apps/*/firewall/ingressRules}:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Name of the Firewall collection to set. Example: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"ingressRules": [
{
object ( |
Fields | |
---|---|
ingressRules[] |
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 ( |
Fields | |
---|---|
ingressRules[] |
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.