View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSession (google_api_discovery_engine v0.7.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 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.V1beta.Model.GoogleCloudDiscoveryengineV1betaSessionTurn.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.V1beta.Model.GoogleCloudDiscoveryengineV1betaSession{
    endTime: DateTime.t() | nil,
    name: String.t() | nil,
    startTime: DateTime.t() | nil,
    state: String.t() | nil,
    turns:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSessionTurn.t()
      ]
      | nil,
    userPseudoId: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.