View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaConversation (google_api_discovery_engine v0.15.0)

External conversation proto definition.

Attributes

  • endTime (type: DateTime.t, default: nil) - Output only. The time the conversation finished.
  • messages (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaConversationMessage.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.