Class NotificationConfig (2.7.1)

NotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines notification behavior. .. attribute:: topic

Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.

Notification works for phone calls, if this topic either is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.

Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

:type: str

Attribute

NameDescription
message_format google.cloud.dialogflow_v2.types.NotificationConfig.MessageFormat
Format of message.

Classes

MessageFormat

MessageFormat(value)

Format of cloud pub/sub message.