View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationEvent (google_api_dialogflow v0.88.3)

Represents a notification sent to 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//conversations/.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.