- 2.49.0 (latest)
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public abstract static class FirewallGrpc.FirewallImplBase implements BindableService
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.
Implements
io.grpc.BindableServiceConstructors
FirewallImplBase()
public FirewallImplBase()
Methods
batchUpdateIngressRules(BatchUpdateIngressRulesRequest request, StreamObserver<BatchUpdateIngressRulesResponse> responseObserver)
public void batchUpdateIngressRules(BatchUpdateIngressRulesRequest request, StreamObserver<BatchUpdateIngressRulesResponse> responseObserver)
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.
Name | Description |
request | BatchUpdateIngressRulesRequest |
responseObserver | io.grpc.stub.StreamObserver<BatchUpdateIngressRulesResponse> |
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createIngressRule(CreateIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
public void createIngressRule(CreateIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
Creates a firewall rule for the application.
Name | Description |
request | CreateIngressRuleRequest |
responseObserver | io.grpc.stub.StreamObserver<FirewallRule> |
deleteIngressRule(DeleteIngressRuleRequest request, StreamObserver<Empty> responseObserver)
public void deleteIngressRule(DeleteIngressRuleRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified firewall rule.
Name | Description |
request | DeleteIngressRuleRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
getIngressRule(GetIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
public void getIngressRule(GetIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
Gets the specified firewall rule.
Name | Description |
request | GetIngressRuleRequest |
responseObserver | io.grpc.stub.StreamObserver<FirewallRule> |
listIngressRules(ListIngressRulesRequest request, StreamObserver<ListIngressRulesResponse> responseObserver)
public void listIngressRules(ListIngressRulesRequest request, StreamObserver<ListIngressRulesResponse> responseObserver)
Lists the firewall rules of an application.
Name | Description |
request | ListIngressRulesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListIngressRulesResponse> |
updateIngressRule(UpdateIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
public void updateIngressRule(UpdateIngressRuleRequest request, StreamObserver<FirewallRule> responseObserver)
Updates the specified firewall rule.
Name | Description |
request | UpdateIngressRuleRequest |
responseObserver | io.grpc.stub.StreamObserver<FirewallRule> |