Google Cloud Dialogflow v2beta1 API - Class SuggestSmartRepliesRequest (1.0.0-beta10)

public sealed class SuggestSmartRepliesRequest : IMessage<SuggestSmartRepliesRequest>, IEquatable<SuggestSmartRepliesRequest>, IDeepCloneable<SuggestSmartRepliesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SuggestSmartRepliesRequest.

The request message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].

Inheritance

object > SuggestSmartRepliesRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SuggestSmartRepliesRequest()

public SuggestSmartRepliesRequest()

SuggestSmartRepliesRequest(SuggestSmartRepliesRequest)

public SuggestSmartRepliesRequest(SuggestSmartRepliesRequest other)
Parameter
NameDescription
otherSuggestSmartRepliesRequest

Properties

ContextSize

public int ContextSize { get; set; }

Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 20 and at most 50.

Property Value
TypeDescription
int

CurrentTextInput

public TextInput CurrentTextInput { get; set; }

The current natural language text segment to compile suggestion for. This provides a way for user to get follow up smart reply suggestion after a smart reply selection, without sending a text message.

Property Value
TypeDescription
TextInput

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
TypeDescription
string

LatestMessageAsMessageName

public MessageName LatestMessageAsMessageName { get; set; }

MessageName-typed view over the LatestMessage resource name property.

Property Value
TypeDescription
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
TypeDescription
string

ParentAsParticipantName

public ParticipantName ParentAsParticipantName { get; set; }

ParticipantName-typed view over the Parent resource name property.

Property Value
TypeDescription
ParticipantName