Google Cloud Service Health V1 Client - Class ListOrganizationEventsResponse (0.2.1)

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

Message for response to listing organization events.

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

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ organization_events array<OrganizationEvent>

Output only. List of organization events affecting an organization.

↳ 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.

getOrganizationEvents

Output only. List of organization events affecting an organization.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOrganizationEvents

Output only. List of organization events affecting an organization.

Parameter
Name Description
var array<OrganizationEvent>
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