[BindServiceMethod(typeof(NetworkFirewallPolicies), "BindService")]
public abstract class NetworkFirewallPolicies.NetworkFirewallPoliciesBaseReference documentation and code samples for the Compute Engine v1 API class NetworkFirewallPolicies.NetworkFirewallPoliciesBase.
Base class for server-side implementations of NetworkFirewallPolicies
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AddAssociation(AddAssociationNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddAssociation(AddAssociationNetworkFirewallPolicyRequest request, ServerCallContext context)Inserts an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequestThe 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). |
AddPacketMirroringRule(AddPacketMirroringRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddPacketMirroringRule(AddPacketMirroringRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Inserts a packet mirroring rule into a firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddPacketMirroringRuleNetworkFirewallPolicyRequestThe 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). |
AddRule(AddRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddRule(AddRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Inserts a rule into a firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddRuleNetworkFirewallPolicyRequestThe 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). |
AggregatedList(AggregatedListNetworkFirewallPoliciesRequest, ServerCallContext)
public virtual Task<NetworkFirewallPolicyAggregatedList> AggregatedList(AggregatedListNetworkFirewallPoliciesRequest request, ServerCallContext context)Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListNetworkFirewallPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskNetworkFirewallPolicyAggregatedList |
The response to send back to the client (wrapped by a task). |
CloneRules(CloneRulesNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> CloneRules(CloneRulesNetworkFirewallPolicyRequest request, ServerCallContext context)Copies rules to the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequestThe 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). |
Delete(DeleteNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteNetworkFirewallPolicyRequest request, ServerCallContext context)Deletes the specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkFirewallPolicyRequestThe 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(GetNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicy> Get(GetNetworkFirewallPolicyRequest request, ServerCallContext context)Returns the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewallPolicy |
The response to send back to the client (wrapped by a task). |
GetAssociation(GetAssociationNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyAssociation> GetAssociation(GetAssociationNetworkFirewallPolicyRequest request, ServerCallContext context)Gets an association with the specified name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewallPolicyAssociation |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest request, ServerCallContext context)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
GetPacketMirroringRule(GetPacketMirroringRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyRule> GetPacketMirroringRule(GetPacketMirroringRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Gets a packet mirroring rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPacketMirroringRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewallPolicyRule |
The response to send back to the client (wrapped by a task). |
GetRule(GetRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyRule> GetRule(GetRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Gets a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewallPolicyRule |
The response to send back to the client (wrapped by a task). |
Insert(InsertNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertNetworkFirewallPolicyRequest request, ServerCallContext context)Creates a new policy in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkFirewallPolicyRequestThe 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(ListNetworkFirewallPoliciesRequest, ServerCallContext)
public virtual Task<FirewallPolicyList> List(ListNetworkFirewallPoliciesRequest request, ServerCallContext context)Lists all the policies that have been configured for the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkFirewallPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewallPolicyList |
The response to send back to the client (wrapped by a task). |
Patch(PatchNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchNetworkFirewallPolicyRequest request, ServerCallContext context)Patches the specified policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchNetworkFirewallPolicyRequestThe 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). |
PatchPacketMirroringRule(PatchPacketMirroringRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> PatchPacketMirroringRule(PatchPacketMirroringRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Patches a packet mirroring rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchPacketMirroringRuleNetworkFirewallPolicyRequestThe 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). |
PatchRule(PatchRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> PatchRule(PatchRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Patches a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequestThe 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). |
RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, ServerCallContext context)Removes an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequestThe 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). |
RemovePacketMirroringRule(RemovePacketMirroringRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemovePacketMirroringRule(RemovePacketMirroringRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Deletes a packet mirroring rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
RemovePacketMirroringRuleNetworkFirewallPolicyRequestThe 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). |
RemoveRule(RemoveRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, ServerCallContext context)Deletes a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequestThe 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). |
SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
The response to send back to the client (wrapped by a task). |