Method: projects.snoozes.list

Lists theSnoozes associated with a project. Can optionally pass infilter, which specifies predicates to matchSnoozes.

HTTP request

GET https://monitoring.googleapis.com/v3/{parent}/snoozes

Path parameters

Parameters
parent

string

Required. Theproject whoseSnoozes should be listed. The format is:

projects/[PROJECT_ID_OR_NUMBER]

Query parameters

Parameters
filter

string

Optional. Optional filter to restrict results to the given criteria. The following fields are supported.

  • interval.start_time
  • interval.end_time

For example:

interval.start_time > "2022-03-11T00:00:00-08:00" AND    interval.end_time < "2022-03-12T00:00:00-08:00"
pageSize

integer

Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range [1, 1000]. If the value given is outside this range, the server will decide the number of results to be returned.

pageToken

string

Optional. ThenextPageToken from a previous call toListSnoozesRequest to get the next page of results.

Request body

The request body must be empty.

Response body

The results of a successfulsnoozes.list call, containing the matchingSnoozes.

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

JSON representation
{"snoozes":[{object (Snooze)}],"nextPageToken":string}
Fields
snoozes[]

object (Snooze)

Snoozes matching this list call.

nextPageToken

string

Page token for repeated calls tosnoozes.list, to fetch additional pages of results. If this is empty or missing, there are no more pages.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-23 UTC.