public class NetworkFirewallPoliciesClient : ClientBase<NetworkFirewallPolicies.NetworkFirewallPoliciesClient>
Client for NetworkFirewallPolicies
Inheritance
Object > ClientBase > ClientBase<NetworkFirewallPolicies.NetworkFirewallPoliciesClient> > 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(ClientBase.ClientBaseConfiguration)
protected NetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual Operation AddAssociation(AddAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation AddRule(AddRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
AddRuleAsync(AddRuleNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation CloneRules(CloneRulesNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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. |
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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicy Get(GetNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<FirewallPolicyAssociation> | The call object. |
GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<FirewallPolicy> | The call object. |
GetAsync(GetNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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. |
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, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | GetIamPolicyNetworkFirewallPolicyRequest 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(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 |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | GetIamPolicyNetworkFirewallPolicyRequest 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(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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyRule GetRule(GetRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<FirewallPolicyRule> | The call object. |
GetRuleAsync(GetRuleNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyList List(ListNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<FirewallPolicyList> | The call object. |
ListAsync(ListNetworkFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListNetworkFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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 NetworkFirewallPolicies.NetworkFirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NetworkFirewallPolicies.NetworkFirewallPoliciesClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation PatchRule(PatchRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveRule(RemoveRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Operation> | The call object. |
RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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(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 |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | 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. |