View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1Message (google_api_dialogflow v0.78.0)

Represents a message posted into a conversation.

Attributes

  • content (type: String.t, default: nil) - Required. The message content.
  • createTime (type: DateTime.t, default: nil) - Output only. The time when the message was created in Contact Center AI.
  • languageCode (type: String.t, default: nil) - Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
  • messageAnnotation (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1MessageAnnotation.t, default: nil) - Output only. The annotation for the message.
  • name (type: String.t, default: nil) - Optional. The unique identifier of the message. Format: projects//locations//conversations//messages/.
  • participant (type: String.t, default: nil) - Output only. The participant that sends this message.
  • participantRole (type: String.t, default: nil) - Output only. The role of the participant.
  • sendTime (type: DateTime.t, default: nil) - Optional. The time when the message was sent.
  • sentimentAnalysis (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.t, default: nil) - Output only. The sentiment analysis result for the message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1Message{
  content: String.t() | nil,
  createTime: DateTime.t() | nil,
  languageCode: String.t() | nil,
  messageAnnotation:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1MessageAnnotation.t()
    | nil,
  name: String.t() | nil,
  participant: String.t() | nil,
  participantRole: String.t() | nil,
  sendTime: DateTime.t() | nil,
  sentimentAnalysis:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.