0.2.4 (latest) 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class ListDeviceSessionsResponse.

Response message for DirectAccessService.ListDeviceSessions.

Generated from protobuf message `google.cloud.devicestreaming.v1.ListDeviceSessionsResponse`

## Namespace

Google \\ Cloud \\ DeviceStreaming \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ device_sessions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-devicestreaming/latest/V1.DeviceSession>` The sessions matching the specified filter in the given cloud project. |
| `↳ 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. |

### getDeviceSessions

The sessions matching the specified filter in the given cloud project.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-devicestreaming/latest/V1.DeviceSession>` |   |

### setDeviceSessions

The sessions matching the specified filter in the given cloud project.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-devicestreaming/latest/V1.DeviceSession>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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