Method: searchQueries.list

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

string

Required. The ID of the user to list Search Queries for. Format: projects/{project}/locations/{location}/instances/{instance}/users/{user}

Query parameters

Parameters
pageSize

integer

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

string

Optional. A page token, received from a previous searchQueries.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to searchQueries.list must match the call that provided the page token.

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 (SearchQuery)
    }
  ],
  "nextPageToken": string
}
Fields
searchQueries[]

object (SearchQuery)

List of saved queries

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

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.