Google Cloud Device Streaming V1 Client - Class ListDeviceSessionsResponse (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<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\Internal\RepeatedField

setDeviceSessions

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

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