public class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient : ClientBase<RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient.
Client for RegionNetworkFirewallPolicies
Inheritance
object > ClientBase > ClientBaseRegionNetworkFirewallPoliciesRegionNetworkFirewallPoliciesClient > RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClientNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionNetworkFirewallPoliciesClient()
protected RegionNetworkFirewallPoliciesClient()
Protected parameterless constructor to allow creation of test doubles.
RegionNetworkFirewallPoliciesClient(CallInvoker)
public RegionNetworkFirewallPoliciesClient(CallInvoker callInvoker)
Creates a new client for RegionNetworkFirewallPolicies that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionNetworkFirewallPoliciesClient(ChannelBase)
public RegionNetworkFirewallPoliciesClient(ChannelBase channel)
Creates a new client for RegionNetworkFirewallPolicies
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionNetworkFirewallPoliciesClient(ClientBaseConfiguration)
protected RegionNetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddRule(AddRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddRule(AddRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts a rule into a network firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Copies rules to the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Delete(DeleteRegionNetworkFirewallPolicyRequest request, CallOptions options)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest request, CallOptions options)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Get(GetRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicy | The response received from the server. |
Get(GetRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicy | The response received from the server. |
GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyAssociation | The response received from the server. |
GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyAssociation | The response received from the server. |
GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyAssociation | The call object. |
GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyAssociation | The call object. |
GetAsync(GetRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicy | The call object. |
GetAsync(GetRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicy | The call object. |
GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse | The response received from the server. |
GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse | The response received from the server. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse | The call object. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the effective firewalls on a given network.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse | The call object. |
GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
GetRule(GetRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRule | The response received from the server. |
GetRule(GetRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRule | The response received from the server. |
GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyRule | The call object. |
GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyRule | The call object. |
Insert(InsertRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Insert(InsertRegionNetworkFirewallPolicyRequest request, CallOptions options)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, CallOptions options)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new network firewall policy in the specified project and region.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
List(ListRegionNetworkFirewallPoliciesRequest, CallOptions)
public virtual FirewallPolicyList List(ListRegionNetworkFirewallPoliciesRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyList | The response received from the server. |
List(ListRegionNetworkFirewallPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyList List(ListRegionNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FirewallPolicyList | The response received from the server. |
ListAsync(ListRegionNetworkFirewallPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyList | The call object. |
ListAsync(ListRegionNetworkFirewallPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionNetworkFirewallPoliciesRegionNetworkFirewallPoliciesClient |
Patch(PatchRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Patch(PatchRegionNetworkFirewallPolicyRequest request, CallOptions options)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Patch(PatchRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchAsync(PatchRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, CallOptions options)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
PatchAsync(PatchRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | PatchRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes an association for the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse | The call object. |
TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionNetworkFirewallPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse | The call object. |