[BindServiceMethod(typeof(RegionNetworkFirewallPolicies), "BindService")]
public abstract class RegionNetworkFirewallPoliciesBase
Reference 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 | AddAssociationRegionNetworkFirewallPolicyRequest 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(AddRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest 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(CloneRulesRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest 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(DeleteRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest 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(GetRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicy> Get(GetRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest 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(GetAssociationRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyAssociation> GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest 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). |
GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> | 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 | GetIamPolicyRegionNetworkFirewallPolicyRequest 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(GetRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<FirewallPolicyRule> GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest 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(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 | InsertRegionNetworkFirewallPolicyRequest 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(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 | ListRegionNetworkFirewallPoliciesRequest 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(PatchRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest 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(PatchRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest 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(RemoveAssociationRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest 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(RemoveRuleRegionNetworkFirewallPolicyRequest, ServerCallContext)
public virtual Task<Operation> RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, ServerCallContext context)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest 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(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 | SetIamPolicyRegionNetworkFirewallPolicyRequest 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(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 | TestIamPermissionsRegionNetworkFirewallPolicyRequest 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). |