View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Conversation (google_api_discovery_engine v0.27.0)

External conversation proto definition.

Attributes

  • endTime (type: DateTime.t, default: nil) - Output only. The time the conversation finished.
  • messages (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ConversationMessage.t), default: nil) - Conversation messages.
  • name (type: String.t, default: nil) - Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/* or projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*.
  • startTime (type: DateTime.t, default: nil) - Output only. The time the conversation started.
  • state (type: String.t, default: nil) - The state of the Conversation.
  • userPseudoId (type: String.t, default: nil) - A unique identifier for tracking users.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.