Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListSnoozesRequest.
The message definition for listingSnoozes associated with the givenparent, satisfying the optionalfilter.
Generated from protobuf messagegoogle.monitoring.v3.ListSnoozesRequest
Namespace
Google \ Cloud \ Monitoring \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. TheprojectwhoseSnoozes should be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]
↳ filter
string
Optional. Optional filter to restrict results to the given criteria. The following fields are supported. * *interval.start_time* *interval.end_timeFor example: interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
↳ page_size
int
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.
↳ page_token
string
Optional. Thenext_page_tokenfrom a previous call toListSnoozesRequestto get the next page of results.
getParent
Required. TheprojectwhoseSnoozes should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Returns
Type
Description
string
setParent
Required. TheprojectwhoseSnoozes should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. Optional filter to restrict results to the given criteria. The
following fields are supported.
interval.start_time
interval.end_timeFor example:
interval.start_time > "2022-03-11T00:00:00-08:00" AND
interval.end_time < "2022-03-12T00:00:00-08:00"
Returns
Type
Description
string
setFilter
Optional. Optional filter to restrict results to the given criteria. The
following fields are supported.
interval.start_time
interval.end_timeFor example:
interval.start_time > "2022-03-11T00:00:00-08:00" AND
interval.end_time < "2022-03-12T00:00:00-08:00"
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
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.
Returns
Type
Description
int
setPageSize
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.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. Thenext_page_tokenfrom a previous call toListSnoozesRequestto get the next page of results.
Returns
Type
Description
string
setPageToken
Optional. Thenext_page_tokenfrom a previous call toListSnoozesRequestto get the next page of results.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. TheprojectwhoseSnoozes should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Please seeSnoozeServiceClient::workspaceName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Monitoring V3 Client - Class ListSnoozesRequest (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.ListSnoozesRequest)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.ListSnoozesRequest)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.ListSnoozesRequest)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.ListSnoozesRequest)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.ListSnoozesRequest)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.ListSnoozesRequest)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.ListSnoozesRequest)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.ListSnoozesRequest)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.ListSnoozesRequest)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.ListSnoozesRequest)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.ListSnoozesRequest)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.ListSnoozesRequest)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.ListSnoozesRequest)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.ListSnoozesRequest) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class ListSnoozesRequest.\n\nThe message definition for listing `Snooze`s associated with the given\n`parent`, satisfying the optional `filter`.\n\nGenerated from protobuf message `google.monitoring.v3.ListSnoozesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The\n[project](https://cloud.google.com/monitoring/api/v3#project_name) whose\n`Snooze`s should be listed. The format is:\nprojects/\\[PROJECT_ID_OR_NUMBER\\]\n\n### setParent\n\nRequired. The\n[project](https://cloud.google.com/monitoring/api/v3#project_name) whose\n`Snooze`s should be listed. The format is:\nprojects/\\[PROJECT_ID_OR_NUMBER\\]\n\n### getFilter\n\nOptional. Optional filter to restrict results to the given criteria. The\nfollowing fields are supported.\n\n- `interval.start_time`\n - `interval.end_time` For example: interval.start_time \\\u003e \"2022-03-11T00:00:00-08:00\" AND interval.end_time \\\u003c \"2022-03-12T00:00:00-08:00\"\n\n### setFilter\n\nOptional. Optional filter to restrict results to the given criteria. The\nfollowing fields are supported.\n\n- `interval.start_time`\n - `interval.end_time` For example: interval.start_time \\\u003e \"2022-03-11T00:00:00-08:00\" AND interval.end_time \\\u003c \"2022-03-12T00:00:00-08:00\"\n\n### getPageSize\n\nOptional. The maximum number of results to return for a single query. The\nserver may further constrain the maximum number of results returned in a\nsingle page. The value should be in the range \\[1, 1000\\]. If the value given\nis outside this range, the server will decide the number of results to be\nreturned.\n\n### setPageSize\n\nOptional. The maximum number of results to return for a single query. The\nserver may further constrain the maximum number of results returned in a\nsingle page. The value should be in the range \\[1, 1000\\]. If the value given\nis outside this range, the server will decide the number of results to be\nreturned.\n\n### getPageToken\n\nOptional. The `next_page_token` from a previous call to\n`ListSnoozesRequest` to get the next page of results.\n\n### setPageToken\n\nOptional. The `next_page_token` from a previous call to\n`ListSnoozesRequest` to get the next page of results.\n\n### static::build"]]