Reference documentation and code samples for the App Engine v1 API class Firewall.
Firewall resources are used to define a collection of access control rules
for an Application. Each rule is defined with a position which specifies
the rule's order in the sequence of rules, an IP range to be matched against
requests, and an action to take upon matching requests.
Every request is evaluated against the Firewall rules in priority order.
Processesing stops at the first rule which matches the request's IP address.
A final rule always specifies an action that applies to all remaining
IP addresses. The default final rule for a newly-created application will be
set to "allow" if not otherwise specified by the user.
public static void BindService(ServiceBinderBase serviceBinder, Firewall.FirewallBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFirewall\u003c/code\u003e class in the Google.Cloud.AppEngine.V1 API allows you to manage access control rules for an App Engine application.\u003c/p\u003e\n"],["\u003cp\u003eFirewall rules are evaluated in order, stopping at the first rule that matches the request's IP address, with a final default rule for all remaining IPs.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.4.0, while the current page context is version 2.3.0 of the Google.Cloud.AppEngine.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirewall\u003c/code\u003e class provides methods like \u003ccode\u003eBindService\u003c/code\u003e to define and register service implementations for server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe Firewall class inherits from the object class, with the listed inherited members of GetHashCode(), GetType(), MemberwiseClone(), and ToString().\u003c/p\u003e\n"]]],[],null,[]]