1.2.0 (latest) 1.1.0 1.0.0

    public class RuleService.RuleServiceClient : ClientBase<RuleService.RuleServiceClient>

Reference documentation and code samples for the Chronicle v1 API class RuleService.RuleServiceClient.

Client for RuleService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[RuleService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleService.md.txt)[RuleServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleService.RuleServiceClient.md.txt) \> RuleService.RuleServiceClient

## Inherited Members

[ClientBase\<RuleService.RuleServiceClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Chronicle.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.md.txt)

## Assembly

Google.Cloud.Chronicle.V1.dll

## Constructors

### RuleServiceClient()

    protected RuleServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### RuleServiceClient(CallInvoker)

    public RuleServiceClient(CallInvoker callInvoker)

Creates a new client for RuleService that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### RuleServiceClient(ChannelBase)

    public RuleServiceClient(ChannelBase channel)

Creates a new client for RuleService

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### RuleServiceClient(ClientBaseConfiguration)

    protected RuleServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateOperationsClient()

    public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | A new Operations client for the same target as this client. |

### CreateRetrohunt(CreateRetrohuntRequest, CallOptions)

    public virtual Operation CreateRetrohunt(CreateRetrohuntRequest request, CallOptions options)

Create a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRetrohuntRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateRetrohunt(CreateRetrohuntRequest, Metadata, DateTime?, CancellationToken)

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

Create a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRetrohuntRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateRetrohuntAsync(CreateRetrohuntRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateRetrohuntAsync(CreateRetrohuntRequest request, CallOptions options)

Create a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRetrohuntRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateRetrohuntAsync(CreateRetrohuntRequest, Metadata, DateTime?, CancellationToken)

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

Create a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRetrohuntRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateRule(CreateRuleRequest, CallOptions)

    public virtual Rule CreateRule(CreateRuleRequest request, CallOptions options)

Creates a new Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### CreateRule(CreateRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual Rule CreateRule(CreateRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### CreateRuleAsync(CreateRuleRequest, CallOptions)

    public virtual AsyncUnaryCall<Rule> CreateRuleAsync(CreateRuleRequest request, CallOptions options)

Creates a new Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### CreateRuleAsync(CreateRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Rule> CreateRuleAsync(CreateRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### DeleteRule(DeleteRuleRequest, CallOptions)

    public virtual Empty DeleteRule(DeleteRuleRequest request, CallOptions options)

Deletes a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### DeleteRule(DeleteRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual Empty DeleteRule(DeleteRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### DeleteRuleAsync(DeleteRuleRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> DeleteRuleAsync(DeleteRuleRequest request, CallOptions options)

Deletes a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### DeleteRuleAsync(DeleteRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Empty> DeleteRuleAsync(DeleteRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### GetRetrohunt(GetRetrohuntRequest, CallOptions)

    public virtual Retrohunt GetRetrohunt(GetRetrohuntRequest request, CallOptions options)

Get a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRetrohuntRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Retrohunt` | The response received from the server. |

### GetRetrohunt(GetRetrohuntRequest, Metadata, DateTime?, CancellationToken)

    public virtual Retrohunt GetRetrohunt(GetRetrohuntRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRetrohuntRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Retrohunt` | The response received from the server. |

### GetRetrohuntAsync(GetRetrohuntRequest, CallOptions)

    public virtual AsyncUnaryCall<Retrohunt> GetRetrohuntAsync(GetRetrohuntRequest request, CallOptions options)

Get a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRetrohuntRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRetrohunt` | The call object. |

### GetRetrohuntAsync(GetRetrohuntRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Retrohunt> GetRetrohuntAsync(GetRetrohuntRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a Retrohunt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRetrohuntRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRetrohunt` | The call object. |

### GetRule(GetRuleRequest, CallOptions)

    public virtual Rule GetRule(GetRuleRequest request, CallOptions options)

Gets a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### GetRule(GetRuleRequest, Metadata, DateTime?, CancellationToken)

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

Gets a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### GetRuleAsync(GetRuleRequest, CallOptions)

    public virtual AsyncUnaryCall<Rule> GetRuleAsync(GetRuleRequest request, CallOptions options)

Gets a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### GetRuleAsync(GetRuleRequest, Metadata, DateTime?, CancellationToken)

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

Gets a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### GetRuleDeployment(GetRuleDeploymentRequest, CallOptions)

    public virtual RuleDeployment GetRuleDeployment(GetRuleDeploymentRequest request, CallOptions options)

Gets a RuleDeployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleDeploymentRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RuleDeployment` | The response received from the server. |

### GetRuleDeployment(GetRuleDeploymentRequest, Metadata, DateTime?, CancellationToken)

    public virtual RuleDeployment GetRuleDeployment(GetRuleDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a RuleDeployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleDeploymentRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RuleDeployment` | The response received from the server. |

### GetRuleDeploymentAsync(GetRuleDeploymentRequest, CallOptions)

    public virtual AsyncUnaryCall<RuleDeployment> GetRuleDeploymentAsync(GetRuleDeploymentRequest request, CallOptions options)

Gets a RuleDeployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleDeploymentRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRuleDeployment` | The call object. |

### GetRuleDeploymentAsync(GetRuleDeploymentRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<RuleDeployment> GetRuleDeploymentAsync(GetRuleDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a RuleDeployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRuleDeploymentRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRuleDeployment` | The call object. |

### ListRetrohunts(ListRetrohuntsRequest, CallOptions)

    public virtual ListRetrohuntsResponse ListRetrohunts(ListRetrohuntsRequest request, CallOptions options)

List Retrohunts.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRetrohuntsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRetrohuntsResponse` | The response received from the server. |

### ListRetrohunts(ListRetrohuntsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListRetrohuntsResponse ListRetrohunts(ListRetrohuntsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List Retrohunts.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRetrohuntsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRetrohuntsResponse` | The response received from the server. |

### ListRetrohuntsAsync(ListRetrohuntsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListRetrohuntsResponse> ListRetrohuntsAsync(ListRetrohuntsRequest request, CallOptions options)

List Retrohunts.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRetrohuntsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRetrohuntsResponse` | The call object. |

### ListRetrohuntsAsync(ListRetrohuntsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListRetrohuntsResponse> ListRetrohuntsAsync(ListRetrohuntsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List Retrohunts.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRetrohuntsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRetrohuntsResponse` | The call object. |

### ListRuleDeployments(ListRuleDeploymentsRequest, CallOptions)

    public virtual ListRuleDeploymentsResponse ListRuleDeployments(ListRuleDeploymentsRequest request, CallOptions options)

Lists RuleDeployments across all Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleDeploymentsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRuleDeploymentsResponse` | The response received from the server. |

### ListRuleDeployments(ListRuleDeploymentsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListRuleDeploymentsResponse ListRuleDeployments(ListRuleDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists RuleDeployments across all Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleDeploymentsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRuleDeploymentsResponse` | The response received from the server. |

### ListRuleDeploymentsAsync(ListRuleDeploymentsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListRuleDeploymentsResponse> ListRuleDeploymentsAsync(ListRuleDeploymentsRequest request, CallOptions options)

Lists RuleDeployments across all Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleDeploymentsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRuleDeploymentsResponse` | The call object. |

### ListRuleDeploymentsAsync(ListRuleDeploymentsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListRuleDeploymentsResponse> ListRuleDeploymentsAsync(ListRuleDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists RuleDeployments across all Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleDeploymentsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRuleDeploymentsResponse` | The call object. |

### ListRuleRevisions(ListRuleRevisionsRequest, CallOptions)

    public virtual ListRuleRevisionsResponse ListRuleRevisions(ListRuleRevisionsRequest request, CallOptions options)

Lists all revisions of the rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleRevisionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRuleRevisionsResponse` | The response received from the server. |

### ListRuleRevisions(ListRuleRevisionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListRuleRevisionsResponse ListRuleRevisions(ListRuleRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of the rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleRevisionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRuleRevisionsResponse` | The response received from the server. |

### ListRuleRevisionsAsync(ListRuleRevisionsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListRuleRevisionsResponse> ListRuleRevisionsAsync(ListRuleRevisionsRequest request, CallOptions options)

Lists all revisions of the rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleRevisionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRuleRevisionsResponse` | The call object. |

### ListRuleRevisionsAsync(ListRuleRevisionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListRuleRevisionsResponse> ListRuleRevisionsAsync(ListRuleRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of the rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuleRevisionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRuleRevisionsResponse` | The call object. |

### ListRules(ListRulesRequest, CallOptions)

    public virtual ListRulesResponse ListRules(ListRulesRequest request, CallOptions options)

Lists Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRulesRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRulesResponse` | The response received from the server. |

### ListRules(ListRulesRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListRulesResponse ListRules(ListRulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRulesRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListRulesResponse` | The response received from the server. |

### ListRulesAsync(ListRulesRequest, CallOptions)

    public virtual AsyncUnaryCall<ListRulesResponse> ListRulesAsync(ListRulesRequest request, CallOptions options)

Lists Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRulesRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRulesResponse` | The call object. |

### ListRulesAsync(ListRulesRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListRulesResponse> ListRulesAsync(ListRulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Rules.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRulesRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListRulesResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override RuleService.RuleServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RuleServiceRuleServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.Chronicle.V1.RuleService.RuleServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### UpdateRule(UpdateRuleRequest, CallOptions)

    public virtual Rule UpdateRule(UpdateRuleRequest request, CallOptions options)

Updates a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### UpdateRule(UpdateRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual Rule UpdateRule(UpdateRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rule` | The response received from the server. |

### UpdateRuleAsync(UpdateRuleRequest, CallOptions)

    public virtual AsyncUnaryCall<Rule> UpdateRuleAsync(UpdateRuleRequest request, CallOptions options)

Updates a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### UpdateRuleAsync(UpdateRuleRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Rule> UpdateRuleAsync(UpdateRuleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a Rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRule` | The call object. |

### UpdateRuleDeployment(UpdateRuleDeploymentRequest, CallOptions)

    public virtual RuleDeployment UpdateRuleDeployment(UpdateRuleDeploymentRequest request, CallOptions options)

Updates a RuleDeployment.
Failures are not necessarily atomic. If there is a request to update
multiple fields, and any update to a single field fails, an error will be
returned, but other fields may remain successfully updated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleDeploymentRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RuleDeployment` | The response received from the server. |

### UpdateRuleDeployment(UpdateRuleDeploymentRequest, Metadata, DateTime?, CancellationToken)

    public virtual RuleDeployment UpdateRuleDeployment(UpdateRuleDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a RuleDeployment.
Failures are not necessarily atomic. If there is a request to update
multiple fields, and any update to a single field fails, an error will be
returned, but other fields may remain successfully updated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleDeploymentRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RuleDeployment` | The response received from the server. |

### UpdateRuleDeploymentAsync(UpdateRuleDeploymentRequest, CallOptions)

    public virtual AsyncUnaryCall<RuleDeployment> UpdateRuleDeploymentAsync(UpdateRuleDeploymentRequest request, CallOptions options)

Updates a RuleDeployment.
Failures are not necessarily atomic. If there is a request to update
multiple fields, and any update to a single field fails, an error will be
returned, but other fields may remain successfully updated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleDeploymentRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRuleDeployment` | The call object. |

### UpdateRuleDeploymentAsync(UpdateRuleDeploymentRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<RuleDeployment> UpdateRuleDeploymentAsync(UpdateRuleDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a RuleDeployment.
Failures are not necessarily atomic. If there is a request to update
multiple fields, and any update to a single field fails, an error will be
returned, but other fields may remain successfully updated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateRuleDeploymentRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallRuleDeployment` | The call object. |

### VerifyRuleText(VerifyRuleTextRequest, CallOptions)

    public virtual VerifyRuleTextResponse VerifyRuleText(VerifyRuleTextRequest request, CallOptions options)

Verifies the given rule text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `VerifyRuleTextRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `VerifyRuleTextResponse` | The response received from the server. |

### VerifyRuleText(VerifyRuleTextRequest, Metadata, DateTime?, CancellationToken)

    public virtual VerifyRuleTextResponse VerifyRuleText(VerifyRuleTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Verifies the given rule text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `VerifyRuleTextRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `VerifyRuleTextResponse` | The response received from the server. |

### VerifyRuleTextAsync(VerifyRuleTextRequest, CallOptions)

    public virtual AsyncUnaryCall<VerifyRuleTextResponse> VerifyRuleTextAsync(VerifyRuleTextRequest request, CallOptions options)

Verifies the given rule text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `VerifyRuleTextRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallVerifyRuleTextResponse` | The call object. |

### VerifyRuleTextAsync(VerifyRuleTextRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<VerifyRuleTextResponse> VerifyRuleTextAsync(VerifyRuleTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Verifies the given rule text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `VerifyRuleTextRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallVerifyRuleTextResponse` | The call object. |