(::String) — If there might be more results than were returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
#next_page_token=
defnext_page_token=(value)->::String
Parameter
value (::String) — If there might be more results than were returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
Returns
(::String) — If there might be more results than were returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
#total_size
deftotal_size()->::Integer
Returns
(::Integer) — The total number of alert policies in all pages. This number is only an
estimate, and may change in subsequent pages. https://aip.dev/158
#total_size=
deftotal_size=(value)->::Integer
Parameter
value (::Integer) — The total number of alert policies in all pages. This number is only an
estimate, and may change in subsequent pages. https://aip.dev/158
Returns
(::Integer) — The total number of alert policies in all pages. This number is only an
estimate, and may change in subsequent pages. https://aip.dev/158
[[["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::ListAlertPoliciesResponse (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-ListAlertPoliciesResponse)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-ListAlertPoliciesResponse) \nReference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::ListAlertPoliciesResponse.\n\nThe protocol for the `ListAlertPolicies` response. \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### #alert_policies\n\n def alert_policies() -\u003e ::Array\u003c::Google::Cloud::Monitoring::V3::AlertPolicy\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Monitoring::V3::AlertPolicy](./Google-Cloud-Monitoring-V3-AlertPolicy)\\\u003e) --- The returned alert policies.\n\n### #alert_policies=\n\n def alert_policies=(value) -\u003e ::Array\u003c::Google::Cloud::Monitoring::V3::AlertPolicy\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Monitoring::V3::AlertPolicy](./Google-Cloud-Monitoring-V3-AlertPolicy)\\\u003e) --- The returned alert policies. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Monitoring::V3::AlertPolicy](./Google-Cloud-Monitoring-V3-AlertPolicy)\\\u003e) --- The returned alert policies.\n\n### #next_page_token\n\n def next_page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.\n\n### #next_page_token=\n\n def next_page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method. \n**Returns**\n\n- (::String) --- If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.\n\n### #total_size\n\n def total_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158\n\n### #total_size=\n\n def total_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158 \n**Returns**\n\n- (::Integer) --- The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158"]]