public class NetworkFirewallPolicies.NetworkFirewallPoliciesClient : ClientBase<NetworkFirewallPolicies.NetworkFirewallPoliciesClient>
Reference documentation and code samples for the Compute Engine v1 API class NetworkFirewallPolicies.NetworkFirewallPoliciesClient.
Client for NetworkFirewallPolicies
Inheritance
object > ClientBase > ClientBaseNetworkFirewallPoliciesNetworkFirewallPoliciesClient > NetworkFirewallPolicies.NetworkFirewallPoliciesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NetworkFirewallPoliciesClient()
protected NetworkFirewallPoliciesClient()
Protected parameterless constructor to allow creation of test doubles.
NetworkFirewallPoliciesClient(CallInvoker)
public NetworkFirewallPoliciesClient(CallInvoker callInvoker)
Creates a new client for NetworkFirewallPolicies that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
NetworkFirewallPoliciesClient(ChannelBase)
public NetworkFirewallPoliciesClient(ChannelBase channel)
Creates a new client for NetworkFirewallPolicies
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
NetworkFirewallPoliciesClient(ClientBaseConfiguration)
protected NetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
AddAssociation(AddAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation AddAssociation(AddAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequest 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(AddAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddAssociation(AddAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(AddAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(AddRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation AddRule(AddRuleNetworkFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddRuleNetworkFirewallPolicyRequest 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(AddRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddRule(AddRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(AddRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleNetworkFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddRuleNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
AddRuleAsync(AddRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request |
AddRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(CloneRulesNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation CloneRules(CloneRulesNetworkFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequest 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(CloneRulesNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CloneRules(CloneRulesNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(CloneRulesNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
CloneRulesNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
CreateOperationsClientForGlobalOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Delete(DeleteNetworkFirewallPolicyRequest request, CallOptions options)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request |
DeleteNetworkFirewallPolicyRequest 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(DeleteNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request |
DeleteNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(DeleteNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkFirewallPolicyRequest request, CallOptions options)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request |
DeleteNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request |
DeleteNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicy Get(GetNetworkFirewallPolicyRequest request, CallOptions options)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request |
GetNetworkFirewallPolicyRequest 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(GetNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicy Get(GetNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request |
GetNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequest 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(GetAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyAssociation |
The call object. |
GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request |
GetAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetNetworkFirewallPolicyRequest request, CallOptions options)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request |
GetNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicy |
The call object. |
GetAsync(GetNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network firewall policy.
Parameters | |
---|---|
Name | Description |
request |
GetNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequest 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(GetIamPolicyNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetIamPolicyNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest 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 |
GetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyRule GetRule(GetRuleNetworkFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
GetRuleNetworkFirewallPolicyRequest 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(GetRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyRule GetRule(GetRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
GetRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(GetRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleNetworkFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
GetRuleNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyRule |
The call object. |
GetRuleAsync(GetRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
GetRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(InsertNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Insert(InsertNetworkFirewallPolicyRequest request, CallOptions options)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNetworkFirewallPolicyRequest 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(InsertNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(InsertNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkFirewallPolicyRequest request, CallOptions options)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(ListNetworkFirewallPoliciesRequest, CallOptions)
public virtual FirewallPolicyList List(ListNetworkFirewallPoliciesRequest request, CallOptions options)
Lists all the policies that have been configured for the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNetworkFirewallPoliciesRequest 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(ListNetworkFirewallPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual FirewallPolicyList List(ListNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all the policies that have been configured for the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNetworkFirewallPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(ListNetworkFirewallPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListNetworkFirewallPoliciesRequest request, CallOptions options)
Lists all the policies that have been configured for the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNetworkFirewallPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFirewallPolicyList |
The call object. |
ListAsync(ListNetworkFirewallPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all the policies that have been configured for the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNetworkFirewallPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 NetworkFirewallPolicies.NetworkFirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NetworkFirewallPoliciesNetworkFirewallPoliciesClient |
Patch(PatchNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation Patch(PatchNetworkFirewallPolicyRequest request, CallOptions options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
PatchNetworkFirewallPolicyRequest 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(PatchNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
PatchNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(PatchNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkFirewallPolicyRequest request, CallOptions options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
PatchNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
PatchNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(PatchRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation PatchRule(PatchRuleNetworkFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequest 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(PatchRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation PatchRule(PatchRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(PatchRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
PatchRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(RemoveAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequest 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(RemoveAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(RemoveAssociationNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request |
RemoveAssociationNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(RemoveRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequest 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(RemoveRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(RemoveRuleNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request |
RemoveRuleNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(SetIamPolicyNetworkFirewallPolicyRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNetworkFirewallPolicyRequest 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(SetIamPolicyNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest 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 |
SetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(SetIamPolicyNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest 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 |
SetIamPolicyNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(TestIamPermissionsNetworkFirewallPolicyRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequest 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(TestIamPermissionsNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(TestIamPermissionsNetworkFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNetworkFirewallPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |