2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public static class Firewall

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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Firewall

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AppEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.md.txt)

## Assembly

Google.Cloud.AppEngine.V1.dll

## Methods

### BindService(FirewallBase)

    public static ServerServiceDefinition BindService(Firewall.FirewallBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `FirewallFirewallBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ServerServiceDefinition` |   |

### BindService(ServiceBinderBase, FirewallBase)

    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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `ServiceBinderBase` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `FirewallFirewallBase` An object implementing the server-side handling logic. |