Device Streaming V1 API - Module Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState (v0.1.0)

Reference documentation and code samples for the Device Streaming V1 API module Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState.

The state that the DeviceSession resides.

Constants

SESSION_STATE_UNSPECIFIED

value: 0
Default value. This value is unused.

REQUESTED

value: 1
Initial state of a session request. The session is being validated for correctness and a device is not yet requested.

PENDING

value: 2
The session has been validated and is in the queue for a device.

ACTIVE

value: 3
The session has been granted and the device is accepting connections.

EXPIRED

value: 4
The session duration exceeded the device's reservation time period and timed out automatically.

FINISHED

value: 5
The user is finished with the session and it was canceled by the user while the request was still getting allocated or after allocation and during device usage period.

UNAVAILABLE

value: 6
Unable to complete the session because the device was unavailable and it failed to allocate through the scheduler. For example, a device not in the catalog was requested or the request expired in the allocation queue.

ERROR

value: 7
Unable to complete the session for an internal reason, such as an infrastructure failure.