GoogleApi.Testing.V1.Model.DeviceSession (google_api_testing v0.34.0)

View Source

Protobuf message describing the device message, used from several RPCs.

Attributes

  • activeStartTime (type: DateTime.t, default: nil) - Output only. The timestamp that the session first became ACTIVE.
  • androidDevice (type: GoogleApi.Testing.V1.Model.AndroidDevice.t, default: nil) - Required. The requested device
  • createTime (type: DateTime.t, default: nil) - Output only. The time that the Session was created.
  • displayName (type: String.t, default: nil) - Output only. The title of the DeviceSession to be presented in the UI.
  • expireTime (type: DateTime.t, default: nil) - 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.
  • inactivityTimeout (type: String.t, default: nil) - Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
  • name (type: String.t, default: nil) - Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
  • state (type: String.t, default: nil) - Output only. Current state of the DeviceSession.
  • stateHistories (type: list(GoogleApi.Testing.V1.Model.SessionStateEvent.t), default: nil) - Output only. The historical state transitions of the session_state message including the current session state.
  • ttl (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Testing.V1.Model.DeviceSession{
  activeStartTime: DateTime.t() | nil,
  androidDevice: GoogleApi.Testing.V1.Model.AndroidDevice.t() | nil,
  createTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  expireTime: DateTime.t() | nil,
  inactivityTimeout: String.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil,
  stateHistories: [GoogleApi.Testing.V1.Model.SessionStateEvent.t()] | nil,
  ttl: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.