Google Cloud Dialogflow v2 API - Class GenerateCompanionSuggestionsResponse (4.32.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class GenerateCompanionSuggestionsResponse.

Represents the response message for GenerateCompanionSuggestions.

Inheritance

object > GenerateCompanionSuggestionsResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

GenerateCompanionSuggestionsResponse()

public GenerateCompanionSuggestionsResponse()

GenerateCompanionSuggestionsResponse(GenerateCompanionSuggestionsResponse)

public GenerateCompanionSuggestionsResponse(GenerateCompanionSuggestionsResponse other)
Parameter
Name Description
other GenerateCompanionSuggestionsResponse

Properties

AnswerRecord

public string AnswerRecord { get; set; }

Answer record that uniquely identifies the suggestion. Format: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>.

Property Value
Type Description
string

AnswerRecordAsAnswerRecordName

public AnswerRecordName AnswerRecordAsAnswerRecordName { get; set; }

AnswerRecordName-typed view over the AnswerRecord resource name property.

Property Value
Type Description
AnswerRecordName

CompanionSuggestion

public CompanionSuggestion CompanionSuggestion { get; set; }

Contains the core suggestion generated by the Companion Agent.

Property Value
Type Description
CompanionSuggestion

LatestMessage

public string LatestMessage { get; set; }

The name of the latest conversation message used to compile suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Property Value
Type Description
string

SuggestionIndex

public int SuggestionIndex { get; set; }

Output only. The 1-based sequential index of the suggestion generated in this session.

Property Value
Type Description
int