Method: searchQueries.create

Full name: projects.locations.instances.users.searchQueries.create

Endpoint for adding a new entry to the specified collection of user data

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{parent}/searchQueries

Path parameters

Parameters
parent

string

Required. The ID of the user this Search Query will be created for. Format: projects/{project}/locations/{location}/instances/{instance}/users/{user}

Query parameters

Parameters
searchQueryId

string

Required. The query to create.

Request body

The request body contains an instance of SearchQuery.

Response body

If successful, the response body contains a newly created instance of SearchQuery.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.searchQueries.create

For more information, see the IAM documentation.