[BindServiceMethod(typeof(Firewall), "BindService")]
public abstract class FirewallBase
Reference documentation and code samples for the App Engine v1 API class Firewall.FirewallBase.
Base class for server-side implementations of Firewall
Namespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Methods
BatchUpdateIngressRules(BatchUpdateIngressRulesRequest, ServerCallContext)
public virtual Task<BatchUpdateIngressRulesResponse> BatchUpdateIngressRules(BatchUpdateIngressRulesRequest request, ServerCallContext context)
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.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateIngressRulesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<BatchUpdateIngressRulesResponse> | The response to send back to the client (wrapped by a task). |
CreateIngressRule(CreateIngressRuleRequest, ServerCallContext)
public virtual Task<FirewallRule> CreateIngressRule(CreateIngressRuleRequest request, ServerCallContext context)
Creates a firewall rule for the application.
Parameters | |
---|---|
Name | Description |
request | CreateIngressRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallRule> | The response to send back to the client (wrapped by a task). |
DeleteIngressRule(DeleteIngressRuleRequest, ServerCallContext)
public virtual Task<Empty> DeleteIngressRule(DeleteIngressRuleRequest request, ServerCallContext context)
Deletes the specified firewall rule.
Parameters | |
---|---|
Name | Description |
request | DeleteIngressRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetIngressRule(GetIngressRuleRequest, ServerCallContext)
public virtual Task<FirewallRule> GetIngressRule(GetIngressRuleRequest request, ServerCallContext context)
Gets the specified firewall rule.
Parameters | |
---|---|
Name | Description |
request | GetIngressRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallRule> | The response to send back to the client (wrapped by a task). |
ListIngressRules(ListIngressRulesRequest, ServerCallContext)
public virtual Task<ListIngressRulesResponse> ListIngressRules(ListIngressRulesRequest request, ServerCallContext context)
Lists the firewall rules of an application.
Parameters | |
---|---|
Name | Description |
request | ListIngressRulesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListIngressRulesResponse> | The response to send back to the client (wrapped by a task). |
UpdateIngressRule(UpdateIngressRuleRequest, ServerCallContext)
public virtual Task<FirewallRule> UpdateIngressRule(UpdateIngressRuleRequest request, ServerCallContext context)
Updates the specified firewall rule.
Parameters | |
---|---|
Name | Description |
request | UpdateIngressRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallRule> | The response to send back to the client (wrapped by a task). |