Stackdriver Monitoring V3 Client - Class ListNotificationChannelsResponse (1.2.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.

Generated from protobuf field repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNotificationChannels

The notification channels defined for the specified project.

Generated from protobuf field repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;

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.

Generated from protobuf field string next_page_token = 2;

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.

Generated from protobuf field string next_page_token = 2;

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

Generated from protobuf field int32 total_size = 4;

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

Generated from protobuf field int32 total_size = 4;

Parameter
NameDescription
var int
Returns
TypeDescription
$this