Device Streaming V1 API - Module Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Device Streaming V1 API - Module Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState (v0.1.0)\n\nReference documentation and code samples for the Device Streaming V1 API module Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState.\n\nThe state that the DeviceSession resides.\n\nConstants\n---------\n\n### SESSION_STATE_UNSPECIFIED\n\n**value:** 0 \nDefault value. This value is unused.\n\n### REQUESTED\n\n**value:** 1 \nInitial state of a session request. The session is being validated for\ncorrectness and a device is not yet requested.\n\n### PENDING\n\n**value:** 2 \nThe session has been validated and is in the queue for a device.\n\n### ACTIVE\n\n**value:** 3 \nThe session has been granted and the device is accepting\nconnections.\n\n### EXPIRED\n\n**value:** 4 \nThe session duration exceeded the device's reservation time period and\ntimed out automatically.\n\n### FINISHED\n\n**value:** 5 \nThe user is finished with the session and it was canceled by the user\nwhile the request was still getting allocated or after allocation and\nduring device usage period.\n\n### UNAVAILABLE\n\n**value:** 6 \nUnable to complete the session because the device was unavailable and\nit failed to allocate through the scheduler. For example, a device not\nin the catalog was requested or the request expired in the allocation\nqueue.\n\n### ERROR\n\n**value:** 7 \nUnable to complete the session for an internal reason, such as an\ninfrastructure failure."]]