- JSON representation
- UiPreferences
- SearchHistory
- RelativeTimeRange
- ColumnSet
- DismissibleNotification
- SearchPreferences
- DataSampleStrategy
A collection of preferences for a user.
JSON representation |
---|
{
"name": string,
"ui_preferences": {
object ( |
Fields | |
---|---|
name |
Output only. Identifier. Resource name. |
ui_ |
Optional. Preferences for UI configuration. |
UiPreferences
Collection of preferences for UI configuration.
JSON representation |
---|
{ "display_timezone": string, "search_history": [ { object ( |
Fields | |
---|---|
display_ |
Optional. Timezone for displaying times to the user. |
search_ |
Optional. Previously run search queries. This will be limited to around 20 queries by the calling UI code. |
enable_ |
Optional. Flag for enabling saving search history. True if it is enabled. |
column_ |
Optional. A list of ColumnSets saved by the user. |
pinned_ |
Optional. A list of fields to pin at the top of the quick filters panel. |
enable_ |
Optional. Flag for user opt-in setting for Duet AI in Chronicle. True if user is opted-in. |
language_ |
Optional. The users's preferred language. -- Set via the URL param hl. -- |
dismissible_ |
Optional. A list of notifications that the use can dismiss, or dismissed already. |
udm_ |
Optional. A list of fields to pin at the top of the udm fields viewer. |
search_ |
Optional. Search configuration preferences. |
SearchHistory
A previously run Search Query.
JSON representation |
---|
{ "query": string, "time_range": { object ( |
Fields | |
---|---|
query |
Required. The UDM Search query that was executed. |
time_ |
Optional. The time interval that the query is run over. |
execution_ |
Optional. The time the query was run. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
chronicle_ |
Optional. Whether the saved search used is based on a saved template owned by Chronicle. |
natural_ |
If applicable, the natural language query used to generate the UDM Search Query. |
display_ |
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. |
search_ |
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 uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
search_ |
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 uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
raw_ |
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". |
placeholder_ |
Optional. If applicable, the placeholder names from the saved search used to generate this instance, e.g. ["$placeholder1", "$placeholder2"]. |
placeholder_ |
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 placeholder_names. |
placeholder_ |
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 placeholder_names. |
saved_ |
Optional. If applicable, the resource name of the saved search used to generate this instance. Format: |
saved_ |
Optional. If applicable, the id of the saved search used to generate this instance. |
sharing_ |
Optional. If applicable, the sharing mode of the saved search used to generate this instance. |
query_ |
Optional. The query type. |
case_ |
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} |
relative_ |
Optional. Defines a time range relative to the start point of the query over which it is running. |
RelativeTimeRange
Defines a time range relative to a reference point. Specifies the duration (time_span) and unit (time_unit) of the range.
JSON representation |
---|
{
"time_span": string,
"time_unit": enum ( |
Fields | |
---|---|
time_ |
Optional. Relative time value. |
time_ |
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, "dismissed_time": 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"). |
dismissed_ |
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 uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
SearchPreferences
Collection of preferences for Search configuration.
JSON representation |
---|
{
"max_data_sample_count": integer,
"data_sample_strategy": enum ( |
Fields | |
---|---|
max_ |
Optional. The maximum number of data samples to return. |
data_ |
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. |