Class NotificationConfig (2.23.3)

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

Defines notification behavior.

Attributes

NameDescription
topic str
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- 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/.
message_format google.cloud.dialogflow_v2.types.NotificationConfig.MessageFormat
Format of message.

Classes

MessageFormat

MessageFormat(value)

Format of cloud pub/sub message.

Values: MESSAGE_FORMAT_UNSPECIFIED (0): If it is unspecified, PROTO will be used. PROTO (1): Pub/Sub message will be serialized proto. JSON (2): Pub/Sub message will be json.