google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationEvent View Source

Represents a notification sent to Cloud Pub/Sub subscribers for conversation lifecycle events.

Attributes

  • conversation (type: String.t, default: nil) - The unique identifier of the conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>.
  • errorStatus (type: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t, default: nil) - More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
  • newMessagePayload (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Message.t, default: nil) - Payload of NEW_MESSAGE event.
  • type (type: String.t, default: nil) - The type of the event that this notification refers to.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationEvent{
  conversation: String.t(),
  errorStatus: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t(),
  newMessagePayload:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Message.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.