Class FirewallPolicies.FirewallPoliciesClient (1.1.0)

public class FirewallPoliciesClient : ClientBase<FirewallPolicies.FirewallPoliciesClient>

Client for FirewallPolicies

Inheritance

Object > ClientBase > ClientBase<FirewallPolicies.FirewallPoliciesClient> > FirewallPolicies.FirewallPoliciesClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

FirewallPoliciesClient(ChannelBase)

public FirewallPoliciesClient(ChannelBase channel)

Creates a new client for FirewallPolicies

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
NameDescription
requestAddAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddAssociation(AddAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation AddAssociation(AddAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inserts an association for the specified firewall policy.

Parameters
NameDescription
requestAddAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestAddAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

AddAssociationAsync(AddAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inserts an association for the specified firewall policy.

Parameters
NameDescription
requestAddAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

AddRule(AddRuleFirewallPolicyRequest, CallOptions)

public virtual Operation AddRule(AddRuleFirewallPolicyRequest request, CallOptions options)

Inserts a rule into a firewall policy.

Parameters
NameDescription
requestAddRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddRule(AddRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation AddRule(AddRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inserts a rule into a firewall policy.

Parameters
NameDescription
requestAddRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestAddRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

AddRuleAsync(AddRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inserts a rule into a firewall policy.

Parameters
NameDescription
requestAddRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CloneRules(CloneRulesFirewallPolicyRequest, CallOptions)

public virtual Operation CloneRules(CloneRulesFirewallPolicyRequest request, CallOptions options)

Copies rules to the specified firewall policy.

Parameters
NameDescription
requestCloneRulesFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CloneRules(CloneRulesFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CloneRules(CloneRulesFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Copies rules to the specified firewall policy.

Parameters
NameDescription
requestCloneRulesFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCloneRulesFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CloneRulesAsync(CloneRulesFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Copies rules to the specified firewall policy.

Parameters
NameDescription
requestCloneRulesFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
requestDeleteFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Delete(DeleteFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified policy.

Parameters
NameDescription
requestDeleteFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAsync(DeleteFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteFirewallPolicyRequest request, CallOptions options)

Deletes the specified policy.

Parameters
NameDescription
requestDeleteFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified policy.

Parameters
NameDescription
requestDeleteFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

Get(GetFirewallPolicyRequest, CallOptions)

public virtual FirewallPolicy Get(GetFirewallPolicyRequest request, CallOptions options)

Returns the specified firewall policy.

Parameters
NameDescription
requestGetFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicy

The response received from the server.

Get(GetFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FirewallPolicy Get(GetFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified firewall policy.

Parameters
NameDescription
requestGetFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyAssociation

The response received from the server.

GetAssociation(GetAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FirewallPolicyAssociation GetAssociation(GetAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyAssociation>

The call object.

GetAssociationAsync(GetAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyAssociation>

The call object.

GetAsync(GetFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetFirewallPolicyRequest request, CallOptions options)

Returns the specified firewall policy.

Parameters
NameDescription
requestGetFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicy>

The call object.

GetAsync(GetFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FirewallPolicy> GetAsync(GetFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified firewall policy.

Parameters
NameDescription
requestGetFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyFirewallPolicyRequest 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
NameDescription
requestGetIamPolicyFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyFirewallPolicyRequest 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
NameDescription
requestGetIamPolicyFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetRule(GetRuleFirewallPolicyRequest, CallOptions)

public virtual FirewallPolicyRule GetRule(GetRuleFirewallPolicyRequest request, CallOptions options)

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyRule

The response received from the server.

GetRule(GetRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FirewallPolicyRule GetRule(GetRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyRule>

The call object.

GetRuleAsync(GetRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Insert(InsertFirewallPolicyRequest 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
NameDescription
requestInsertFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertFirewallPolicyRequest 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
NameDescription
requestInsertFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListFirewallPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyList

The response received from the server.

List(ListFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FirewallPolicyList List(ListFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists all the policies that have been configured for the specified folder or organization.

Parameters
NameDescription
requestListFirewallPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListAssociationsFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPoliciesListAssociationsResponse

The response received from the server.

ListAssociations(ListAssociationsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FirewallPoliciesListAssociationsResponse ListAssociations(ListAssociationsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists associations of a specified target, i.e., organization or folder.

Parameters
NameDescription
requestListAssociationsFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListAssociationsFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPoliciesListAssociationsResponse>

The call object.

ListAssociationsAsync(ListAssociationsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FirewallPoliciesListAssociationsResponse> ListAssociationsAsync(ListAssociationsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists associations of a specified target, i.e., organization or folder.

Parameters
NameDescription
requestListAssociationsFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListFirewallPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyList>

The call object.

ListAsync(ListFirewallPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListFirewallPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists all the policies that have been configured for the specified folder or organization.

Parameters
NameDescription
requestListFirewallPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyList>

The call object.

Move(MoveFirewallPolicyRequest, CallOptions)

public virtual Operation Move(MoveFirewallPolicyRequest request, CallOptions options)

Moves the specified firewall policy.

Parameters
NameDescription
requestMoveFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Move(MoveFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Move(MoveFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Moves the specified firewall policy.

Parameters
NameDescription
requestMoveFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestMoveFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

MoveAsync(MoveFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> MoveAsync(MoveFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Moves the specified firewall policy.

Parameters
NameDescription
requestMoveFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
FirewallPolicies.FirewallPoliciesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.FirewallPolicies.FirewallPoliciesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchFirewallPolicyRequest, CallOptions)

public virtual Operation Patch(PatchFirewallPolicyRequest request, CallOptions options)

Patches the specified policy with the data included in the request.

Parameters
NameDescription
requestPatchFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Patch(PatchFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches the specified policy with the data included in the request.

Parameters
NameDescription
requestPatchFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestPatchFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches the specified policy with the data included in the request.

Parameters
NameDescription
requestPatchFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchRule(PatchRuleFirewallPolicyRequest, CallOptions)

public virtual Operation PatchRule(PatchRuleFirewallPolicyRequest request, CallOptions options)

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

PatchRule(PatchRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation PatchRule(PatchRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestPatchRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchRuleAsync(PatchRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestRemoveAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveAssociation(RemoveAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation RemoveAssociation(RemoveAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Removes an association for the specified firewall policy.

Parameters
NameDescription
requestRemoveAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestRemoveAssociationFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Removes an association for the specified firewall policy.

Parameters
NameDescription
requestRemoveAssociationFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

RemoveRule(RemoveRuleFirewallPolicyRequest, CallOptions)

public virtual Operation RemoveRule(RemoveRuleFirewallPolicyRequest request, CallOptions options)

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveRule(RemoveRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation RemoveRule(RemoveRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestRemoveRuleFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

RemoveRuleAsync(RemoveRuleFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyFirewallPolicyRequest 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
NameDescription
requestSetIamPolicyFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyFirewallPolicyRequest 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
NameDescription
requestSetIamPolicyFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsFirewallPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.