public sealed class CompanionSuggestion.Types.Guidance : IMessage<CompanionSuggestion.Types.Guidance>, IEquatable<CompanionSuggestion.Types.Guidance>, IDeepCloneable<CompanionSuggestion.Types.Guidance>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class CompanionSuggestion.Types.Guidance.
Represents guidance for companion suggestion.
Implements
IMessageCompanionSuggestionTypesGuidance, IEquatableCompanionSuggestionTypesGuidance, IDeepCloneableCompanionSuggestionTypesGuidance, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Guidance()
public Guidance()Guidance(Guidance)
public Guidance(CompanionSuggestion.Types.Guidance other)| Parameter | |
|---|---|
| Name | Description |
other |
CompanionSuggestionTypesGuidance |
Properties
Explanation
public string Explanation { get; set; }Optional. A brief explanation of why the action is suggested.
| Property Value | |
|---|---|
| Type | Description |
string |
|
GroundingMetadata
public GroundingMetadata GroundingMetadata { get; set; }Optional. Grounding metadata for the generated guidance.
| Property Value | |
|---|---|
| Type | Description |
GroundingMetadata |
|
InstructionSource
public GuidanceInstruction InstructionSource { get; set; }Guidance instruction source.
| Property Value | |
|---|---|
| Type | Description |
GuidanceInstruction |
|
KnowledgeSources
public RepeatedField<CompanionSuggestion.Types.Guidance.Types.KnowledgeSource> KnowledgeSources { get; }Knowledge sources.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldCompanionSuggestionTypesGuidanceTypesKnowledgeSource |
|
SuggestedAction
public string SuggestedAction { get; set; }Suggested action to human agent. For example, "Ask the customer for their shipping address" or "Create a new case for the customer".
| Property Value | |
|---|---|
| Type | Description |
string |
|
SuggestedReply
public string SuggestedReply { get; set; }Suggested reply for the agent to respond to the customer.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolCalls
public RepeatedField<ToolCallSuggestion> ToolCalls { get; }Optional. Rich structured tool calls and their associated citations delivered directly as suggestions.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldToolCallSuggestion |
|
TriggeringToolCallAnswerRecords
public RepeatedField<string> TriggeringToolCallAnswerRecords { get; }Optional. The AnswerRecords of the tool calls that triggered this
guidance.
Format: projects/<Project ID>/locations/<Location
ID>/answerRecords/<Answer Record ID>.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
TriggeringToolCallAnswerRecordsAsAnswerRecordNames
public ResourceNameList<AnswerRecordName> TriggeringToolCallAnswerRecordsAsAnswerRecordNames { get; }AnswerRecordName-typed view over the TriggeringToolCallAnswerRecords resource name property.
| Property Value | |
|---|---|
| Type | Description |
ResourceNameListAnswerRecordName |
|