Google Cloud Advisory Notifications V1 Client - Class ListNotificationsResponse (1.0.0)

Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class ListNotificationsResponse.

Response of ListNotifications endpoint.

Generated from protobuf message google.cloud.advisorynotifications.v1.ListNotificationsResponse

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ notifications array<Google\Cloud\AdvisoryNotifications\V1\Notification>

List of notifications under a given parent.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ total_size int

Estimation of a total number of notifications.

getNotifications

List of notifications under a given parent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNotifications

List of notifications under a given parent.

Parameter
Name Description
var array<Google\Cloud\AdvisoryNotifications\V1\Notification>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalSize

Estimation of a total number of notifications.

Returns
Type Description
int

setTotalSize

Estimation of a total number of notifications.

Parameter
Name Description
var int
Returns
Type Description
$this