public sealed class SuggestArticlesRequest : IMessage<SuggestArticlesRequest>, IEquatable<SuggestArticlesRequest>, IDeepCloneable<SuggestArticlesRequest>, IBufferMessage, IMessage
The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2.Participants.SuggestArticles].
Implements
IMessage<SuggestArticlesRequest>, IEquatable<SuggestArticlesRequest>, IDeepCloneable<SuggestArticlesRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SuggestArticlesRequest()
public SuggestArticlesRequest()
SuggestArticlesRequest(SuggestArticlesRequest)
public SuggestArticlesRequest(SuggestArticlesRequest other)
Parameter | |
---|---|
Name | Description |
other | SuggestArticlesRequest |
Properties
ContextSize
public int ContextSize { get; set; }
Max number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestArticlesRequest.latest_message] to use as context when compiling the suggestion. By default 20 and at most 50.
Property Value | |
---|---|
Type | Description |
Int32 |
LatestMessage
public string LatestMessage { get; set; }
The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.
Format: projects/{Project ID}/locations/{Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
Property Value | |
---|---|
Type | Description |
String |
LatestMessageAsMessageName
public MessageName LatestMessageAsMessageName { get; set; }
MessageName-typed view over the LatestMessage resource name property.
Property Value | |
---|---|
Type | Description |
MessageName |
Parent
public string Parent { get; set; }
Required. The name of the participant to fetch suggestion for.
Format: projects/{Project ID}/locations/{Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
Property Value | |
---|---|
Type | Description |
String |
ParentAsParticipantName
public ParticipantName ParentAsParticipantName { get; set; }
ParticipantName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ParticipantName |