Interface FirewallGrpc.AsyncService

  • All Known Implementing Classes:
    FirewallGrpc.FirewallImplBase
    Enclosing class:
    FirewallGrpc

    public static interface FirewallGrpc.AsyncService
     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.
     
    • Method Detail

      • batchUpdateIngressRules

        default 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

        default void createIngressRule​(CreateIngressRuleRequest request,
                                       io.grpc.stub.StreamObserver<FirewallRule> responseObserver)
         Creates a firewall rule for the application.
         
      • getIngressRule

        default void getIngressRule​(GetIngressRuleRequest request,
                                    io.grpc.stub.StreamObserver<FirewallRule> responseObserver)
         Gets the specified firewall rule.
         
      • updateIngressRule

        default void updateIngressRule​(UpdateIngressRuleRequest request,
                                       io.grpc.stub.StreamObserver<FirewallRule> responseObserver)
         Updates the specified firewall rule.
         
      • deleteIngressRule

        default void deleteIngressRule​(DeleteIngressRuleRequest request,
                                       io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified firewall rule.