Package com.google.appengine.v1
Class FirewallGrpc.FirewallStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<FirewallGrpc.FirewallStub>
com.google.appengine.v1.FirewallGrpc.FirewallStub
- Enclosing class:
- FirewallGrpc
public static final class FirewallGrpc.FirewallStub
extends io.grpc.stub.AbstractAsyncStub<FirewallGrpc.FirewallStub>
A stub to allow clients to do asynchronous 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidbatchUpdateIngressRules(BatchUpdateIngressRulesRequest request, io.grpc.stub.StreamObserver<BatchUpdateIngressRulesResponse> responseObserver) Replaces the entire firewall ruleset in one bulk operation.protected FirewallGrpc.FirewallStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateIngressRule(CreateIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Creates a firewall rule for the application.voiddeleteIngressRule(DeleteIngressRuleRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified firewall rule.voidgetIngressRule(GetIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Gets the specified firewall rule.voidlistIngressRules(ListIngressRulesRequest request, io.grpc.stub.StreamObserver<ListIngressRulesResponse> responseObserver) Lists the firewall rules of an application.voidupdateIngressRule(UpdateIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Updates the specified firewall rule.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<FirewallGrpc.FirewallStub>
-
listIngressRules
public void listIngressRules(ListIngressRulesRequest request, io.grpc.stub.StreamObserver<ListIngressRulesResponse> responseObserver) Lists the firewall rules of an application.
-
batchUpdateIngressRules
public void batchUpdateIngressRules(BatchUpdateIngressRulesRequest request, io.grpc.stub.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.
-
createIngressRule
public void createIngressRule(CreateIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Creates a firewall rule for the application.
-
getIngressRule
public void getIngressRule(GetIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Gets the specified firewall rule.
-
updateIngressRule
public void updateIngressRule(UpdateIngressRuleRequest request, io.grpc.stub.StreamObserver<FirewallRule> responseObserver) Updates the specified firewall rule.
-
deleteIngressRule
public void deleteIngressRule(DeleteIngressRuleRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified firewall rule.
-