View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1ConversationEvent (google_api_dialogflow v0.88.2)

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.