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

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

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.