public static final class FirewallGrpc.FirewallFutureStub extends io.grpc.stub.AbstractFutureStub<FirewallGrpc.FirewallFutureStub>
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.
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<BatchUpdateIngressRulesResponse> |
batchUpdateIngressRules(BatchUpdateIngressRulesRequest request)
Replaces the entire firewall ruleset in one bulk operation.
|
protected FirewallGrpc.FirewallFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
createIngressRule(CreateIngressRuleRequest request)
Creates a firewall rule for the application.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteIngressRule(DeleteIngressRuleRequest request)
Deletes the specified firewall rule.
|
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
getIngressRule(GetIngressRuleRequest request)
Gets the specified firewall rule.
|
com.google.common.util.concurrent.ListenableFuture<ListIngressRulesResponse> |
listIngressRules(ListIngressRulesRequest request)
Lists the firewall rules of an application.
|
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
updateIngressRule(UpdateIngressRuleRequest request)
Updates the specified firewall rule.
|
protected FirewallGrpc.FirewallFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<FirewallGrpc.FirewallFutureStub>public com.google.common.util.concurrent.ListenableFuture<ListIngressRulesResponse> listIngressRules(ListIngressRulesRequest request)
Lists the firewall rules of an application.
public com.google.common.util.concurrent.ListenableFuture<BatchUpdateIngressRulesResponse> batchUpdateIngressRules(BatchUpdateIngressRulesRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<FirewallRule> createIngressRule(CreateIngressRuleRequest request)
Creates a firewall rule for the application.
public com.google.common.util.concurrent.ListenableFuture<FirewallRule> getIngressRule(GetIngressRuleRequest request)
Gets the specified firewall rule.
public com.google.common.util.concurrent.ListenableFuture<FirewallRule> updateIngressRule(UpdateIngressRuleRequest request)
Updates the specified firewall rule.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteIngressRule(DeleteIngressRuleRequest request)
Deletes the specified firewall rule.
Copyright © 2023 Google LLC. All rights reserved.