POST /v1/projects/{projectsId}/deviceSessions
POST /v1/projects/{project_id}/deviceSessions
Request
- Base URLhttps://testing.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Request body
Protobuf message describing the device message, used from several RPCs.
Output only. The timestamp that the session first became ACTIVE.
A single Android device.
Output only. The time that the Session was created.
Output only. The title of the DeviceSession to be presented in the UI.
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
Output only. Current state of the DeviceSession.
Output only. The historical state transitions of the session_state message including the current session state.
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
Response
Successful response
Protobuf message describing the device message, used from several RPCs.
Output only. The timestamp that the session first became ACTIVE.
A single Android device.
Output only. The time that the Session was created.
Output only. The title of the DeviceSession to be presented in the UI.
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
Output only. Current state of the DeviceSession.
Output only. The historical state transitions of the session_state message including the current session state.
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
Changes
No recorded changes to this operation across all 5 revisions of this API.