Class FirewallGrpc.FirewallBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<FirewallGrpc.FirewallBlockingV2Stub>
com.google.appengine.v1.FirewallGrpc.FirewallBlockingV2Stub
Enclosing class:
FirewallGrpc

public static final class FirewallGrpc.FirewallBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<FirewallGrpc.FirewallBlockingV2Stub>
A stub to allow clients to do synchronous 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.
 
  • Method Details

    • build

      protected FirewallGrpc.FirewallBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<FirewallGrpc.FirewallBlockingV2Stub>
    • listIngressRules

      public ListIngressRulesResponse listIngressRules(ListIngressRulesRequest request) throws io.grpc.StatusException
       Lists the firewall rules of an application.
       
      Throws:
      io.grpc.StatusException
    • batchUpdateIngressRules

      public BatchUpdateIngressRulesResponse batchUpdateIngressRules(BatchUpdateIngressRulesRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • createIngressRule

      public FirewallRule createIngressRule(CreateIngressRuleRequest request) throws io.grpc.StatusException
       Creates a firewall rule for the application.
       
      Throws:
      io.grpc.StatusException
    • getIngressRule

      public FirewallRule getIngressRule(GetIngressRuleRequest request) throws io.grpc.StatusException
       Gets the specified firewall rule.
       
      Throws:
      io.grpc.StatusException
    • updateIngressRule

      public FirewallRule updateIngressRule(UpdateIngressRuleRequest request) throws io.grpc.StatusException
       Updates the specified firewall rule.
       
      Throws:
      io.grpc.StatusException
    • deleteIngressRule

      public com.google.protobuf.Empty deleteIngressRule(DeleteIngressRuleRequest request) throws io.grpc.StatusException
       Deletes the specified firewall rule.
       
      Throws:
      io.grpc.StatusException