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

Defines notification behavior.

Attributes

  • messageFormat (type: String.t, default: nil) - Format of message.
  • topic (type: String.t, default: nil) - Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project. For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic. Format: projects//locations//topics/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2NotificationConfig{
  messageFormat: String.t() | nil,
  topic: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.