GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1ConversationEvent (google_api_dialogflow v0.66.2) View Source

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


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

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() ::
    conversation: String.t() | nil,
    errorStatus: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t() | nil,
      | nil,
    type: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.