- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.users.searchQueries.list
Endpoint for listing the user data saved queries owned by the specified user
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The ID of the user to list Search Queries for. Format: projects/{project}/locations/{location}/instances/{instance}/users/{user} | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. The maximum number of SearchQueries to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. | 
| pageToken | 
 Optional. A page token, received from a previous  When paginating, all other parameters provided to  | 
Request body
The request body must be empty.
Response body
Response for UserDataService searchQueries.list
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "searchQueries": [
    {
      object ( | 
| Fields | |
|---|---|
| searchQueries[] | 
 List of saved queries | 
| nextPageToken | 
 A token, which can be sent as  | 
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.list
For more information, see the IAM documentation.