Class NotificationConfig (3.6.0)

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

Defines notification behavior.

Inheritance

Object > NotificationConfig

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

NotificationConfig()

public NotificationConfig()

NotificationConfig(NotificationConfig)

public NotificationConfig(NotificationConfig other)
Parameter
NameDescription
otherNotificationConfig

Properties

MessageFormat

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

Format of message.

Property Value
TypeDescription
NotificationConfig.Types.MessageFormat

Topic

public string Topic { get; set; }

Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2.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}.

Property Value
TypeDescription
String