Class RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient (1.2.0)

public class RegionNetworkFirewallPoliciesClient : ClientBase<RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient>

Client for RegionNetworkFirewallPolicies

Inheritance

Object > ClientBase > ClientBase<RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient> > RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionNetworkFirewallPoliciesClient()

protected RegionNetworkFirewallPoliciesClient()

Protected parameterless constructor to allow creation of test doubles.

RegionNetworkFirewallPoliciesClient(CallInvoker)

public RegionNetworkFirewallPoliciesClient(CallInvoker callInvoker)

Creates a new client for RegionNetworkFirewallPolicies that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionNetworkFirewallPoliciesClient(ChannelBase)

public RegionNetworkFirewallPoliciesClient(ChannelBase channel)

Creates a new client for RegionNetworkFirewallPolicies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionNetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration)

protected RegionNetworkFirewallPoliciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

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(AddAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AddAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Inserts an association for the specified network firewall policy.

Parameters
NameDescription
requestAddAssociationRegionNetworkFirewallPolicyRequest

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(AddRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation AddRule(AddRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

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(AddRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AddRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Inserts a rule into a network firewall policy.

Parameters
NameDescription
requestAddRuleRegionNetworkFirewallPolicyRequest

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(CloneRulesRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest request, CallOptions options)

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

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(CloneRulesRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest request, CallOptions options)

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Copies rules to the specified network firewall policy.

Parameters
NameDescription
requestCloneRulesRegionNetworkFirewallPolicyRequest

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.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

Delete(DeleteRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation Delete(DeleteRegionNetworkFirewallPolicyRequest request, CallOptions options)

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

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(DeleteRegionNetworkFirewallPolicyRequest, CallOptions)

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

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified network firewall policy.

Parameters
NameDescription
requestDeleteRegionNetworkFirewallPolicyRequest

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(GetRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual FirewallPolicy Get(GetRegionNetworkFirewallPolicyRequest request, CallOptions options)

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicy

The response received from the server.

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

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

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

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(GetAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual FirewallPolicyAssociation GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyAssociation

The response received from the server.

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

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

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

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(GetAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<FirewallPolicyAssociation> GetAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyAssociation>

The call object.

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

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

Gets an association with the specified name.

Parameters
NameDescription
requestGetAssociationRegionNetworkFirewallPolicyRequest

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(GetRegionNetworkFirewallPolicyRequest, CallOptions)

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

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicy>

The call object.

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

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

Returns the specified network firewall policy.

Parameters
NameDescription
requestGetRegionNetworkFirewallPolicyRequest

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.

GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallOptions options)

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

The response received from the server.

GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

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
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

The response received from the server.

GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, CallOptions options)

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>

The call object.

GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the effective firewalls on a given network.

Parameters
NameDescription
requestGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest

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<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>

The call object.

GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

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

public virtual Policy GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest 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
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

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(GetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

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

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest 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
requestGetIamPolicyRegionNetworkFirewallPolicyRequest

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(GetRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual FirewallPolicyRule GetRule(GetRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyRule

The response received from the server.

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

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

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

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(GetRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<FirewallPolicyRule> GetRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyRule>

The call object.

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

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

Gets a rule of the specified priority.

Parameters
NameDescription
requestGetRuleRegionNetworkFirewallPolicyRequest

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(InsertRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation Insert(InsertRegionNetworkFirewallPolicyRequest request, CallOptions options)

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

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(InsertRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNetworkFirewallPolicyRequest request, CallOptions options)

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a new network firewall policy in the specified project and region.

Parameters
NameDescription
requestInsertRegionNetworkFirewallPolicyRequest

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(ListRegionNetworkFirewallPoliciesRequest, CallOptions)

public virtual FirewallPolicyList List(ListRegionNetworkFirewallPoliciesRequest request, CallOptions options)

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FirewallPolicyList

The response received from the server.

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

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

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

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.

ListAsync(ListRegionNetworkFirewallPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<FirewallPolicyList> ListAsync(ListRegionNetworkFirewallPoliciesRequest request, CallOptions options)

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FirewallPolicyList>

The call object.

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

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

Lists all the network firewall policies that have been configured for the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkFirewallPoliciesRequest

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.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionNetworkFirewallPolicies.RegionNetworkFirewallPoliciesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation Patch(PatchRegionNetworkFirewallPolicyRequest request, CallOptions options)

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

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(PatchRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionNetworkFirewallPolicyRequest request, CallOptions options)

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Patches the specified network firewall policy.

Parameters
NameDescription
requestPatchRegionNetworkFirewallPolicyRequest

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(PatchRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

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(PatchRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Patches a rule of the specified priority.

Parameters
NameDescription
requestPatchRuleRegionNetworkFirewallPolicyRequest

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(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

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(RemoveAssociationRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RemoveAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest request, CallOptions options)

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Removes an association for the specified network firewall policy.

Parameters
NameDescription
requestRemoveAssociationRegionNetworkFirewallPolicyRequest

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(RemoveRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Operation RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

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(RemoveRuleRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RemoveRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest request, CallOptions options)

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes a rule of the specified priority.

Parameters
NameDescription
requestRemoveRuleRegionNetworkFirewallPolicyRequest

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(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

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

public virtual Policy SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest 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
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

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(SetIamPolicyRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest request, CallOptions options)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

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

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest 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
requestSetIamPolicyRegionNetworkFirewallPolicyRequest

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(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallOptions options)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestPermissionsResponse

The response received from the server.

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

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

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(TestIamPermissionsRegionNetworkFirewallPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest request, CallOptions options)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.

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

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionNetworkFirewallPolicyRequest

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.