Google Cloud Device Streaming V1 Client - Class SessionState (0.1.1)

Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class SessionState.

The state that the DeviceSession resides.

Protobuf type google.cloud.devicestreaming.v1.DeviceSession.SessionState

Namespace

Google \ Cloud \ DeviceStreaming \ V1 \ DeviceSession

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SESSION_STATE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum SESSION_STATE_UNSPECIFIED = 0;

REQUESTED

Value: 1

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

Generated from protobuf enum REQUESTED = 1;

PENDING

Value: 2

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

Generated from protobuf enum PENDING = 2;

ACTIVE

Value: 3

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

Generated from protobuf enum ACTIVE = 3;

EXPIRED

Value: 4

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

Generated from protobuf enum EXPIRED = 4;

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.

Generated from protobuf enum FINISHED = 5;

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.

Generated from protobuf enum UNAVAILABLE = 6;

ERROR

Value: 7

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

Generated from protobuf enum ERROR = 7;