View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Session (google_api_discovery_engine v0.16.0)

External session proto definition.

Attributes

  • endTime (type: DateTime.t, default: nil) - Output only. The time the session finished.
  • name (type: String.t, default: nil) - Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*
  • startTime (type: DateTime.t, default: nil) - Output only. The time the session started.
  • state (type: String.t, default: nil) - The state of the session.
  • turns (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SessionTurn.t), default: nil) - Turns.
  • userPseudoId (type: String.t, default: nil) - A unique identifier for tracking users.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Session{
  endTime: DateTime.t() | nil,
  name: String.t() | nil,
  startTime: DateTime.t() | nil,
  state: String.t() | nil,
  turns:
    [
      GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SessionTurn.t()
    ]
    | nil,
  userPseudoId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.