Google Cloud Service Health V1 Client - Class ListEventsResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Service Health V1 Client class ListEventsResponse.

Message for response to listing events.

Generated from protobuf message google.cloud.servicehealth.v1.ListEventsResponse

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ events array<Event>

Output only. List of events.

↳ next_page_token string

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page. If this field is not present, there are no subsequent results.

↳ unreachable array

Output only. Locations that could not be reached.

getEvents

Output only. List of events.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEvents

Output only. List of events.

Parameter
Name Description
var array<Event>
Returns
Type Description
$this

getNextPageToken

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

Returns
Type Description
string

setNextPageToken

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Output only. Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Output only. Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this