Compute Engine v1 API - Class Firewalls.FirewallsBase (2.11.0)

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

Reference documentation and code samples for the Compute Engine v1 API class Firewalls.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
TaskOperation

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
TaskFirewall

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
TaskOperation

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
TaskFirewallList

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
TaskOperation

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
TaskOperation

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