Class DeviceSession
Protobuf message describing the device message, used from several RPCs.
Implements
Inherited Members
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class DeviceSession : IDirectResponseSchema
Properties
ActiveStartTime
object representation of ActiveStartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ActiveStartTimeDateTimeOffset instead.")]
public virtual object ActiveStartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ActiveStartTimeDateTimeOffset
DateTimeOffset representation of ActiveStartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ActiveStartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ActiveStartTimeRaw
Output only. The timestamp that the session first became ACTIVE.
Declaration
[JsonProperty("activeStartTime")]
public virtual string ActiveStartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
AndroidDevice
Required. The requested device
Declaration
[JsonProperty("androidDevice")]
public virtual AndroidDevice AndroidDevice { get; set; }
Property Value
Type | Description |
---|---|
AndroidDevice |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time that the Session was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Output only. The title of the DeviceSession to be presented in the UI.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
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.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
InactivityTimeout
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
Declaration
[JsonProperty("inactivityTimeout")]
public virtual object InactivityTimeout { get; set; }
Property Value
Type | Description |
---|---|
object |
Name
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. Current state of the DeviceSession.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateHistories
Output only. The historical state transitions of the session_state message including the current session state.
Declaration
[JsonProperty("stateHistories")]
public virtual IList<SessionStateEvent> StateHistories { get; set; }
Property Value
Type | Description |
---|---|
IList<SessionStateEvent> |
Ttl
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
Type | Description |
---|---|
object |