Class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase (1.3.0)

[BindServiceMethod(typeof(RegionNetworkFirewallPolicies), "BindService")]
public abstract class RegionNetworkFirewallPoliciesBase

Base class for server-side implementations of RegionNetworkFirewallPolicies

Inheritance

Object > RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<TestPermissionsResponse>

The response to send back to the client (wrapped by a task).