public sealed class GuidanceInstruction : IMessage<GuidanceInstruction>, IEquatable<GuidanceInstruction>, IDeepCloneable<GuidanceInstruction>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class GuidanceInstruction.
Guidance instruction for the companion agent.
Implements
IMessageGuidanceInstruction, IEquatableGuidanceInstruction, IDeepCloneableGuidanceInstruction, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
GuidanceInstruction()
public GuidanceInstruction()GuidanceInstruction(GuidanceInstruction)
public GuidanceInstruction(GuidanceInstruction other)| Parameter | |
|---|---|
| Name | Description |
other |
GuidanceInstruction |
Properties
Actions
public RepeatedField<GuidanceInstruction.Types.Action> Actions { get; }Optional. The action items that can be processed.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldGuidanceInstructionTypesAction |
|
Condition
public string Condition { get; set; }Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisableSuggestedReply
public bool DisableSuggestedReply { get; set; }Optional. Whether to disable suggested reply generation for this
instruction. When set to true, guidance generated from this instruction
will not include a suggested reply. Default is false (suggested reply
enabled).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
DisplayDetails
public string DisplayDetails { get; set; }Optional. The detailed description of this instruction.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Optional. Display name for the instruction. This name should be unique within the companion agent.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TriggerEvent
public CompanionAgent.Types.TriggerEvent TriggerEvent { get; set; }Optional. Event that triggers the guidance instruction. If UNSPECIFIED, the instruction triggering will be the same as the skill's skill_triggering_event.
| Property Value | |
|---|---|
| Type | Description |
CompanionAgentTypesTriggerEvent |
|