public class RegionNetworkFirewallPoliciesClient : ClientBase<RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient>
Client for RegionNetworkFirewallPolicies
Inheritance
Object > ClientBase > ClientBase<RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient> > RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClientNamespace
Google.Cloud.Compute.V1Assembly
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(ClientBase.ClientBaseConfiguration)
protected RegionNetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual Operation AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyAssociation> | The call object. |
GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyAssociation> | 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 |
AsyncUnaryCall<FirewallPolicy> | The call object. |
GetAsync(GetRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicy> | 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, Nullable<DateTime>, CancellationToken)
public virtual RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> | The call object. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> | 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, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | 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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyRule> | The call object. |
GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyRule> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyList List(ListRegionNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyList> | The call object. |
ListAsync(ListRegionNetworkFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<FirewallPolicyList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | 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, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |