Lists DeviceSessions owned by the project user.
HTTP request
GET https://devicestreaming.googleapis.com/v1/{parent=projects/*}/deviceSessions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The name of the parent to request, e.g. "projects/{projectId}" |
Query parameters
| Parameters | |
|---|---|
pageSize
|
Optional. The maximum number of DeviceSessions to return. |
pageToken
|
Optional. A continuation token for paging. |
filter
|
Optional. If specified, responses will be filtered by the given filter. Allowed fields are: sessionState. |
Request body
The request body must be empty.
Response body
Response message for DirectAccessService.ListDeviceSessions.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"deviceSessions"
:
[
{
object (
|
| Fields | |
|---|---|
deviceSessions[]
|
The sessions matching the specified filter in the given cloud project. |
nextPageToken
|
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

