public sealed class ConversationEvent : IMessage<ConversationEvent>, IEquatable<ConversationEvent>, IDeepCloneable<ConversationEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationEvent.
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Implements
IMessage<ConversationEvent>, IEquatable<ConversationEvent>, IDeepCloneable<ConversationEvent>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ConversationEvent()
public ConversationEvent()
ConversationEvent(ConversationEvent)
public ConversationEvent(ConversationEvent other)
Parameter | |
---|---|
Name | Description |
other | ConversationEvent |
Properties
Conversation
public string Conversation { get; set; }
The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>
.
Property Value | |
---|---|
Type | Description |
String |
ErrorStatus
public Status ErrorStatus { get; set; }
More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
Property Value | |
---|---|
Type | Description |
Status |
NewMessagePayload
public Message NewMessagePayload { get; set; }
Payload of NEW_MESSAGE event.
Property Value | |
---|---|
Type | Description |
Message |
PayloadCase
public ConversationEvent.PayloadOneofCase PayloadCase { get; }
Property Value | |
---|---|
Type | Description |
ConversationEvent.PayloadOneofCase |
Type
public ConversationEvent.Types.Type Type { get; set; }
The type of the event that this notification refers to.
Property Value | |
---|---|
Type | Description |
ConversationEvent.Types.Type |