Resource: SearchQuery
Represents a Search Query from a Chronicle user.
| JSON representation |
|---|
{ "name": string, "metadata": { object ( |
| Fields | |
|---|---|
name |
Output only. Identifier. The resource name of the SearchQuery. |
metadata |
Optional. Metadata about the search query. |
displayName |
Optional. Name of the query to be shown in the UI. |
query |
Required. The query the user is saving. |
queryId |
Optional. The 16 byte UUID for this query. A base64-encoded string. |
userId |
Optional. The user ID for this query. |
description |
Optional. Description of the overall query, to be shown in the UI. |
placeholderNames[] |
Optional. Name of query placeholder value, to be shown in the UI. Each element's position corresponds to the description in the placeholderDescriptions field. |
placeholderDescriptions[] |
Optional. Description of the placeholder value, to be shown in the UI. |
queryType |
Optional. The query type. |
naturalLanguageQuery |
Optional. If applicable, the natural language query used to generate the UDM Search Query. |
caseInsensitive |
Optional. If true, the search was performed in a case-insensitive manner. |
columnSetLabel |
Optional. The label of the column set added to the search query. |
queryLanguage |
Optional. The query language. |
QueryType
The type of the query in the request.
| Enums | |
|---|---|
QUERY_TYPE_UNSPECIFIED |
The default query type. |
QUERY_TYPE_UDM_QUERY |
Unified Data Model Query. |
QUERY_TYPE_RAW_LOG_QUERY |
Raw Log Query. |
QUERY_TYPE_DASHBOARD_QUERY |
Dashboards Query. |
QUERY_TYPE_STATS_QUERY |
Stats Query. |
QUERY_TYPE_DATA_TABLE_QUERY |
DataTable Query. |
QUERY_TYPE_ENTITY_GRAPH_QUERY |
Entity Query. |
QUERY_TYPE_UDM_DATATABLE_JOIN |
UDM_Datatable Joins Query. |
QUERY_TYPE_JOIN_STATS_QUERY |
Joins in Stats Query. |
QUERY_TYPE_JOIN_QUERY |
Joins Query. |
QueryLanguage
The language the query is written in.
| Enums | |
|---|---|
QUERY_LANGUAGE_UNSPECIFIED |
The default query language. |
QUERY_LANGUAGE_YL2 |
The query is written in YARA-L 2. |
QUERY_LANGUAGE_SQL |
The query is written in GoogleSQL. |
Methods |
|
|---|---|
|
Endpoint for adding a new entry to the specified collection of user data |
|
Endpoint for deleting a user data saved query entry |
|
Endpoint for getting a user's Saved query entry |
|
Endpoint for listing the user data saved queries owned by the specified user |
|
Endpoint for updating user data saved query |