Method: projects.deviceSessions.create

POST /v1/projects/{projectId}/deviceSessions

HTTP request

POST https://testing.googleapis.com/v1/{parent=projects/*}/deviceSessions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The Compute Engine project under which this device will be allocated. "projects/{projectId}"

Request body

The request body contains an instance of DeviceSession.

Response body

If successful, the response body contains a newly created instance of DeviceSession.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudtestservice.devicesession.create

For more information, see the IAM documentation.