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 aspage_tokenin the next call to this method.
↳ total_size
int
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
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 aspage_tokenin the next call to this method.
Returns
Type
Description
string
setNextPageToken
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 aspage_tokenin the next call to this method.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTotalSize
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
Type
Description
int
setTotalSize
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,["# Stackdriver Monitoring V3 Client - Class ListAlertPoliciesResponse (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.ListAlertPoliciesResponse)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.ListAlertPoliciesResponse)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.ListAlertPoliciesResponse)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.ListAlertPoliciesResponse)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.ListAlertPoliciesResponse)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.ListAlertPoliciesResponse)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.ListAlertPoliciesResponse)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.ListAlertPoliciesResponse)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.ListAlertPoliciesResponse)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.ListAlertPoliciesResponse)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.ListAlertPoliciesResponse)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.ListAlertPoliciesResponse)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.ListAlertPoliciesResponse)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.ListAlertPoliciesResponse) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class ListAlertPoliciesResponse.\n\nThe protocol for the `ListAlertPolicies` response.\n\nGenerated from protobuf message `google.monitoring.v3.ListAlertPoliciesResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAlertPolicies\n\nThe returned alert policies.\n\n### setAlertPolicies\n\nThe returned alert policies.\n\n### getNextPageToken\n\nIf there might be more results than were returned, then this field is set\nto a non-empty value. To see the additional results,\nuse that value as `page_token` in the next call to this method.\n\n### setNextPageToken\n\nIf there might be more results than were returned, then this field is set\nto a non-empty value. To see the additional results,\nuse that value as `page_token` in the next call to this method.\n\n### getTotalSize\n\nThe total number of alert policies in all pages. This number is only an\nestimate, and may change in subsequent pages. \u003chttps://aip.dev/158\u003e\n\n### setTotalSize\n\nThe total number of alert policies in all pages. This number is only an\nestimate, and may change in subsequent pages. \u003chttps://aip.dev/158\u003e"]]