[BindServiceMethod(typeof(Firewalls), "BindService")]
public abstract class 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 | DeleteFirewallRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |