[BindServiceMethod(typeof(RegionNetworkFirewallPolicies), "BindService")]
public abstract class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBaseReference documentation and code samples for the Compute Engine v1 API class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase.
Base class for server-side implementations of RegionNetworkFirewallPolicies
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Inserts an association for the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAssociationRegionNetworkFirewallPolicyRequestThe 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(AddRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Inserts a rule into a network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddRuleRegionNetworkFirewallPolicyRequestThe 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). |
CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Copies rules to the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
CloneRulesRegionNetworkFirewallPolicyRequestThe 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(DeleteRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Deletes the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionNetworkFirewallPolicyRequestThe 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(GetRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicy> Get(GetRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Returns the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionNetworkFirewallPolicyRequestThe 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(GetAssociationRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyAssociation> GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Gets an association with the specified name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssociationRegionNetworkFirewallPolicyRequestThe 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). |
GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest 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 |
GetIamPolicyRegionNetworkFirewallPolicyRequestThe 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). |
GetRule(GetRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyRule> GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Gets a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRuleRegionNetworkFirewallPolicyRequestThe 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(InsertRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Creates a new network firewall policy in the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionNetworkFirewallPolicyRequestThe 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(ListRegionNetworkFirewallPoliciesRequest, ServerCallContext)
public virtual Task<FirewallPolicyList> List(ListRegionNetworkFirewallPoliciesRequest request, ServerCallContext context)Lists all the network firewall policies that have been configured for the specified project in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionNetworkFirewallPoliciesRequestThe 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(PatchRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Patches the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionNetworkFirewallPolicyRequestThe 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(PatchRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Patches a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRuleRegionNetworkFirewallPolicyRequestThe 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(RemoveAssociationRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Removes an association for the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveAssociationRegionNetworkFirewallPolicyRequestThe 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(RemoveRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Deletes a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveRuleRegionNetworkFirewallPolicyRequestThe 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(SetIamPolicyRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRegionNetworkFirewallPolicyRequestThe 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(TestIamPermissionsRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRegionNetworkFirewallPolicyRequestThe 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). |