[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-25 UTC."],[],[],null,["# Method: projects.deviceSessions.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListDeviceSessionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nGET /v1/projects/{projectId}/deviceSessions Lists device Sessions owned by the project user.\n\n### HTTP request\n\n`GET https://testing.googleapis.com/v1/{parent=projects/*}/deviceSessions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the parent to request, e.g. \"projects/{projectId}\" |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of DeviceSessions to return. |\n| `pageToken` | `string` Optional. A continuation token for paging. |\n| `filter` | `string` Optional. If specified, responses will be filtered by the given filter. Allowed fields are: sessionState. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA list of device sessions.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deviceSessions\": [ { object (/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions#DeviceSession) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deviceSessions[]` | `object (`[DeviceSession](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions#DeviceSession)`)` The sessions matching the specified filter in the given cloud project. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `cloudtestservice.devicesession.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]