Class FirewallGrpc (2.2.0)

public final class FirewallGrpc

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 > FirewallGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getBatchUpdateIngressRulesMethod()

public static MethodDescriptor<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> getBatchUpdateIngressRulesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse>

getCreateIngressRuleMethod()

public static MethodDescriptor<CreateIngressRuleRequest,FirewallRule> getCreateIngressRuleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateIngressRuleRequest,FirewallRule>

getDeleteIngressRuleMethod()

public static MethodDescriptor<DeleteIngressRuleRequest,Empty> getDeleteIngressRuleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteIngressRuleRequest,Empty>

getGetIngressRuleMethod()

public static MethodDescriptor<GetIngressRuleRequest,FirewallRule> getGetIngressRuleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetIngressRuleRequest,FirewallRule>

getListIngressRulesMethod()

public static MethodDescriptor<ListIngressRulesRequest,ListIngressRulesResponse> getListIngressRulesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListIngressRulesRequest,ListIngressRulesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateIngressRuleMethod()

public static MethodDescriptor<UpdateIngressRuleRequest,FirewallRule> getUpdateIngressRuleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateIngressRuleRequest,FirewallRule>

newBlockingStub(Channel channel)

public static FirewallGrpc.FirewallBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FirewallGrpc.FirewallBlockingStub

newFutureStub(Channel channel)

public static FirewallGrpc.FirewallFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FirewallGrpc.FirewallFutureStub

newStub(Channel channel)

public static FirewallGrpc.FirewallStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FirewallGrpc.FirewallStub