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

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

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

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ events array<Google\Cloud\ServiceHealth\V1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEvents

Output only. List of events.

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

getUnreachable

Output only. Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Output only. Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this