DeviceSession
import type { DeviceSession } from "https://googleapis.deno.dev/v1/testing:v1.ts";
Protobuf message describing the device message, used from several RPCs.
interface DeviceSession {
readonly activeStartTime?: Date;
androidDevice?: AndroidDevice;
readonly createTime?: Date;
readonly displayName?: string;
expireTime?: Date;
readonly inactivityTimeout?: number;
name?: string;
readonly state?:
| "SESSION_STATE_UNSPECIFIED"
| "REQUESTED"
| "PENDING"
| "ACTIVE"
| "EXPIRED"
| "FINISHED"
| "UNAVAILABLE"
| "ERROR";
readonly stateHistories?: SessionStateEvent[];
ttl?: number;
}§Properties
§
androidDevice?: AndroidDevice
[src]Required. The requested device
§
readonly displayName?: string
[src]Output only. The title of the DeviceSession to be presented in the UI.
§
readonly inactivityTimeout?: number
[src]Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
§
name?: string
[src]Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
§
readonly state?: "SESSION_STATE_UNSPECIFIED" | "REQUESTED" | "PENDING" | "ACTIVE" | "EXPIRED" | "FINISHED" | "UNAVAILABLE" | "ERROR"
[src]Output only. Current state of the DeviceSession.
§
readonly stateHistories?: SessionStateEvent[]
[src]Output only. The historical state transitions of the session_state message including the current session state.