Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::ListSnoozesRequest.
The message definition for listing Snoozes associated with the given
parent, satisfying the optional filter.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#filter
deffilter()->::String
Returns
(::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"
#filter=
deffilter=(value)->::String
Parameter
value (::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"
Returns
(::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"
#page_size
defpage_size()->::Integer
Returns
(::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.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::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.
Returns
(::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.
#page_token
defpage_token()->::String
Returns
(::String) — Optional. The next_page_token from a previous call to
ListSnoozesRequest to get the next page of results.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — Optional. The next_page_token from a previous call to
ListSnoozesRequest to get the next page of results.
Returns
(::String) — Optional. The next_page_token from a previous call to
ListSnoozesRequest to get the next page of results.
#parent
defparent()->::String
Returns
(::String) —
Required. The
project whose
Snoozes should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
#parent=
defparent=(value)->::String
Parameter
value (::String) —
Required. The
project whose
Snoozes should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Returns
(::String) —
Required. The
project whose
Snoozes should be listed. The format is:
[[["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,["# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::ListSnoozesRequest (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-ListSnoozesRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-ListSnoozesRequest) \nReference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::ListSnoozesRequest.\n\nThe message definition for listing `Snooze`s associated with the given\n`parent`, satisfying the optional `filter`. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Optional filter to restrict results to the given criteria. The\n following fields are supported.\n\n - `interval.start_time`\n - `interval.end_time`\n\n For example: \n\n interval.start_time \u003e \"2022-03-11T00:00:00-08:00\" AND\n interval.end_time \u003c \"2022-03-12T00:00:00-08:00\"\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Optional. Optional filter to restrict results to the given criteria. The\n following fields are supported.\n - `interval.start_time`\n - `interval.end_time`\n\n For example: \n\n interval.start_time \u003e \"2022-03-11T00:00:00-08:00\" AND\n interval.end_time \u003c \"2022-03-12T00:00:00-08:00\"\n\n**Returns**\n\n- (::String) --- Optional. Optional filter to restrict results to the given criteria. The\n following fields are supported.\n\n - `interval.start_time`\n - `interval.end_time`\n\n For example: \n\n interval.start_time \u003e \"2022-03-11T00:00:00-08:00\" AND\n interval.end_time \u003c \"2022-03-12T00:00:00-08:00\"\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::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.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::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. \n**Returns**\n\n- (::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.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The `next_page_token` from a previous call to `ListSnoozesRequest` to get the next page of results.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The `next_page_token` from a previous call to `ListSnoozesRequest` to get the next page of results. \n**Returns**\n\n- (::String) --- Optional. The `next_page_token` from a previous call to `ListSnoozesRequest` to get the next page of results.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The\n [project](https://cloud.google.com/monitoring/api/v3#project_name) whose\n `Snooze`s should be listed. The format is:\n\n projects/[PROJECT_ID_OR_NUMBER]\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The\n [project](https://cloud.google.com/monitoring/api/v3#project_name) whose\n `Snooze`s should be listed. The format is: \n\n projects/[PROJECT_ID_OR_NUMBER]\n\n**Returns**\n\n- (::String) --- Required. The\n [project](https://cloud.google.com/monitoring/api/v3#project_name) whose\n `Snooze`s should be listed. The format is:\n\n projects/[PROJECT_ID_OR_NUMBER]"]]