public sealed class ConversationEvent : IMessage<ConversationEvent>, IEquatable<ConversationEvent>, IDeepCloneable<ConversationEvent>, IBufferMessage, IMessageReference 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
IMessageConversationEvent, IEquatableConversationEvent, IDeepCloneableConversationEvent, 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 |
|
NewRecognitionResultPayload
public StreamingRecognitionResult NewRecognitionResultPayload { get; set; }Payload of NEW_RECOGNITION_RESULT event.
| Property Value | |
|---|---|
| Type | Description |
StreamingRecognitionResult |
|
PayloadCase
public ConversationEvent.PayloadOneofCase PayloadCase { get; }| Property Value | |
|---|---|
| Type | Description |
ConversationEventPayloadOneofCase |
|
Type
public ConversationEvent.Types.Type Type { get; set; }The type of the event that this notification refers to.
| Property Value | |
|---|---|
| Type | Description |
ConversationEventTypesType |
|