- [Resource: DashboardQuery](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardQueries#DashboardQuery)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardQueries#DashboardQuery.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardQueries#METHODS_SUMMARY)

## Resource: DashboardQuery

DashboardQuery resource.

| JSON representation |
|---|
| ``` { "name": string, "query": string, "input": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Input`) }, "dashboardChart": string, "etag": string, "dialect": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/QueryDialect`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the dashboardQuery. |
| `query` | `string` Required. Search query string. |
| `input` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Input`)`` Required. Inputs to the query. |
| `dashboardChart` | `string` Output only. DashboardChart this query belongs to. |
| `etag` | `string` Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `dialect` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/QueryDialect`)`` Optional. Specifies how to parse the 'query' string. If not specified, the query will be parsed as YL2. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardQueries/execute` | Execute a query and return the data. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardQueries/get` | Get a dashboard query. |