- [Resource: NativeDashboard](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.SCHEMA_REPRESENTATION)
  - [DashboardDefinition](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardDefinition)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardDefinition.SCHEMA_REPRESENTATION)
  - [DashboardFilter](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardFilter)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardFilter.SCHEMA_REPRESENTATION)
  - [AdvancedFilterConfig](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.AdvancedFilterConfig)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.AdvancedFilterConfig.SCHEMA_REPRESENTATION)
  - [ValueSource](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ValueSource)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ValueSource.SCHEMA_REPRESENTATION)
  - [ManualOptions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ManualOptions)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ManualOptions.SCHEMA_REPRESENTATION)
  - [QueryOptions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.QueryOptions)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.QueryOptions.SCHEMA_REPRESENTATION)
  - [ChartConfig](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartConfig)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartConfig.SCHEMA_REPRESENTATION)
  - [ChartLayout](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartLayout)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartLayout.SCHEMA_REPRESENTATION)
  - [DashboardType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardType)
  - [DashboardUserData](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardUserData)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardUserData.SCHEMA_REPRESENTATION)
  - [DashboardAccess](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardAccess)
- [Methods](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#METHODS_SUMMARY)

## Resource: NativeDashboard

NativeDashboard resource.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "definition": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardDefinition`) }, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardType`), "createTime": string, "updateTime": string, "createUserId": string, "updateUserId": string, "dashboardUserData": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardUserData`) }, "etag": string, "access": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardAccess`), "objectAccessMetadata": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ObjectAccessMetadata`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the dashboard. |
| `displayName` | `string` Required. Dashboard display name/title visible to users. |
| `description` | `string` Optional. Description of the dashboard. |
| `definition` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardDefinition`)`` Optional. Definition of the dashboard like metadata, visualization and datasource configuration etc. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardType`)`` Output only. Whether it's an out of the box or custom created dashboard. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Creation time of dashboard. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time the dashboard was last edited. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `createUserId` | `string` Output only. User who created the dashboard. |
| `updateUserId` | `string` Output only. User who last edited the dashboard. |
| `dashboardUserData` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardUserData`)`` Output only. User Preferences for a dashboard |
| `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. |
| `access` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardAccess`)`` Output only. Access of the dashboard |
| `objectAccessMetadata` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ObjectAccessMetadata`)`` Output only. Access metadata of the dashboard. |

### DashboardDefinition

Definition of the dashboard including filters, layout, charts' configurations.

| JSON representation |
|---|
| ``` { "filters": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardFilter`) } ], "fingerprint": string, "charts": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartConfig`) } ] } ``` |

| Fields ||
|---|---|
| `filters[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.DashboardFilter`)`` Filters for the dashboard. |
| `fingerprint` | `string` Fingerprint of the dashboard definition. |
| `charts[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartConfig`)`` Charts in the dashboard. |

### DashboardFilter

Dashboard level filter that can be used in native dashboards as well as inputs to execute query.

| JSON representation |
|---|
| ``` { "id": string, "dataSource": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/DataSource`), "fieldPath": string, "filterOperatorAndFieldValues": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FilterOperatorAndValues`) } ], "displayName": string, "chartIds": [ string ], "isStandardTimeRangeFilter": boolean, "isMandatory": boolean, "advancedFilterConfig": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.AdvancedFilterConfig`) }, "isStandardTimeRangeFilterEnabled": boolean } ``` |

| Fields ||
|---|---|
| `id` | `string` ID of the filter. |
| `dataSource` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/DataSource`)`` Datasource the filter is applicable for. |
| `fieldPath` | `string` Filter field path. |
| `filterOperatorAndFieldValues[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FilterOperatorAndValues`)`` Operator and values. Can include multiple modifiers. |
| `displayName` | `string` Display name of the filter. |
| `chartIds[]` | `string` Chart IDs the filter is applicable for. |
| `isStandardTimeRangeFilter` | `boolean` Optional. Whether the filter is a standard time range filter, meaning that it has to be used as the query time range, and not as a predicate in the query. A chart can have at most one standard time range filter applied. |
| `isMandatory` | `boolean` Optional. Whether this filter is required to be populated by the dashboard consumer prior to the dashboard loading. |
| `advancedFilterConfig` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.AdvancedFilterConfig`)`` Optional. Advanced filter configuration for the filter widget. |
| `isStandardTimeRangeFilterEnabled` | `boolean` Optional. Whether this standard time range filter is enabled. |

### AdvancedFilterConfig

Advanced filter configuration for the filter widget.

| JSON representation |
|---|
| ``` { "token": string, "prefix": string, "suffix": string, "separator": string, "multipleAllowed": boolean, "defaultValues": [ string ], "skipDefaultAffixes": boolean, "valueSource": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ValueSource`) } } ``` |

| Fields ||
|---|---|
| `token` | `string` Required. The token name to look for in the query (e.g., "hostname"). The system will automatically wrap this in '$' (e.g., "$hostname$"). |
| `prefix` | `string` Optional. String to prepend to the final replaced value (e.g., "/", "\^(", """). |
| `suffix` | `string` Optional. String to append to the final replaced value (e.g., "/", ")$", """). |
| `separator` | `string` Optional. Delimiter to join multiple selected values (e.g., "\|", " OR field = "). |
| `multipleAllowed` | `boolean` Optional. Whether to allow selection of multiple values. |
| `defaultValues[]` | `string` Optional. Default values to use if no value is selected/provided. |
| `skipDefaultAffixes` | `boolean` Optional. Whether to skip the configured prefix and suffix when using default values. If true, default values are inserted raw (joined by the separator). |
| `valueSource` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ValueSource`)`` Required. Source of the values for the filter. |

### ValueSource

Source of the values for the filter.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "manualOptions": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ManualOptions`) }, "queryOptions": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.QueryOptions`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| Source of the values for the filter. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `manualOptions` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ManualOptions`)`` Optional. Manual options provided by the user. |
| `queryOptions` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.QueryOptions`)`` Optional. Query options to fetch the values from the query engine. This is used for the filter's population query. |
| End of mutually exclusive fields. ||

### ManualOptions

Manual options provided by the user.

| JSON representation |
|---|
| ``` { "options": [ string ] } ``` |

| Fields ||
|---|---|
| `options[]` | `string` Optional. The options provided by the user. The max number of options is limited to 10000. |

### QueryOptions

Query options to fetch the values from the query engine. This is used for the filter's population query.

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

| Fields ||
|---|---|
| `query` | `string` Required. The query to execute to fetch the values. |
| `column` | `string` Required. The column name to use for the values. |
| `globalTimeFilterEnabled` | `boolean` Optional. Enable global time filter |
| `input` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Input`)`` Optional. Time range input specifically for the filter's population query. |
| `dialect` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/QueryDialect`)`` Optional. The dialect of the query. |

### ChartConfig

Configuration of the chart including chart reference, layout and filters.

| JSON representation |
|---|
| ``` { "dashboardChart": string, "chartLayout": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartLayout`) }, "filtersIds": [ string ] } ``` |

| Fields ||
|---|---|
| `dashboardChart` | `string` |
| `chartLayout` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards#NativeDashboard.ChartLayout`)`` |
| `filtersIds[]` | `string` Dashboard filters applied to the chart. |

### ChartLayout

Layout of the chart.

| JSON representation |
|---|
| ``` { "spanX": integer, "spanY": integer, "startX": integer, "startY": integer } ``` |

| Fields ||
|---|---|
| `spanX` | `integer` |
| `spanY` | `integer` |
| `startX` | `integer` |
| `startY` | `integer` |

### DashboardType

Type of the dashboard.

| Enums ||
|---|---|
| `DASHBOARD_TYPE_UNSPECIFIED` | Default unspecified. |
| `CURATED` | Out of the box curated dashboards provided by Chronicle. |
| `PRIVATE` | Private dashboards created by users/customers. |
| `PUBLIC` | Public dashboards created by users/customers. |
| `CUSTOM` | Custom dashboards |
| `MARKETPLACE` | Marketplace dashboards |

### DashboardUserData

User Data for Native Dashboard

| JSON representation |
|---|
| ``` { "lastViewedTime": string, "isPinned": boolean } ``` |

| Fields ||
|---|---|
| `lastViewedTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` time when this dashboard is last viewed Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `isPinned` | `boolean` is dashboard pinned by user |

### DashboardAccess

AccessType of the dashboard.

| Enums ||
|---|---|
| `DASHBOARD_ACCESS_UNSPECIFIED` | Default unspecified. |
| `DASHBOARD_PRIVATE` | Private dashboards created by users/customers. |
| `DASHBOARD_PUBLIC` | Public dashboards created by users/customers. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/addChart` | Add chart in a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/create` | Create a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/delete` | Delete a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/duplicate` | Duplicate a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/duplicateChart` | Duplicate chart in a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/editChart` | Edit chart in a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/export` | Exports the dashboards. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/get` | Get a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/getIamPolicy` | Gets the IAM access control policy for a supported resource. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/import` | Imports the dashboards. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/list` | List all dashboards. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/manageLease` | Manages dashboard lease for auto-refreshing charts. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/patch` | Update a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/removeChart` | Remove chart from a dashboard. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/setIamPolicy` | Sets the IAM access control policy on a specified resource. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.nativeDashboards/transferOwnership` | Transfers ownership of a specified resource to a new principal. |