- JSON representation
 - UiPreferences
 - SearchHistory
 - RelativeTimeRange
 - ColumnSet
 - DismissibleNotification
 - SearchPreferences
 - DataSampleStrategy
 
A collection of preferences for a user.
| JSON representation | 
|---|
{
  "name": string,
  "uiPreferences": {
    object ( | 
            
| Fields | |
|---|---|
name | 
              
                 
 Output only. Identifier. Resource name.  | 
            
uiPreferences | 
              
                 
 Optional. Preferences for UI configuration.  | 
            
UiPreferences
Collection of preferences for UI configuration.
| JSON representation | 
|---|
{ "displayTimezone": string, "searchHistory": [ { object (  | 
              
| Fields | |
|---|---|
displayTimezone | 
                
                   
 Optional. Timezone for displaying times to the user.  | 
              
searchHistory[] | 
                
                   
 Optional. Previously run search queries. This will be limited to around 20 queries by the calling UI code.  | 
              
enableSearchHistory | 
                
                   
 Optional. Flag for enabling saving search history. True if it is enabled.  | 
              
columnSets[] | 
                
                   
 Optional. A list of ColumnSets saved by the user.  | 
              
pinnedFields[] | 
                
                   
 Optional. A list of fields to pin at the top of the quick filters panel.  | 
              
enableDuetAiChat | 
                
                   
 Optional. Flag for user opt-in setting for Duet AI in Chronicle. True if user is opted-in.  | 
              
languageCode | 
                
                   
 Optional. The users's preferred language. -- Set via the URL param hl. --  | 
              
dismissibleNotifications[] | 
                
                   
 Optional. A list of notifications that the use can dismiss, or dismissed already.  | 
              
udmFieldsViewerPinnedFields[] | 
                
                   
 Optional. A list of fields to pin at the top of the udm fields viewer.  | 
              
enableLabs | 
                
                   
 Optional. Flag for user opt-in setting for SecOps Labs. True if user is opted-in.  | 
              
rulesPreferences | 
                
                   
 Optional. Preferences for the Rules views. An object containing a list of   | 
              
mitrePreferences | 
                
                   
 Optional. Preferences for the Mitre views across the app. An object containing a list of   | 
              
searchPreferences | 
                
                   
 Optional. Search configuration preferences.  | 
              
SearchHistory
A previously run Search Query.
| JSON representation | 
|---|
{ "query": string, "timeRange": { object (  | 
              
| Fields | |
|---|---|
query | 
                
                   
 Required. The UDM Search query that was executed.  | 
              
timeRange | 
                
                   
 Optional. The time interval that the query is run over.  | 
              
executionTime | 
                
                   
 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:   | 
              
chronicleOwned | 
                
                   
 Optional. Whether the saved search used is based on a saved template owned by Chronicle.  | 
              
naturalLanguageQuery | 
                
                   
 If applicable, the natural language query used to generate the UDM Search Query.  | 
              
displayName | 
                
                   
 If applicable, the display name of the saved search used to generate this instance.  | 
              
description | 
                
                   
 If applicable, the description of the saved search used to generate this instance.  | 
              
searchSaveTime | 
                
                   
 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:   | 
              
searchUpdateTime | 
                
                   
 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:   | 
              
rawQuery | 
                
                   
 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[] | 
                
                   
 Optional. If applicable, the placeholder names from the saved search used to generate this instance, e.g. ["$placeholder1", "$placeholder2"].  | 
              
placeholderDescriptions[] | 
                
                   
 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[] | 
                
                   
 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 | 
                
                   
 Optional. If applicable, the resource name of the saved search used to generate this instance. Format:   | 
              
savedSearchId | 
                
                   
 Optional. If applicable, the id of the saved search used to generate this instance.  | 
              
sharingMode | 
                
                   
 Optional. If applicable, the sharing mode of the saved search used to generate this instance.  | 
              
queryType | 
                
                   
 Optional. The query type.  | 
              
caseInsensitive | 
                
                   
 Optional. If true, the search was performed in a case-insensitive manner.  | 
              
operation | 
                
                   
 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 | 
                
                   
 Optional. Defines a time range relative to the start point of the query over which it is running.  | 
              
columnSetLabel | 
                
                   
 Optional. The label of the column set added to the search query. 'columnSetLabel' maps to the 'columnSets' field in the 'PreferenceSet' resource.  | 
              
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 ( | 
              
| Fields | |
|---|---|
timeSpan | 
                
                   
 Optional. Relative time value.  | 
              
timeUnit | 
                
                   
 Optional. Relative time unit.  | 
              
ColumnSet
A list of UDM columns with a unique name.
| JSON representation | 
|---|
{ "label": string, "columns": [ string ] }  | 
              
| Fields | |
|---|---|
label | 
                
                   
 The name of the column set.  | 
              
columns[] | 
                
                   
 The list of udm fields corresponding to columns.  | 
              
DismissibleNotification
A notification that the user can dismiss.
| JSON representation | 
|---|
{ "id": string, "dismissedTime": string }  | 
              
| Fields | |
|---|---|
id | 
                
                   
 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 | 
                
                   
 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:   | 
              
SearchPreferences
Collection of preferences for Search configuration.
| JSON representation | 
|---|
{
  "maxDataSampleCount": integer,
  "dataSampleStrategy": enum ( | 
              
| Fields | |
|---|---|
maxDataSampleCount | 
                
                   
 Optional. The maximum number of data samples to return.  | 
              
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. |