Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListAlertPoliciesResponse.
The protocol for the ListAlertPolicies
response.
Generated from protobuf message google.monitoring.v3.ListAlertPoliciesResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ alert_policies |
array<Google\Cloud\Monitoring\V3\AlertPolicy>
The returned alert policies. |
↳ next_page_token |
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 |
↳ 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 |
getAlertPolicies
The returned alert policies.
Generated from protobuf field repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAlertPolicies
The returned alert policies.
Generated from protobuf field repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Monitoring\V3\AlertPolicy>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
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.
Generated from protobuf field string next_page_token = 2;
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 as page_token
in the next call to this method.
Generated from protobuf field string next_page_token = 2;
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
Generated from protobuf field int32 total_size = 4;
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
Generated from protobuf field int32 total_size = 4;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |