Compute Engine v1 API - Class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase (2.8.0)

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

Reference documentation and code samples for the Compute Engine v1 API class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase.

Base class for server-side implementations of RegionNetworkFirewallPolicies

Inheritance

object > RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesBase

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTestPermissionsResponse

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