- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SCHEMA_REPRESENTATION)
- [UiPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiPreferences.SCHEMA_REPRESENTATION)
- [SearchHistory](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchHistory)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchHistory.SCHEMA_REPRESENTATION)
- [RelativeTimeRange](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeRange)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeRange.SCHEMA_REPRESENTATION)
- [RelativeTimeOperator](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeOperator)
- [SearchMode](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchMode)
- [ColumnSet](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#ColumnSet)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#ColumnSet.SCHEMA_REPRESENTATION)
- [DismissibleNotification](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DismissibleNotification)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DismissibleNotification.SCHEMA_REPRESENTATION)
- [SearchPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchPreferences.SCHEMA_REPRESENTATION)
- [DataSampleStrategy](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DataSampleStrategy)
- [UiTablesPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiTablesPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiTablesPreferences.SCHEMA_REPRESENTATION)
- [CasesListPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesListPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesListPreferences.SCHEMA_REPRESENTATION)
- [SortingPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingPreferences.SCHEMA_REPRESENTATION)
- [SortingOrder](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingOrder)
- [FiltersPreferences](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FiltersPreferences)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FiltersPreferences.SCHEMA_REPRESENTATION)
- [FilterLogicalOperator](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterLogicalOperator)
- [TableFilter](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TableFilter)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TableFilter.SCHEMA_REPRESENTATION)
- [FilterType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterType)
- [FilterCompareOperator](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterCompareOperator)
- [CustomTimeRange](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CustomTimeRange)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CustomTimeRange.SCHEMA_REPRESENTATION)
- [TimeRangeValue](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TimeRangeValue)
- [AutosuggestionPreference](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#AutosuggestionPreference)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#AutosuggestionPreference.SCHEMA_REPRESENTATION)
- [CasesViewPreference](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesViewPreference)

A collection of preferences for a user.

| JSON representation |
|---|
| ``` { "name": string, "uiPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiPreferences`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. Resource name. |
| `uiPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiPreferences`)`` Optional. Preferences for UI configuration. |

## UiPreferences

Collection of preferences for UI configuration.

| JSON representation |
|---|
| ``` { "displayTimezone": string, "searchHistory": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchHistory`) } ], "enableSearchHistory": boolean, "columnSets": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#ColumnSet`) } ], "pinnedFields": [ string ], "enableDuetAiChat": boolean, "languageCode": string, "dismissibleNotifications": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DismissibleNotification`) } ], "udmFieldsViewerPinnedFields": [ string ], "enableLabs": boolean, "rulesPreferences": { string: string, ... }, "mitrePreferences": { string: string, ... }, "triageAgentEnabled": boolean, "eventFieldsViewerPreferences": { string: string, ... }, "tablesPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiTablesPreferences`) }, "secopsMcpEnabled": boolean, "autosuggestionPreference": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#AutosuggestionPreference`) }, "simulatedDataVisibility": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardScheduledReports#SimulatedDataVisibility`), "casesViewPreference": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesViewPreference`), "queryLanguage": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`), "searchPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchPreferences`) }, "agenticChatEnabled": boolean } ``` |

| Fields ||
|---|---|
| `displayTimezone` | `string` Optional. Timezone for displaying times to the user. |
| `searchHistory[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchHistory`)`` Optional. Previously run search queries. This will be limited to around 20 queries by the calling UI code. |
| `enableSearchHistory` | `boolean` Optional. Flag for enabling saving search history. True if it is enabled. |
| `columnSets[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#ColumnSet`)`` Optional. A list of ColumnSets saved by the user. |
| `pinnedFields[]` | `string` Optional. A list of fields to pin at the top of the quick filters panel. |
| `enableDuetAiChat` | `boolean` Optional. Indicates the user opt-in setting for Duet AI (Gemini Chat) in Chronicle. True if the user is opted into the chat feature overall. When `enableDuetAiChat` is true, `agenticChatEnabled` controls whether the user uses the new Agentic Chat experience or the legacy chat experience. |
| `languageCode` | `string` Optional. The users's preferred language. -- Set via the URL param hl. -- |
| `dismissibleNotifications[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DismissibleNotification`)`` Optional. A list of notifications that the use can dismiss, or dismissed already. |
| `udmFieldsViewerPinnedFields[]` | `string` Optional. A list of fields to pin at the top of the udm fields viewer. |
| `enableLabs` | `boolean` Optional. Flag for user opt-in setting for SecOps Labs. True if user is opted-in. |
| `rulesPreferences` | `map (key: string, value: string)` Optional. Preferences for the Rules views. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `mitrePreferences` | `map (key: string, value: string)` Optional. Preferences for the Mitre views across the app. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `triageAgentEnabled` | `boolean` Optional. Flag for user opt-in setting for Triage Agent. True if user is opted-in. |
| `eventFieldsViewerPreferences` | `map (key: string, value: string)` Optional. Preferences for the Event Fields in the Event Viewer widget which will be used across the app. An Event Viewer is a UI widget that displays Event Fields (the UDM structure), and is used to show event details. This map stores user-specific UI settings for the Event Fields, such as preferred view mode (e.g., tree or flat list). Example key-value pairs: "selectedViewPreference": "FLAT_VIEW" An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `tablesPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#UiTablesPreferences`)`` Optional. Preferences for tables in the UI. The preferences are meant to store the default configuration of the table. |
| `secopsMcpEnabled` | `boolean` Optional. Indicates whether the user has opted into SecOps MCP. A value of `true` indicates that the user has opted in. |
| `autosuggestionPreference` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#AutosuggestionPreference`)`` Optional. Indicates the user's preferences for autosuggestion. |
| `simulatedDataVisibility` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboardScheduledReports#SimulatedDataVisibility`)`` Optional. Indicates the user's preferences for simulated data visibility. |
| `casesViewPreference` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesViewPreference`)`` Optional. The user's preferred view mode for Cases. |
| `queryLanguage` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`)`` Optional. The user's preferred query language. |
| `searchPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchPreferences`)`` Optional. Search configuration preferences. |
| `agenticChatEnabled` | `boolean` Optional. Indicates whether the user is using the new Agentic Chat feature within Gemini Chat. Unlike `enableDuetAiChat`, which controls the chat feature overall, this flag only controls whether the user uses the new Agentic Chat experience (`true`) or the legacy chat experience (`false`). |

## SearchHistory

A previously run Search Query.

| JSON representation |
|---|
| ``` { "query": string, "timeRange": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Interval`) }, "executionTime": string, "chronicleOwned": boolean, "naturalLanguageQuery": string, "displayName": string, "description": string, "searchSaveTime": string, "searchUpdateTime": string, "rawQuery": string, "placeholderNames": [ string ], "placeholderDescriptions": [ string ], "placeholderValues": [ string ], "savedSearchResource": string, "savedSearchId": string, "sharingMode": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/EntryMetadata#SharingMode`), "queryType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/QueryType`), "caseInsensitive": boolean, "operation": string, "relativeTimeRange": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeRange`) }, "columnSetLabel": string, "queryLanguage": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`), "searchMode": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchMode`) } ``` |

| Fields ||
|---|---|
| `query` | `string` Required. The UDM Search query that was executed. |
| `timeRange` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Interval`)`` Optional. The time interval that the query is run over. |
| `executionTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Optional. The time the query was run. 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"`. |
| `chronicleOwned` | `boolean` Optional. Whether the saved search used is based on a saved template owned by Chronicle. |
| `naturalLanguageQuery` | `string` If applicable, the natural language query used to generate the UDM Search Query. |
| `displayName` | `string` If applicable, the display name of the saved search used to generate this instance. |
| `description` | `string` If applicable, the description of the saved search used to generate this instance. |
| `searchSaveTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Optional. If applicable, the created timestamp of the saved search used to generate this instance. 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"`. |
| `searchUpdateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Optional. If applicable, the updated timestamp of the saved search used to generate this instance. 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"`. |
| `rawQuery` | `string` Optional. If applicable, the UDM saved search string with unreplaced placeholder names, from the saved search query used to generate this instance, e.g. "principal.hostname = $placeholder1 and target.ip = $placeholder2". |
| `placeholderNames[]` | `string` Optional. If applicable, the placeholder names from the saved search used to generate this instance, e.g. \["$placeholder1", "$placeholder2"\]. |
| `placeholderDescriptions[]` | `string` Optional. If applicable, the placeholder descriptions from the saved search used to generate this instance, e.g. \["host", "ip"\]. Each element's position corresponds to placeholderNames. |
| `placeholderValues[]` | `string` Optional. If applicable, the placeholder values from the saved search to generate this instance, e.g. \["abu", "1.2.3.4"\]. Each element's position corresponds to placeholderNames. |
| `savedSearchResource` | `string` Optional. If applicable, the resource name of the saved search used to generate this instance. Format: `projects/{project}/location/{location}/instances/{instance}/users/{user}/searchQueries/{queryid}` |
| `savedSearchId` | `string` Optional. If applicable, the id of the saved search used to generate this instance. |
| `sharingMode` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/EntryMetadata#SharingMode`)`` Optional. If applicable, the sharing mode of the saved search used to generate this instance. |
| `queryType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/QueryType`)`` Optional. The query type. |
| `caseInsensitive` | `boolean` Optional. If true, the search was performed in a case-insensitive manner. |
| `operation` | `string` Optional. The name of the operation resource representing the UDM Search operation. This can be used to fetch stored results or stream the results of an in-progress operation. Format: projects/{project}/locations/{location}/instances/{instance}/operations/{operation} |
| `relativeTimeRange` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeRange`)`` Optional. Defines a time range relative to the start point of the query over which it is running. |
| `columnSetLabel` | `string` Optional. The label of the column set added to the search query. 'columnSetLabel' maps to the 'columnSets' field in the 'PreferenceSet' resource. |
| `queryLanguage` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`)`` Optional. The query language. |
| `searchMode` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SearchMode`)`` Optional. The mode the search query was run in. |

## RelativeTimeRange

Defines a time range relative to a reference point. Specifies the duration (timeSpan) and unit (timeUnit) of the range.

| JSON representation |
|---|
| ``` { "timeSpan": string, "timeUnit": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Input#TimeUnit`), "relativeTimeOperator": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeOperator`) } ``` |

| Fields ||
|---|---|
| `timeSpan` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. Relative time value. |
| `timeUnit` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Input#TimeUnit`)`` Optional. Relative time unit. |
| `relativeTimeOperator` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#RelativeTimeOperator`)`` Optional. Relative time operator (e.g. PAST, PREVIOUS, CURRENT). |

## RelativeTimeOperator

Operator defining the relative time range behavior.

| Enums ||
|---|---|
| `RELATIVE_TIME_OPERATOR_UNSPECIFIED` | Relative time operator is not specified. |
| `RELATIVE_TIME_OPERATOR_PAST` | Measures a rolling window of the last x units from the present moment. |
| `RELATIVE_TIME_OPERATOR_PREVIOUS` | Captures only fully completed, closed calendar units (excluding the current active unit). |
| `RELATIVE_TIME_OPERATOR_CURRENT` | Measures from the start of the ongoing calendar period up to the exact present moment. |

## SearchMode

Mode for UDM search query execution.

| Enums ||
|---|---|
| `SEARCH_MODE_UNSPECIFIED` | Default value. Unspecified which operates in standard search mode. |
| `FAST` | Execution runs in fast mode with reduced output. |

## ColumnSet

A list of UDM columns with a unique name.

| JSON representation |
|---|
| ``` { "label": string, "columns": [ string ] } ``` |

| Fields ||
|---|---|
| `label` | `string` The name of the column set. |
| `columns[]` | `string` The list of udm fields corresponding to columns. |

## DismissibleNotification

A notification that the user can dismiss.

| JSON representation |
|---|
| ``` { "id": string, "dismissedTime": string } ``` |

| Fields ||
|---|---|
| `id` | `string` Required. Unique ID of the user notification. Any non-empty string is accepted. The UI will use a literal string to identify notifications used in certain places of the product. It is preferable to have user-friendly self-descripting strings (eg. "new-feature-popup"). |
| `dismissedTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Optional. The time the notification was dismissed. The notification should considered dismissed when the time is prior to "now". 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"`. |

## SearchPreferences

Collection of preferences for Search configuration.

| JSON representation |
|---|
| ``` { "maxDataSampleCount": integer, "queryLanguage": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`), "dataSampleStrategy": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DataSampleStrategy`) } ``` |

| Fields ||
|---|---|
| `maxDataSampleCount` | `integer` Optional. The maximum number of data samples to return. |
| `queryLanguage` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.users.searchQueries#QueryLanguage`)`` Optional. The preferred query language to use for search. |
| `dataSampleStrategy` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#DataSampleStrategy`)`` Optional. The data sample strategy to use for fetching search results. |

## DataSampleStrategy

The data sample strategy to use for fetching search results.

| Enums ||
|---|---|
| `DATA_SAMPLE_STRATEGY_UNSPECIFIED` | No data sample strategy specified. |
| `FAST_RETRIEVAL` | Return required number of results which are retrieved earlier and discard the rest. |
| `MOST_FRESH` | Return the latest/newest required number of results and discard the rest. |

## UiTablesPreferences

This is the preferences of the tables in the UI. The preferences are meant to store the default configuration of the table.

| JSON representation |
|---|
| ``` { "casesListPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesListPreferences`) } } ``` |

| Fields ||
|---|---|
| `casesListPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CasesListPreferences`)`` Optional. Preferences for the Cases list table. |

## CasesListPreferences

Preferences for the Cases list table.

| JSON representation |
|---|
| ``` { "sortingPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingPreferences`) }, "columnsOrder": { string: integer, ... }, "filtersPreferences": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FiltersPreferences`) }, "groupingColumns": [ string ] } ``` |

| Fields ||
|---|---|
| `sortingPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingPreferences`)`` Optional. The sorting preferences for the Cases list table. |
| `columnsOrder` | `map (key: string, value: integer)` Optional. The columns to display in the Cases list table and their order. The key is the column name and the value is the column order. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `filtersPreferences` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FiltersPreferences`)`` Optional. The filtering preferences for the Cases list table. |
| `groupingColumns[]` | `string` Optional. The columns by which to group. |

## SortingPreferences

Sorting preferences for the Cases list table.

| JSON representation |
|---|
| ``` { "column": string, "order": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingOrder`) } ``` |

| Fields ||
|---|---|
| `column` | `string` Optional. The name of the column to sort by. |
| `order` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#SortingOrder`)`` Optional. The order of the sorting. |

## SortingOrder

Defines the sorting order.

| Enums ||
|---|---|
| `SORTING_ORDER_UNSPECIFIED` | Sorting order is unspecified. |
| `ASC` | Specifies ascending sorting order |
| `DESC` | Specifies descending sorting order |

## FiltersPreferences

Filtering preferences for the Cases list table.

| JSON representation |
|---|
| ``` { "logicalOperator": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterLogicalOperator`), "filters": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TableFilter`) } ], "customTimeRange": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CustomTimeRange`) }, "timeRangeFilter": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TimeRangeValue`) } ``` |

| Fields ||
|---|---|
| `logicalOperator` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterLogicalOperator`)`` Required. The logical operator of the filter. |
| `filters[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TableFilter`)`` Required. The filters of the table. |
| `customTimeRange` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#CustomTimeRange`)`` Optional. The custom time range filter. |
| `timeRangeFilter` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#TimeRangeValue`)`` Optional. The time range filter. |

## FilterLogicalOperator

The logical operator of the filter.

| Enums ||
|---|---|
| `FILTER_LOGICAL_OPERATOR_UNSPECIFIED` | Filter logical operator is unspecified. |
| `AND` | Filter logical operator is AND. |
| `OR` | Filter logical operator is OR. |

## TableFilter

The filter for the Cases list table.

| JSON representation |
|---|
| ``` { "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterType`), "compareOperator": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterCompareOperator`), "values": [ string ], "includeUsers": boolean, "customFieldId": string } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterType`)`` Required. The type of the filter. |
| `compareOperator` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/PreferenceSet#FilterCompareOperator`)`` Required. The compare operator of the filter. |
| `values[]` | `string` Required. The values of the filter. |
| `includeUsers` | `boolean` Optional. Whether to include users in the filter. |
| `customFieldId` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The custom field id of the filter. |

## FilterType

The type of the filter.

| Enums ||
|---|---|
| `FILTER_TYPE_UNSPECIFIED` | Filter type is unspecified. |
| `ANALYSTS` | Filter type is analysts. |
| `ENVIRONMENTS` | Filter type is environments. |
| `PRIORITIES` | Filter type is priorities. |
| `STAGES` | Filter type is stages. |
| `TAGS` | Filter type is tags. |
| `ALERTS_NAME` | Filter type is alerts name. |
| `PRODUCTS` | Filter type is products. |
| `CASE_SLA` | Filter type is case sla. |
| `CASE_STATUS` | Filter type is case status. |
| `WORKFLOW_STATUS` | Filter type is workflow status. |
| `CUSTOM_FIELD` | Filter type is custom fields. |

## FilterCompareOperator

The compare operator of the filter.

| Enums ||
|---|---|
| `FILTER_COMPARE_OPERATOR_UNSPECIFIED` | Filter compare operator is unspecified. |
| `IS` | Filter compare operator is IS. |
| `IS_NOT` | Filter compare operator is IS_NOT. |

## CustomTimeRange

The custom time range filter.

| JSON representation |
|---|
| ``` { "startTime": string, "endTime": string } ``` |

| Fields ||
|---|---|
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Required. The start time of the time range. 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"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Required. The end time of the time range. 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"`. |

## TimeRangeValue

The time range filter of the filter.

| Enums ||
|---|---|
| `TIME_RANGE_VALUE_UNSPECIFIED` | Time range value is unspecified. |
| `ALL_TIME` | Time range value is all time. |
| `CUSTOM` | Time range value is custom. |
| `LAST_DAY` | Time range value is last day. |
| `LAST_TWO_DAYS` | Time range value is last 2 days. |
| `LAST_THREE_DAYS` | Time range value is last 3 days. |
| `LAST_WEEK` | Time range value is last week. |
| `LAST_YEAR` | Time range value is last year. |

## AutosuggestionPreference

Represents user preferences for autosuggestion.

| JSON representation |
|---|
| ``` { "enabled": boolean, "usageBasedEnabled": boolean, "childSubtreeEnabled": boolean, "alphabeticalEnabled": boolean } ``` |

| Fields ||
|---|---|
| `enabled` | `boolean` Optional. Indicates whether the user has enabled Autosuggestion. If `true`, Autosuggestion will be enabled and suggestions will be shown in the editor. |
| `usageBasedEnabled` | `boolean` Optional. Indicates whether the user has enabled Usage Based Autosuggestion. If `true`, Usage Based Autosuggestion will be enabled and suggestions based on past usage will be shown in the editor. Recency Bias will also be enabled. |
| `childSubtreeEnabled` | `boolean` Optional. Indicates whether the user has enabled Child Subtree Autosuggestion. If `true`, suggestions based on child subtrees will be shown in the editor. |
| `alphabeticalEnabled` | `boolean` Optional. Indicates whether the user has enabled Alphabetical Autosuggestion. If `true`, alphabetical suggestions will be shown in the editor. |

## CasesViewPreference

Defines the user's preferred view mode for Cases.

| Enums ||
|---|---|
| `CASES_VIEW_PREFERENCE_UNSPECIFIED` | Unspecified. |
| `CASES_VIEW_LEGACY` | Legacy view. |
| `CASES_VIEW_V2` | V2 view. |