Method: projects.snoozes.list

Lists the Snooze s associated with a project. Can optionally pass in filter , which specifies predicates to match Snooze s.

HTTP request

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

Path parameters

Parameters
parent

string

Required. The project whose Snooze s 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. The nextPageToken from a previous call to ListSnoozesRequest to get the next page of results.

Request body

The request body must be empty.

Response body

The results of a successful snoozes.list call, containing the matching Snooze s.

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

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

object ( Snooze )

Snooze s matching this list call.

nextPageToken

string

Page token for repeated calls to snoozes.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 the Authentication Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: