Class GoogleCloudDialogflowV2Message
Represents a message posted into a conversation.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2Message : IDirectResponseSchema
Properties
Content
Required. The message content.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time when the message was created in Contact Center AI.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MessageAnnotation
Output only. The annotation for the message.
Declaration
[JsonProperty("messageAnnotation")]
public virtual GoogleCloudDialogflowV2MessageAnnotation MessageAnnotation { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2MessageAnnotation |
Name
Optional. The unique identifier of the message. Format: projects//locations//conversations//messages/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Participant
Output only. The participant that sends this message.
Declaration
[JsonProperty("participant")]
public virtual string Participant { get; set; }
Property Value
Type | Description |
---|---|
string |
ParticipantRole
Output only. The role of the participant.
Declaration
[JsonProperty("participantRole")]
public virtual string ParticipantRole { get; set; }
Property Value
Type | Description |
---|---|
string |
SendTime
object representation of SendTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SendTimeDateTimeOffset instead.")]
public virtual object SendTime { get; set; }
Property Value
Type | Description |
---|---|
object |
SendTimeDateTimeOffset
DateTimeOffset representation of SendTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? SendTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
SendTimeRaw
Optional. The time when the message was sent.
Declaration
[JsonProperty("sendTime")]
public virtual string SendTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
SentimentAnalysis
Output only. The sentiment analysis result for the message.
Declaration
[JsonProperty("sentimentAnalysis")]
public virtual GoogleCloudDialogflowV2SentimentAnalysisResult SentimentAnalysis { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2SentimentAnalysisResult |