[BindServiceMethod(typeof(Firewalls), "BindService")]
public abstract class Firewalls.FirewallsBaseReference documentation and code samples for the Compute Engine v1 API class Firewalls.FirewallsBase.
Base class for server-side implementations of Firewalls
Namespace
Google.Cloud.Compute.V1Assembly
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 |
DeleteFirewallRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetFirewallRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertFirewallRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListFirewallsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
PatchFirewallRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateFirewallRequestThe request received from the client. |
context |
ServerCallContextThe 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). |