DeviceSessionArgs class
The set of arguments for DeviceSession. The set of arguments for DeviceSession.
Constructors
-
DeviceSessionArgs({required Input<
AndroidDevice> androidDevice, Input<String> ? expireTime, Input<String> ? name, Input<String> ? project, Input<String> ? ttl}) -
Creates a new DeviceSessionArgs.
androidDeviceThe requested deviceexpireTimeOptional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.nameOptional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"projectOptional.ttlOptional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes.const -
DeviceSessionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
androidDevice
→ Input<
AndroidDevice> -
The requested device
final
-
expireTime
→ Input<
String> ? -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ttl
→ Input<
String> ? -
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited