public sealed class ConversationEvent : IMessage<ConversationEvent>, IEquatable<ConversationEvent>, IDeepCloneable<ConversationEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ConversationEvent.
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Implements
IMessageConversationEvent, IEquatableConversationEvent, IDeepCloneableConversationEvent, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
ConversationEvent()
public ConversationEvent()
ConversationEvent(ConversationEvent)
public ConversationEvent(ConversationEvent other)
Parameter | |
---|---|
Name | Description |
other |
ConversationEvent |
Properties
Conversation
public string Conversation { get; set; }
Required. 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; }
Optional. 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 |
ConversationEventPayloadOneofCase |
Type
public ConversationEvent.Types.Type Type { get; set; }
Required. The type of the event that this notification refers to.
Property Value | |
---|---|
Type | Description |
ConversationEventTypesType |