Stackdriver Monitoring V3 Client - Class ListNotificationChannelsResponse (1.3.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListNotificationChannelsResponse.

The ListNotificationChannels response.

Generated from protobuf message google.monitoring.v3.ListNotificationChannelsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ notification_channels array<Google\Cloud\Monitoring\V3\NotificationChannel>

The notification channels defined for the specified project.

↳ next_page_token string

If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.

↳ total_size int

The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158

getNotificationChannels

The notification channels defined for the specified project.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNotificationChannels

The notification channels defined for the specified project.

Parameter
NameDescription
var array<Google\Cloud\Monitoring\V3\NotificationChannel>
Returns
TypeDescription
$this

getNextPageToken

If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.

Returns
TypeDescription
string

setNextPageToken

If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTotalSize

The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158

Returns
TypeDescription
int

setTotalSize

The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158

Parameter
NameDescription
var int
Returns
TypeDescription
$this