# Compute Engine v1 API - Class FirewallPoliciesClientImpl (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class FirewallPoliciesClientImpl : FirewallPoliciesClient

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

FirewallPolicies client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [FirewallPoliciesClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient) \> FirewallPoliciesClientImpl

## Inherited Members

[FirewallPoliciesClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DefaultEndpoint) [FirewallPoliciesClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DefaultScopes) [FirewallPoliciesClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ServiceMetadata) [FirewallPoliciesClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CreateAsync_System_Threading_CancellationToken_) [FirewallPoliciesClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Create) [FirewallPoliciesClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ShutdownDefaultChannelsAsync) [FirewallPoliciesClient.AddAssociationAsync(AddAssociationFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociationAsync_Google_Cloud_Compute_V1_AddAssociationFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceAddAssociation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceAddAssociation_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceAddAssociationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceAddAssociationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddAssociation(string, FirewallPolicyAssociation, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociation_System_String_Google_Cloud_Compute_V1_FirewallPolicyAssociation_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddAssociationAsync(string, FirewallPolicyAssociation, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociationAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyAssociation_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddAssociationAsync(string, FirewallPolicyAssociation, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociationAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyAssociation_System_Threading_CancellationToken_) [FirewallPoliciesClient.AddRuleAsync(AddRuleFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRuleAsync_Google_Cloud_Compute_V1_AddRuleFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceAddRule(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceAddRule_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceAddRuleAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceAddRuleAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddRule(string, FirewallPolicyRule, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRule_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddRuleAsync(string, FirewallPolicyRule, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRuleAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.AddRuleAsync(string, FirewallPolicyRule, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRuleAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_System_Threading_CancellationToken_) [FirewallPoliciesClient.CloneRulesAsync(CloneRulesFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRulesAsync_Google_Cloud_Compute_V1_CloneRulesFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceCloneRules(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceCloneRules_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceCloneRulesAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceCloneRulesAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.CloneRules(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRules_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.CloneRulesAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRulesAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.CloneRulesAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRulesAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.DeleteAsync(DeleteFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.Delete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Delete_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.DeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.DeleteAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DeleteAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetAsync(GetFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAsync_Google_Cloud_Compute_V1_GetFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.Get(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Get_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetAssociationAsync(GetAssociationFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociationAsync_Google_Cloud_Compute_V1_GetAssociationFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetAssociation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociation_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetAssociationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetAssociationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociationAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetIamPolicy(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicy_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetIamPolicyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetIamPolicyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicyAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetRuleAsync(GetRuleFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRuleAsync_Google_Cloud_Compute_V1_GetRuleFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.GetRule(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRule_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetRuleAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRuleAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.GetRuleAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRuleAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.InsertAsync(InsertFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_InsertAsync_Google_Cloud_Compute_V1_InsertFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.Insert(string, FirewallPolicy, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Insert_System_String_Google_Cloud_Compute_V1_FirewallPolicy_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.InsertAsync(string, FirewallPolicy, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_InsertAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicy_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.InsertAsync(string, FirewallPolicy, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_InsertAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicy_System_Threading_CancellationToken_) [FirewallPoliciesClient.List(string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_List_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.ListAsync(string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAsync_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociationsAsync_Google_Cloud_Compute_V1_ListAssociationsFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.ListAssociations(CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociations_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.ListAssociationsAsync(CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociationsAsync_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.ListAssociationsAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociationsAsync_System_Threading_CancellationToken_) [FirewallPoliciesClient.MoveAsync(MoveFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_MoveAsync_Google_Cloud_Compute_V1_MoveFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceMove(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceMove_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceMoveAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceMoveAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.Move(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Move_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.MoveAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_MoveAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.MoveAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_MoveAsync_System_String_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.PatchAsync(PatchFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchAsync_Google_Cloud_Compute_V1_PatchFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOncePatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOncePatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOncePatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOncePatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.Patch(string, FirewallPolicy, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Patch_System_String_Google_Cloud_Compute_V1_FirewallPolicy_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PatchAsync(string, FirewallPolicy, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicy_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PatchAsync(string, FirewallPolicy, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicy_System_Threading_CancellationToken_) [FirewallPoliciesClient.PatchRuleAsync(PatchRuleFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRuleAsync_Google_Cloud_Compute_V1_PatchRuleFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOncePatchRule(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOncePatchRule_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOncePatchRuleAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOncePatchRuleAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PatchRule(string, FirewallPolicyRule, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRule_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PatchRuleAsync(string, FirewallPolicyRule, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRuleAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PatchRuleAsync(string, FirewallPolicyRule, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRuleAsync_System_String_Google_Cloud_Compute_V1_FirewallPolicyRule_System_Threading_CancellationToken_) [FirewallPoliciesClient.RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociationAsync_Google_Cloud_Compute_V1_RemoveAssociationFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceRemoveAssociation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceRemoveAssociation_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceRemoveAssociationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceRemoveAssociationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveAssociation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociation_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveAssociationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveAssociationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociationAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.RemoveRuleAsync(RemoveRuleFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRuleAsync_Google_Cloud_Compute_V1_RemoveRuleFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.PollOnceRemoveRule(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceRemoveRule_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.PollOnceRemoveRuleAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PollOnceRemoveRuleAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveRule(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRule_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveRuleAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRuleAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.RemoveRuleAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRuleAsync_System_String_System_Threading_CancellationToken_) [FirewallPoliciesClient.SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.SetIamPolicy(string, GlobalOrganizationSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicy_System_String_Google_Cloud_Compute_V1_GlobalOrganizationSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.SetIamPolicyAsync(string, GlobalOrganizationSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicyAsync_System_String_Google_Cloud_Compute_V1_GlobalOrganizationSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.SetIamPolicyAsync(string, GlobalOrganizationSetPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicyAsync_System_String_Google_Cloud_Compute_V1_GlobalOrganizationSetPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsFirewallPolicyRequest_System_Threading_CancellationToken_) [FirewallPoliciesClient.TestIamPermissions(string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissions_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.TestIamPermissionsAsync(string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissionsAsync_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [FirewallPoliciesClient.TestIamPermissionsAsync(string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissionsAsync_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Remarks

The FirewallPolicies API.

## Constructors

### FirewallPoliciesClientImpl(FirewallPoliciesClient, FirewallPoliciesSettings, ILogger)

    public FirewallPoliciesClientImpl(FirewallPolicies.FirewallPoliciesClient grpcClient, FirewallPoliciesSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicies.FirewallPoliciesClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesSettings` The base [FirewallPoliciesSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### AddAssociationOperationsClient

    public override OperationsClient AddAssociationOperationsClient { get; }

The long-running operations client for `AddAssociation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.AddAssociationOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociationOperationsClient)

### AddRuleOperationsClient

    public override OperationsClient AddRuleOperationsClient { get; }

The long-running operations client for `AddRule`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.AddRuleOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRuleOperationsClient)

### CloneRulesOperationsClient

    public override OperationsClient CloneRulesOperationsClient { get; }

The long-running operations client for `CloneRules`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.CloneRulesOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRulesOperationsClient)

### DeleteOperationsClient

    public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for `Delete`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DeleteOperationsClient)

### GrpcClient

    public override FirewallPolicies.FirewallPoliciesClient GrpcClient { get; }

The underlying gRPC FirewallPolicies client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicies.FirewallPoliciesClient` |   |

**Overrides** [FirewallPoliciesClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GrpcClient)

### InsertOperationsClient

    public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for `Insert`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_InsertOperationsClient)

### MoveOperationsClient

    public override OperationsClient MoveOperationsClient { get; }

The long-running operations client for `Move`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.MoveOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_MoveOperationsClient)

### PatchOperationsClient

    public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for `Patch`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.PatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchOperationsClient)

### PatchRuleOperationsClient

    public override OperationsClient PatchRuleOperationsClient { get; }

The long-running operations client for `PatchRule`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.PatchRuleOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRuleOperationsClient)

### RemoveAssociationOperationsClient

    public override OperationsClient RemoveAssociationOperationsClient { get; }

The long-running operations client for `RemoveAssociation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.RemoveAssociationOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociationOperationsClient)

### RemoveRuleOperationsClient

    public override OperationsClient RemoveRuleOperationsClient { get; }

The long-running operations client for `RemoveRule`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [FirewallPoliciesClient.RemoveRuleOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRuleOperationsClient)

## Methods

### AddAssociation(AddAssociationFirewallPolicyRequest, CallSettings)

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

Inserts an association for the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AddAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.AddAssociation(AddAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociation_Google_Cloud_Compute_V1_AddAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### AddAssociationAsync(AddAssociationFirewallPolicyRequest, CallSettings)

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

Inserts an association for the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AddAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.AddAssociationAsync(AddAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddAssociationAsync_Google_Cloud_Compute_V1_AddAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### AddRule(AddRuleFirewallPolicyRequest, CallSettings)

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

Inserts a rule into a firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AddRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.AddRule(AddRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRule_Google_Cloud_Compute_V1_AddRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### AddRuleAsync(AddRuleFirewallPolicyRequest, CallSettings)

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

Inserts a rule into a firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AddRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.AddRuleAsync(AddRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_AddRuleAsync_Google_Cloud_Compute_V1_AddRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### CloneRules(CloneRulesFirewallPolicyRequest, CallSettings)

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

Copies rules to the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.CloneRulesFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.CloneRules(CloneRulesFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRules_Google_Cloud_Compute_V1_CloneRulesFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### CloneRulesAsync(CloneRulesFirewallPolicyRequest, CallSettings)

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

Copies rules to the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.CloneRulesFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.CloneRulesAsync(CloneRulesFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_CloneRulesAsync_Google_Cloud_Compute_V1_CloneRulesFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### Delete(DeleteFirewallPolicyRequest, CallSettings)

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

Deletes the specified policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.Delete(DeleteFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Delete_Google_Cloud_Compute_V1_DeleteFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteAsync(DeleteFirewallPolicyRequest, CallSettings)

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

Deletes the specified policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.DeleteAsync(DeleteFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### Get(GetFirewallPolicyRequest, CallSettings)

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

Returns the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy` | The RPC response. |

**Overrides** [FirewallPoliciesClient.Get(GetFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Get_Google_Cloud_Compute_V1_GetFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAssociation(GetAssociationFirewallPolicyRequest, CallSettings)

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

Gets an association with the specified name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyAssociation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.GetAssociation(GetAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociation_Google_Cloud_Compute_V1_GetAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAssociationAsync(GetAssociationFirewallPolicyRequest, CallSettings)

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

Gets an association with the specified name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyAssociation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.GetAssociationAsync(GetAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAssociationAsync_Google_Cloud_Compute_V1_GetAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAsync(GetFirewallPolicyRequest, CallSettings)

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

Returns the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.GetAsync(GetFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetAsync_Google_Cloud_Compute_V1_GetFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicy(GetIamPolicyFirewallPolicyRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetIamPolicyFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | The RPC response. |

**Overrides** [FirewallPoliciesClient.GetIamPolicy(GetIamPolicyFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicy_Google_Cloud_Compute_V1_GetIamPolicyFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetIamPolicyFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetRule(GetRuleFirewallPolicyRequest, CallSettings)

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

Gets a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyRule` | The RPC response. |

**Overrides** [FirewallPoliciesClient.GetRule(GetRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRule_Google_Cloud_Compute_V1_GetRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetRuleAsync(GetRuleFirewallPolicyRequest, CallSettings)

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

Gets a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyRule` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.GetRuleAsync(GetRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_GetRuleAsync_Google_Cloud_Compute_V1_GetRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### Insert(InsertFirewallPolicyRequest, CallSettings)

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

Creates a new policy in the specified project using the data included in
the request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.Insert(InsertFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Insert_Google_Cloud_Compute_V1_InsertFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### InsertAsync(InsertFirewallPolicyRequest, CallSettings)

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

Creates a new policy in the specified project using the data included in
the request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.InsertAsync(InsertFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_InsertAsync_Google_Cloud_Compute_V1_InsertFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### List(ListFirewallPoliciesRequest, CallSettings)

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

Lists all the policies that have been configured for the specified
folder or organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListFirewallPoliciesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy` | A pageable sequence of [FirewallPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy) resources. |

**Overrides** [FirewallPoliciesClient.List(ListFirewallPoliciesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_List_Google_Cloud_Compute_V1_ListFirewallPoliciesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAssociations(ListAssociationsFirewallPolicyRequest, CallSettings)

    public override FirewallPoliciesListAssociationsResponse ListAssociations(ListAssociationsFirewallPolicyRequest request, CallSettings callSettings = null)

Lists associations of a specified target, i.e., organization or folder.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListAssociationsFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesListAssociationsResponse` | The RPC response. |

**Overrides** [FirewallPoliciesClient.ListAssociations(ListAssociationsFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociations_Google_Cloud_Compute_V1_ListAssociationsFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, CallSettings)

    public override Task<FirewallPoliciesListAssociationsResponse> ListAssociationsAsync(ListAssociationsFirewallPolicyRequest request, CallSettings callSettings = null)

Lists associations of a specified target, i.e., organization or folder.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListAssociationsFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesListAssociationsResponse` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAssociationsAsync_Google_Cloud_Compute_V1_ListAssociationsFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAsync(ListFirewallPoliciesRequest, CallSettings)

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

Lists all the policies that have been configured for the specified
folder or organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListFirewallPoliciesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicyListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy` | A pageable asynchronous sequence of [FirewallPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPolicy) resources. |

**Overrides** [FirewallPoliciesClient.ListAsync(ListFirewallPoliciesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_ListAsync_Google_Cloud_Compute_V1_ListFirewallPoliciesRequest_Google_Api_Gax_Grpc_CallSettings_)

### Move(MoveFirewallPolicyRequest, CallSettings)

    public override Operation<Operation, Operation> Move(MoveFirewallPolicyRequest request, CallSettings callSettings = null)

Moves the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.MoveFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.Move(MoveFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Move_Google_Cloud_Compute_V1_MoveFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### MoveAsync(MoveFirewallPolicyRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> MoveAsync(MoveFirewallPolicyRequest request, CallSettings callSettings = null)

Moves the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.MoveFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.MoveAsync(MoveFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_MoveAsync_Google_Cloud_Compute_V1_MoveFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### Patch(PatchFirewallPolicyRequest, CallSettings)

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

Patches the specified policy with the data included in the request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.Patch(PatchFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_Patch_Google_Cloud_Compute_V1_PatchFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### PatchAsync(PatchFirewallPolicyRequest, CallSettings)

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

Patches the specified policy with the data included in the request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.PatchAsync(PatchFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchAsync_Google_Cloud_Compute_V1_PatchFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### PatchRule(PatchRuleFirewallPolicyRequest, CallSettings)

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

Patches a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.PatchRule(PatchRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRule_Google_Cloud_Compute_V1_PatchRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### PatchRuleAsync(PatchRuleFirewallPolicyRequest, CallSettings)

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

Patches a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.PatchRuleAsync(PatchRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_PatchRuleAsync_Google_Cloud_Compute_V1_PatchRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveAssociation(RemoveAssociationFirewallPolicyRequest, CallSettings)

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

Removes an association for the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RemoveAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.RemoveAssociation(RemoveAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociation_Google_Cloud_Compute_V1_RemoveAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest, CallSettings)

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

Removes an association for the specified firewall policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RemoveAssociationFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveAssociationAsync_Google_Cloud_Compute_V1_RemoveAssociationFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveRule(RemoveRuleFirewallPolicyRequest, CallSettings)

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

Deletes a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RemoveRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [FirewallPoliciesClient.RemoveRule(RemoveRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRule_Google_Cloud_Compute_V1_RemoveRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveRuleAsync(RemoveRuleFirewallPolicyRequest, CallSettings)

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

Deletes a rule of the specified priority.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RemoveRuleFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.RemoveRuleAsync(RemoveRuleFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_RemoveRuleAsync_Google_Cloud_Compute_V1_RemoveRuleFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicy(SetIamPolicyFirewallPolicyRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetIamPolicyFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | The RPC response. |

**Overrides** [FirewallPoliciesClient.SetIamPolicy(SetIamPolicyFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicy_Google_Cloud_Compute_V1_SetIamPolicyFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetIamPolicyFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissions(TestIamPermissionsFirewallPolicyRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | The RPC response. |

**Overrides** [FirewallPoliciesClient.TestIamPermissions(TestIamPermissionsFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsFirewallPolicyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | A Task containing the RPC response. |

**Overrides** [FirewallPoliciesClient.TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.FirewallPoliciesClient#Google_Cloud_Compute_V1_FirewallPoliciesClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsFirewallPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)