public class FirewallPoliciesClient : ClientBase<FirewallPolicies.FirewallPoliciesClient>
Client for FirewallPolicies
Inheritance
Object > ClientBase > ClientBase<FirewallPolicies.FirewallPoliciesClient> > FirewallPolicies.FirewallPoliciesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
FirewallPoliciesClient()
protected FirewallPoliciesClient()
Protected parameterless constructor to allow creation of test doubles.
FirewallPoliciesClient(CallInvoker)
public FirewallPoliciesClient(CallInvoker callInvoker)
Creates a new client for FirewallPolicies that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
FirewallPoliciesClient(ChannelBase)
public FirewallPoliciesClient(ChannelBase channel)
Creates a new client for FirewallPolicies
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
FirewallPoliciesClient(ClientBase.ClientBaseConfiguration)
protected FirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AddAssociation(AddAssociationFirewallPolicyRequest, CallOptions)
public virtual Operation AddAssociation(AddAssociationFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationFirewallPolicyRequest 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(AddAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AddAssociation(AddAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationFirewallPolicyRequest 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(AddAssociationFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationFirewallPolicyRequest request, CallOptions options)
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AddAssociationAsync(AddAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Inserts an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddAssociationFirewallPolicyRequest 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(AddRuleFirewallPolicyRequest, CallOptions)
public virtual Operation AddRule(AddRuleFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleFirewallPolicyRequest 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(AddRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AddRule(AddRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleFirewallPolicyRequest 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(AddRuleFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleFirewallPolicyRequest request, CallOptions options)
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AddRuleAsync(AddRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Inserts a rule into a firewall policy.
Parameters | |
---|---|
Name | Description |
request | AddRuleFirewallPolicyRequest 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(CloneRulesFirewallPolicyRequest, CallOptions)
public virtual Operation CloneRules(CloneRulesFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesFirewallPolicyRequest 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(CloneRulesFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CloneRules(CloneRulesFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesFirewallPolicyRequest 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(CloneRulesFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesFirewallPolicyRequest request, CallOptions options)
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CloneRulesAsync(CloneRulesFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Copies rules to the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | CloneRulesFirewallPolicyRequest 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. |
CreateOperationsClientForGlobalOrganizationOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOrganizationOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOrganizationOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteFirewallPolicyRequest, CallOptions)
public virtual Operation Delete(DeleteFirewallPolicyRequest request, CallOptions options)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request | DeleteFirewallPolicyRequest 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(DeleteFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request | DeleteFirewallPolicyRequest 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(DeleteFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteFirewallPolicyRequest request, CallOptions options)
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request | DeleteFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified policy.
Parameters | |
---|---|
Name | Description |
request | DeleteFirewallPolicyRequest 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(GetFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicy Get(GetFirewallPolicyRequest request, CallOptions options)
Returns the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetFirewallPolicyRequest 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(GetFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicy Get(GetFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetFirewallPolicyRequest 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(GetAssociationFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationFirewallPolicyRequest 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(GetAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyAssociation GetAssociation(GetAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationFirewallPolicyRequest 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(GetAssociationFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationFirewallPolicyRequest request, CallOptions options)
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<FirewallPolicyAssociation> | The call object. |
GetAssociationAsync(GetAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets an association with the specified name.
Parameters | |
---|---|
Name | Description |
request | GetAssociationFirewallPolicyRequest 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(GetFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetFirewallPolicyRequest request, CallOptions options)
Returns the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<FirewallPolicy> | The call object. |
GetAsync(GetFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | GetFirewallPolicyRequest 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(GetIamPolicyFirewallPolicyRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyFirewallPolicyRequest 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 | GetIamPolicyFirewallPolicyRequest 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(GetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyFirewallPolicyRequest 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(GetIamPolicyFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest 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 | GetIamPolicyFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyFirewallPolicyRequest 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(GetRuleFirewallPolicyRequest, CallOptions)
public virtual FirewallPolicyRule GetRule(GetRuleFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleFirewallPolicyRequest 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(GetRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyRule GetRule(GetRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleFirewallPolicyRequest 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(GetRuleFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleFirewallPolicyRequest request, CallOptions options)
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<FirewallPolicyRule> | The call object. |
GetRuleAsync(GetRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | GetRuleFirewallPolicyRequest 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(InsertFirewallPolicyRequest, CallOptions)
public virtual Operation Insert(InsertFirewallPolicyRequest request, CallOptions options)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertFirewallPolicyRequest 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(InsertFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertFirewallPolicyRequest 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(InsertFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertFirewallPolicyRequest request, CallOptions options)
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new policy in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertFirewallPolicyRequest 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(ListFirewallPoliciesRequest, CallOptions)
public virtual FirewallPolicyList List(ListFirewallPoliciesRequest request, CallOptions options)
Lists all the policies that have been configured for the specified folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListFirewallPoliciesRequest 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(ListFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual FirewallPolicyList List(ListFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all the policies that have been configured for the specified folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListFirewallPoliciesRequest 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. |
ListAssociations(ListAssociationsFirewallPolicyRequest, CallOptions)
public virtual FirewallPoliciesListAssociationsResponse ListAssociations(ListAssociationsFirewallPolicyRequest request, CallOptions options)
Lists associations of a specified target, i.e., organization or folder.
Parameters | |
---|---|
Name | Description |
request | ListAssociationsFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FirewallPoliciesListAssociationsResponse | The response received from the server. |
ListAssociations(ListAssociationsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual FirewallPoliciesListAssociationsResponse ListAssociations(ListAssociationsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists associations of a specified target, i.e., organization or folder.
Parameters | |
---|---|
Name | Description |
request | ListAssociationsFirewallPolicyRequest 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 |
FirewallPoliciesListAssociationsResponse | The response received from the server. |
ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPoliciesListAssociationsResponse> ListAssociationsAsync(ListAssociationsFirewallPolicyRequest request, CallOptions options)
Lists associations of a specified target, i.e., organization or folder.
Parameters | |
---|---|
Name | Description |
request | ListAssociationsFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<FirewallPoliciesListAssociationsResponse> | The call object. |
ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPoliciesListAssociationsResponse> ListAssociationsAsync(ListAssociationsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists associations of a specified target, i.e., organization or folder.
Parameters | |
---|---|
Name | Description |
request | ListAssociationsFirewallPolicyRequest 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<FirewallPoliciesListAssociationsResponse> | The call object. |
ListAsync(ListFirewallPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListFirewallPoliciesRequest request, CallOptions options)
Lists all the policies that have been configured for the specified folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListFirewallPoliciesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<FirewallPolicyList> | The call object. |
ListAsync(ListFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all the policies that have been configured for the specified folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListFirewallPoliciesRequest 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. |
Move(MoveFirewallPolicyRequest, CallOptions)
public virtual Operation Move(MoveFirewallPolicyRequest request, CallOptions options)
Moves the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | MoveFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Move(MoveFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Move(MoveFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Moves the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | MoveFirewallPolicyRequest 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. |
MoveAsync(MoveFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> MoveAsync(MoveFirewallPolicyRequest request, CallOptions options)
Moves the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | MoveFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
MoveAsync(MoveFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> MoveAsync(MoveFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Moves the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | MoveFirewallPolicyRequest 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. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override FirewallPolicies.FirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
FirewallPolicies.FirewallPoliciesClient |
Patch(PatchFirewallPolicyRequest, CallOptions)
public virtual Operation Patch(PatchFirewallPolicyRequest request, CallOptions options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | PatchFirewallPolicyRequest 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(PatchFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | PatchFirewallPolicyRequest 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(PatchFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchFirewallPolicyRequest request, CallOptions options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | PatchFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | PatchFirewallPolicyRequest 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(PatchRuleFirewallPolicyRequest, CallOptions)
public virtual Operation PatchRule(PatchRuleFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleFirewallPolicyRequest 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(PatchRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation PatchRule(PatchRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleFirewallPolicyRequest 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(PatchRuleFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleFirewallPolicyRequest request, CallOptions options)
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchRuleAsync(PatchRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Patches a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | PatchRuleFirewallPolicyRequest 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(RemoveAssociationFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveAssociation(RemoveAssociationFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationFirewallPolicyRequest 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(RemoveAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveAssociation(RemoveAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationFirewallPolicyRequest 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(RemoveAssociationFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest request, CallOptions options)
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes an association for the specified firewall policy.
Parameters | |
---|---|
Name | Description |
request | RemoveAssociationFirewallPolicyRequest 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(RemoveRuleFirewallPolicyRequest, CallOptions)
public virtual Operation RemoveRule(RemoveRuleFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleFirewallPolicyRequest 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(RemoveRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveRule(RemoveRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleFirewallPolicyRequest 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(RemoveRuleFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleFirewallPolicyRequest request, CallOptions options)
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RemoveRuleAsync(RemoveRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a rule of the specified priority.
Parameters | |
---|---|
Name | Description |
request | RemoveRuleFirewallPolicyRequest 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(SetIamPolicyFirewallPolicyRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyFirewallPolicyRequest 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(SetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyFirewallPolicyRequest 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(SetIamPolicyFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyFirewallPolicyRequest 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(TestIamPermissionsFirewallPolicyRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsFirewallPolicyRequest 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(TestIamPermissionsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsFirewallPolicyRequest 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(TestIamPermissionsFirewallPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsFirewallPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsFirewallPolicyRequest 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. |