Google Cloud Dialogflow v2beta1 API - Class NotificationConfig (1.0.0-beta19)

public sealed class NotificationConfig : IMessage<NotificationConfig>, IEquatable<NotificationConfig>, IDeepCloneable<NotificationConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class NotificationConfig.

Defines notification behavior.

Inheritance

object > NotificationConfig

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

NotificationConfig()

public NotificationConfig()

NotificationConfig(NotificationConfig)

public NotificationConfig(NotificationConfig other)
Parameter
Name Description
other NotificationConfig

Properties

MessageFormat

public NotificationConfig.Types.MessageFormat MessageFormat { get; set; }

Format of message.

Property Value
Type Description
NotificationConfigTypesMessageFormat

Topic

public string Topic { get; set; }

Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.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-<Conversation Project Number>@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/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

Property Value
Type Description
string