Google Cloud Advisory Notifications V1 Client - Class ListNotificationsResponse (0.6.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNotifications

List of notifications under a given parent.

Parameter
NameDescription
var array<Google\Cloud\AdvisoryNotifications\V1\Notification>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getTotalSize

Estimation of a total number of notifications.

Returns
TypeDescription
int

setTotalSize

Estimation of a total number of notifications.

Parameter
NameDescription
var int
Returns
TypeDescription
$this