View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2Message (google_api_dialogflow v0.88.3)

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.V3.Model.GoogleCloudDialogflowV2MessageAnnotation.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.V3.Model.GoogleCloudDialogflowV2SentimentAnalysisResult.t, default: nil) - Output only. The sentiment analysis result for the message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2Message{
  content: String.t() | nil,
  createTime: DateTime.t() | nil,
  languageCode: String.t() | nil,
  messageAnnotation:
    GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2MessageAnnotation.t()
    | nil,
  name: String.t() | nil,
  participant: String.t() | nil,
  participantRole: String.t() | nil,
  sendTime: DateTime.t() | nil,
  sentimentAnalysis:
    GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2SentimentAnalysisResult.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.