public sealed class RegionNetworkFirewallPoliciesClientImpl : RegionNetworkFirewallPoliciesClient
Reference documentation and code samples for the Compute Engine v1 API class RegionNetworkFirewallPoliciesClientImpl.
RegionNetworkFirewallPolicies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionNetworkFirewallPolicies API.
Constructors
RegionNetworkFirewallPoliciesClientImpl(RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient, RegionNetworkFirewallPoliciesSettings, ILogger)
public RegionNetworkFirewallPoliciesClientImpl(RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient grpcClient, RegionNetworkFirewallPoliciesSettings settings, ILogger logger)
Constructs a client wrapper for the RegionNetworkFirewallPolicies service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient The underlying gRPC client. |
settings | RegionNetworkFirewallPoliciesSettings The base RegionNetworkFirewallPoliciesSettings used within this client. |
logger | ILogger Optional 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 RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient GrpcClient { get; }
The underlying gRPC RegionNetworkFirewallPolicies client
Property Value | |
---|---|
Type | Description |
RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient |
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(AddAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
AddRule(AddRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Delete(DeleteRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetRegionNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FirewallPolicy | The RPC response. |
GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyAssociation | The RPC response. |
GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicyAssociation> | A Task containing the RPC response. |
GetAsync(GetRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicy> GetAsync(GetRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicy> | A Task containing the RPC response. |
GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallSettings)
public override RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse | The RPC response. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> | A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
GetRule(GetRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRule | The RPC response. |
GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<FirewallPolicyRule> | A Task containing the RPC response. |
Insert(InsertRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListRegionNetworkFirewallPoliciesRequest, CallSettings)
public override PagedEnumerable<FirewallPolicyList, FirewallPolicy> List(ListRegionNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)
Lists all the network firewall policies that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNetworkFirewallPoliciesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<FirewallPolicyList, FirewallPolicy> | A pageable sequence of FirewallPolicy resources. |
ListAsync(ListRegionNetworkFirewallPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, CallSettings callSettings = null)
Lists all the network firewall policies that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNetworkFirewallPoliciesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<FirewallPolicyList, FirewallPolicy> | A pageable asynchronous sequence of FirewallPolicy resources. |
Patch(PatchRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
PatchAsync(PatchRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override Operation<Operation, Operation> RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | A Task containing the RPC response. |