# Google Cloud Service Health V1 Client - Class ListOrganizationEventsResponse (0.5.0)

0.5.0 (latest) 0.4.3 0.3.1 0.2.3 0.1.8 Reference documentation and code samples for the Google Cloud Service Health V1 Client class ListOrganizationEventsResponse.

Response to request for 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<https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.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` | `string[]` Output only. Locations that could not be reached. |

### getOrganizationEvents

Output only. List of organization events affecting an organization.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.OrganizationEvent>` |   |

### setOrganizationEvents

Output only. List of organization events affecting an organization.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Output only. Locations that could not be reached.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |