public sealed class NetworkFirewallPoliciesClientImpl : NetworkFirewallPoliciesClientNetworkFirewallPolicies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NetworkFirewallPolicies API.
Constructors
NetworkFirewallPoliciesClientImpl(NetworkFirewallPolicies.NetworkFirewallPoliciesClient, NetworkFirewallPoliciesSettings, ILogger)
public NetworkFirewallPoliciesClientImpl(NetworkFirewallPolicies.NetworkFirewallPoliciesClient grpcClient, NetworkFirewallPoliciesSettings settings, ILogger logger)Constructs a client wrapper for the NetworkFirewallPolicies service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
NetworkFirewallPolicies.NetworkFirewallPoliciesClientThe underlying gRPC client. |
settings |
NetworkFirewallPoliciesSettingsThe base NetworkFirewallPoliciesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
AddAssociationOperationsClient
public override OperationsClient AddAssociationOperationsClient { get; }The long-running operations client for AddAssociation.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
AddRuleOperationsClient
public override OperationsClient AddRuleOperationsClient { get; }The long-running operations client for AddRule.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CloneRulesOperationsClient
public override OperationsClient CloneRulesOperationsClient { get; }The long-running operations client for CloneRules.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override NetworkFirewallPolicies.NetworkFirewallPoliciesClient GrpcClient { get; }The underlying gRPC NetworkFirewallPolicies client
| Property Value | |
|---|---|
| Type | Description |
NetworkFirewallPolicies.NetworkFirewallPoliciesClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
PatchRuleOperationsClient
public override OperationsClient PatchRuleOperationsClient { get; }The long-running operations client for PatchRule.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
RemoveAssociationOperationsClient
public override OperationsClient RemoveAssociationOperationsClient { get; }The long-running operations client for RemoveAssociation.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
RemoveRuleOperationsClient
public override OperationsClient RemoveRuleOperationsClient { get; }The long-running operations client for RemoveRule.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AddAssociation(AddAssociationNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> AddAssociation(AddAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Inserts an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Inserts an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
AddRule(AddRuleNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> AddRule(AddRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Inserts a rule into a firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
AddRuleAsync(AddRuleNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> AddRuleAsync(AddRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Inserts a rule into a firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
AddRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
CloneRules(CloneRulesNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> CloneRules(CloneRulesNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Copies rules to the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Copies rules to the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
Delete(DeleteNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Deletes the specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
DeleteAsync(DeleteNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Deletes the specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
Get(GetNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicy Get(GetNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Returns the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicy |
The RPC response. |
GetAssociation(GetAssociationNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicyAssociation GetAssociation(GetAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Gets an association with the specified name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyAssociation |
The RPC response. |
GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Gets an association with the specified name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<FirewallPolicyAssociation> |
A Task containing the RPC response. |
GetAsync(GetNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicy> GetAsync(GetNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Returns the specified network firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<FirewallPolicy> |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
GetRule(GetRuleNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicyRule GetRule(GetRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Gets a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule |
The RPC response. |
GetRuleAsync(GetRuleNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicyRule> GetRuleAsync(GetRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Gets a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<FirewallPolicyRule> |
A Task containing the RPC response. |
Insert(InsertNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Creates a new policy in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
InsertAsync(InsertNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Creates a new policy in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
List(ListNetworkFirewallPoliciesRequest, CallSettings)
public override PagedEnumerable<FirewallPolicyList, FirewallPolicy> List(ListNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)Lists all the policies that have been configured for the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkFirewallPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<FirewallPolicyList, FirewallPolicy> |
A pageable sequence of FirewallPolicy resources. |
ListAsync(ListNetworkFirewallPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy> ListAsync(ListNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)Lists all the policies that have been configured for the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkFirewallPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy> |
A pageable asynchronous sequence of FirewallPolicy resources. |
Patch(PatchNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Patches the specified policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
PatchAsync(PatchNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Patches the specified policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
PatchRule(PatchRuleNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> PatchRule(PatchRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Patches a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Patches a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Removes an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Removes an association for the specified firewall policy.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
RemoveRule(RemoveRuleNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Deletes a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Deletes a rule of the specified priority.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TestPermissionsResponse> |
A Task containing the RPC response. |