Compute Engine v1 API - Class Firewalls.FirewallsBase (2.17.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
Name Description
request DeleteFirewallRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetFirewallRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request InsertFirewallRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListFirewallsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request PatchFirewallRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateFirewallRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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