[BindServiceMethod(typeof(NetworkFirewallPolicies), "BindService")]
public abstract class NetworkFirewallPoliciesBaseBase 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 |
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 |
AddRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CloneRulesNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetAssociationNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetIamPolicyNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListNetworkFirewallPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
PatchNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
PatchRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
RemoveAssociationNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
RemoveRuleNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SetIamPolicyNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |