- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.users.searchQueries.create
Endpoint for adding a new entry to the specified collection of user data
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 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 | 
 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.