Class Firewalls.FirewallsBase (1.1.0)

[BindServiceMethod(typeof(Firewalls), "BindService")]
public abstract class FirewallsBase

Base class for server-side implementations of Firewalls

Inheritance

Object > Firewalls.FirewallsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteFirewallRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteFirewallRequest request, ServerCallContext context)

Deletes the specified firewall.

Parameters
NameDescription
requestDeleteFirewallRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Get(GetFirewallRequest, ServerCallContext)

public virtual Task<Firewall> Get(GetFirewallRequest request, ServerCallContext context)

Returns the specified firewall.

Parameters
NameDescription
requestGetFirewallRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Firewall>

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

Insert(InsertFirewallRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertFirewallRequest request, ServerCallContext context)

Creates a firewall rule in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertFirewallRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

List(ListFirewallsRequest, ServerCallContext)

public virtual Task<FirewallList> List(ListFirewallsRequest request, ServerCallContext context)

Retrieves the list of firewall rules available to the specified project.

Parameters
NameDescription
requestListFirewallsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<FirewallList>

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

Patch(PatchFirewallRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchFirewallRequest request, ServerCallContext context)

Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchFirewallRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Update(UpdateFirewallRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateFirewallRequest request, ServerCallContext context)

Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead.

Parameters
NameDescription
requestUpdateFirewallRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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