1.2.0 (latest) 1.1.0 1.0.0

    public sealed class DashboardQueryServiceClientImpl : DashboardQueryServiceClient

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

DashboardQueryService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [DashboardQueryServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient) \> DashboardQueryServiceClientImpl

## Inherited Members

[DashboardQueryServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_DefaultEndpoint) [DashboardQueryServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_DefaultScopes) [DashboardQueryServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ServiceMetadata) [DashboardQueryServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_CreateAsync_System_Threading_CancellationToken_) [DashboardQueryServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_Create) [DashboardQueryServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ShutdownDefaultChannelsAsync) [DashboardQueryServiceClient.GetDashboardQueryAsync(GetDashboardQueryRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_Google_Cloud_Chronicle_V1_GetDashboardQueryRequest_System_Threading_CancellationToken_) [DashboardQueryServiceClient.GetDashboardQuery(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQuery_System_String_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.GetDashboardQueryAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.GetDashboardQueryAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_System_String_System_Threading_CancellationToken_) [DashboardQueryServiceClient.GetDashboardQuery(DashboardQueryName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQuery_Google_Cloud_Chronicle_V1_DashboardQueryName_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.GetDashboardQueryAsync(DashboardQueryName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_Google_Cloud_Chronicle_V1_DashboardQueryName_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.GetDashboardQueryAsync(DashboardQueryName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_Google_Cloud_Chronicle_V1_DashboardQueryName_System_Threading_CancellationToken_) [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(ExecuteDashboardQueryRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_Google_Cloud_Chronicle_V1_ExecuteDashboardQueryRequest_System_Threading_CancellationToken_) [DashboardQueryServiceClient.ExecuteDashboardQuery(string, DashboardQuery, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQuery_System_String_Google_Cloud_Chronicle_V1_DashboardQuery_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(string, DashboardQuery, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_System_String_Google_Cloud_Chronicle_V1_DashboardQuery_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(string, DashboardQuery, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_System_String_Google_Cloud_Chronicle_V1_DashboardQuery_System_Threading_CancellationToken_) [DashboardQueryServiceClient.ExecuteDashboardQuery(InstanceName, DashboardQuery, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQuery_Google_Cloud_Chronicle_V1_InstanceName_Google_Cloud_Chronicle_V1_DashboardQuery_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(InstanceName, DashboardQuery, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_Google_Cloud_Chronicle_V1_InstanceName_Google_Cloud_Chronicle_V1_DashboardQuery_Google_Api_Gax_Grpc_CallSettings_) [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(InstanceName, DashboardQuery, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_Google_Cloud_Chronicle_V1_InstanceName_Google_Cloud_Chronicle_V1_DashboardQuery_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [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)

## Assembly

Google.Cloud.Chronicle.V1.dll

## Remarks

A service providing functionality for managing dashboards' queries.

## Constructors

### DashboardQueryServiceClientImpl(DashboardQueryServiceClient, DashboardQueryServiceSettings, ILogger)

    public DashboardQueryServiceClientImpl(DashboardQueryService.DashboardQueryServiceClient grpcClient, DashboardQueryServiceSettings settings, ILogger logger)

Constructs a client wrapper for the DashboardQueryService service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryService.DashboardQueryServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceSettings` The base [DashboardQueryServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override DashboardQueryService.DashboardQueryServiceClient GrpcClient { get; }

The underlying gRPC DashboardQueryService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryService.DashboardQueryServiceClient` |   |

**Overrides** [DashboardQueryServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GrpcClient)

## Methods

### ExecuteDashboardQuery(ExecuteDashboardQueryRequest, CallSettings)

    public override ExecuteDashboardQueryResponse ExecuteDashboardQuery(ExecuteDashboardQueryRequest request, CallSettings callSettings = null)

Execute a query and return the data.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ExecuteDashboardQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ExecuteDashboardQueryResponse` | The RPC response. |

**Overrides** [DashboardQueryServiceClient.ExecuteDashboardQuery(ExecuteDashboardQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQuery_Google_Cloud_Chronicle_V1_ExecuteDashboardQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExecuteDashboardQueryAsync(ExecuteDashboardQueryRequest, CallSettings)

    public override Task<ExecuteDashboardQueryResponse> ExecuteDashboardQueryAsync(ExecuteDashboardQueryRequest request, CallSettings callSettings = null)

Execute a query and return the data.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ExecuteDashboardQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ExecuteDashboardQueryResponse` | A Task containing the RPC response. |

**Overrides** [DashboardQueryServiceClient.ExecuteDashboardQueryAsync(ExecuteDashboardQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_ExecuteDashboardQueryAsync_Google_Cloud_Chronicle_V1_ExecuteDashboardQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDashboardQuery(GetDashboardQueryRequest, CallSettings)

    public override DashboardQuery GetDashboardQuery(GetDashboardQueryRequest request, CallSettings callSettings = null)

Get a dashboard query.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetDashboardQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQuery` | The RPC response. |

**Overrides** [DashboardQueryServiceClient.GetDashboardQuery(GetDashboardQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQuery_Google_Cloud_Chronicle_V1_GetDashboardQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDashboardQueryAsync(GetDashboardQueryRequest, CallSettings)

    public override Task<DashboardQuery> GetDashboardQueryAsync(GetDashboardQueryRequest request, CallSettings callSettings = null)

Get a dashboard query.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetDashboardQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQuery` | A Task containing the RPC response. |

**Overrides** [DashboardQueryServiceClient.GetDashboardQueryAsync(GetDashboardQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryServiceClient#Google_Cloud_Chronicle_V1_DashboardQueryServiceClient_GetDashboardQueryAsync_Google_Cloud_Chronicle_V1_GetDashboardQueryRequest_Google_Api_Gax_Grpc_CallSettings_)