App Engine v1 API - Class Firewall.FirewallBase (2.3.0)

[BindServiceMethod(typeof(Firewall), "BindService")]
public abstract class Firewall.FirewallBase

Reference documentation and code samples for the App Engine v1 API class Firewall.FirewallBase.

Base class for server-side implementations of Firewall

Inheritance

object > Firewall.FirewallBase

Namespace

Google.Cloud.AppEngine.V1

Assembly

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
NameDescription
requestBatchUpdateIngressRulesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskBatchUpdateIngressRulesResponse

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
NameDescription
requestCreateIngressRuleRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskFirewallRule

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
NameDescription
requestDeleteIngressRuleRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

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
NameDescription
requestGetIngressRuleRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskFirewallRule

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
NameDescription
requestListIngressRulesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListIngressRulesResponse

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
NameDescription
requestUpdateIngressRuleRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskFirewallRule

The response to send back to the client (wrapped by a task).