Class RegionNetworkFirewallPoliciesClientImpl (1.3.0)

public sealed class RegionNetworkFirewallPoliciesClientImpl : RegionNetworkFirewallPoliciesClient

RegionNetworkFirewallPolicies client wrapper implementation, for convenient use.

Inheritance

Object > RegionNetworkFirewallPoliciesClient > RegionNetworkFirewallPoliciesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionNetworkFirewallPolicies API.

Constructors

RegionNetworkFirewallPoliciesClientImpl(RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient, RegionNetworkFirewallPoliciesSettings)

public RegionNetworkFirewallPoliciesClientImpl(RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient grpcClient, RegionNetworkFirewallPoliciesSettings settings)

Constructs a client wrapper for the RegionNetworkFirewallPolicies service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientRegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient

The underlying gRPC client.

settingsRegionNetworkFirewallPoliciesSettings

The base RegionNetworkFirewallPoliciesSettings used within this client.

Properties

AddAssociationOperationsClient

public override OperationsClient AddAssociationOperationsClient { get; }

The long-running operations client for AddAssociation.

Property Value
TypeDescription
OperationsClient
Overrides

AddRuleOperationsClient

public override OperationsClient AddRuleOperationsClient { get; }

The long-running operations client for AddRule.

Property Value
TypeDescription
OperationsClient
Overrides

CloneRulesOperationsClient

public override OperationsClient CloneRulesOperationsClient { get; }

The long-running operations client for CloneRules.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient GrpcClient { get; }

The underlying gRPC RegionNetworkFirewallPolicies client

Property Value
TypeDescription
RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

PatchRuleOperationsClient

public override OperationsClient PatchRuleOperationsClient { get; }

The long-running operations client for PatchRule.

Property Value
TypeDescription
OperationsClient
Overrides

RemoveAssociationOperationsClient

public override OperationsClient RemoveAssociationOperationsClient { get; }

The long-running operations client for RemoveAssociation.

Property Value
TypeDescription
OperationsClient
Overrides

RemoveRuleOperationsClient

public override OperationsClient RemoveRuleOperationsClient { get; }

The long-running operations client for RemoveRule.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

AddRule(AddRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Delete(DeleteRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetRegionNetworkFirewallPolicyRequest, CallSettings)

public override FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
FirewallPolicy

The RPC response.

Overrides

GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
FirewallPolicyAssociation

The RPC response.

Overrides

GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<FirewallPolicyAssociation>

A Task containing the RPC response.

Overrides

GetAsync(GetRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<FirewallPolicy> GetAsync(GetRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<FirewallPolicy>

A Task containing the RPC response.

Overrides

GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallSettings)

public override RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

The RPC response.

Overrides

GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

GetRule(GetRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
FirewallPolicyRule

The RPC response.

Overrides

GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<FirewallPolicyRule>

A Task containing the RPC response.

Overrides

Insert(InsertRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListRegionNetworkFirewallPoliciesRequest, CallSettings)

public override PagedEnumerable<FirewallPolicyList, FirewallPolicy> List(ListRegionNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<FirewallPolicyList, FirewallPolicy>

A pageable sequence of FirewallPolicy resources.

Overrides

ListAsync(ListRegionNetworkFirewallPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy>

A pageable asynchronous sequence of FirewallPolicy resources.

Overrides

Patch(PatchRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Operation<Operation, Operation> RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TestPermissionsResponse>

A Task containing the RPC response.

Overrides