public sealed class Conversation.Types.ContextReference : IMessage<Conversation.Types.ContextReference>, IEquatable<Conversation.Types.ContextReference>, IDeepCloneable<Conversation.Types.ContextReference>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Conversation.Types.ContextReference.
Represents a section of ingested context information.
Implements
IMessageConversationTypesContextReference, IEquatableConversationTypesContextReference, IDeepCloneableConversationTypesContextReference, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ContextReference()
public ContextReference()
ContextReference(ContextReference)
public ContextReference(Conversation.Types.ContextReference other)
Parameter | |
---|---|
Name | Description |
other |
ConversationTypesContextReference |
Properties
ContextContents
public RepeatedField<Conversation.Types.ContextReference.Types.ContextContent> ContextContents { get; }
Required. The list of content updates for a context reference.
Property Value | |
---|---|
Type | Description |
RepeatedFieldConversationTypesContextReferenceTypesContextContent |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the context reference was first created.
Property Value | |
---|---|
Type | Description |
Timestamp |
LanguageCode
public string LanguageCode { get; set; }
Optional. The language of the information ingested, defaults to "en-US" if not set.
Property Value | |
---|---|
Type | Description |
string |
UpdateMode
public Conversation.Types.ContextReference.Types.UpdateMode UpdateMode { get; set; }
Required. The mode in which context reference contents are updated.
Property Value | |
---|---|
Type | Description |
ConversationTypesContextReferenceTypesUpdateMode |