Full name: projects.locations.instances.translateUdmQuery
Translate natural language to a UDM Search query.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}:translateUdmQuery Path parameters
| Parameters | |
|---|---|
instance |
Required. The Chronicle instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "text": string } |
| Fields | |
|---|---|
text |
Required. Natural language text to be translated to a UDM Search query. |
Response body
Response message for instances.translateUdmQuery.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"query": string,
"timeRange": {
object ( |
| Fields | |
|---|---|
query |
Translated UDM Search query (if successful). |
timeRange |
Optional. Translated timerange (if the user specified a time range). |
message |
Optional. Message to be shown to the user, e.g. if the translation was unsuccessful or if confidence is low. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.ais.translateUdmQuery
For more information, see the IAM documentation.