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

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

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 ListSearchQueries call. Provide this to retrieve the subsequent page.

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

Request body

The request body must be empty.

Response body

Response for UserDataService ListSearchQueries

If successful, the response body contains data with the following structure:

JSON representation
{
  "search_queries": [
    {
      object (SearchQuery)
    }
  ],
  "next_page_token": string
}
Fields
search_queries[]

object (SearchQuery)

List of saved queries

next_page_token

string

A token, which can be sent as page_token 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.