[BindServiceMethod(typeof(NetworkFirewallPolicies), "BindService")]
public abstract class NetworkFirewallPoliciesBase
Reference 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 | AddAssociationNetworkFirewallPolicyRequest 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). |
AddRule(AddRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddRule(AddRuleNetworkFirewallPolicyRequest request, ServerCallContext context)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleNetworkFirewallPolicyRequest 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). |
CloneRules(CloneRulesNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> CloneRules(CloneRulesNetworkFirewallPolicyRequest request, ServerCallContext context)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesNetworkFirewallPolicyRequest 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). |
Delete(DeleteNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteNetworkFirewallPolicyRequest request, ServerCallContext context)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkFirewallPolicyRequest 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(GetNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicy> Get(GetNetworkFirewallPolicyRequest request, ServerCallContext context)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicy> | 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 | GetAssociationNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicyAssociation> | 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 | GetIamPolicyNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | 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 | GetRuleNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicyRule> | 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 | InsertNetworkFirewallPolicyRequest 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(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 | ListNetworkFirewallPoliciesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicyList> | 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 | PatchNetworkFirewallPolicyRequest 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). |
PatchRule(PatchRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> PatchRule(PatchRuleNetworkFirewallPolicyRequest request, ServerCallContext context)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleNetworkFirewallPolicyRequest 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). |
RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, ServerCallContext context)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationNetworkFirewallPolicyRequest 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). |
RemoveRule(RemoveRuleNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, ServerCallContext context)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleNetworkFirewallPolicyRequest 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). |
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 | SetIamPolicyNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | 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 | TestIamPermissionsNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | The response to send back to the client (wrapped by a task). |