public static final class FirewallGrpc.FirewallFutureStub extends AbstractFutureStub<FirewallGrpc.FirewallFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service 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
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
FirewallGrpc.FirewallFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchUpdateIngressRules(BatchUpdateIngressRulesRequest request)
public 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.
build(Channel channel, CallOptions callOptions)
protected FirewallGrpc.FirewallFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createIngressRule(CreateIngressRuleRequest request)
public ListenableFuture<FirewallRule> createIngressRule(CreateIngressRuleRequest request)
Creates a firewall rule for the application.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
|
deleteIngressRule(DeleteIngressRuleRequest request)
public ListenableFuture<Empty> deleteIngressRule(DeleteIngressRuleRequest request)
Deletes the specified firewall rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getIngressRule(GetIngressRuleRequest request)
public ListenableFuture<FirewallRule> getIngressRule(GetIngressRuleRequest request)
Gets the specified firewall rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
|
listIngressRules(ListIngressRulesRequest request)
public ListenableFuture<ListIngressRulesResponse> listIngressRules(ListIngressRulesRequest request)
Lists the firewall rules of an application.
updateIngressRule(UpdateIngressRuleRequest request)
public ListenableFuture<FirewallRule> updateIngressRule(UpdateIngressRuleRequest request)
Updates the specified firewall rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<FirewallRule> |
|