Class GoogleCloudDialogflowV2beta1SuggestionInput
Represents the action to take for a tool call that requires confirmation.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2beta1SuggestionInput : IDirectResponseSchema
Properties
Action
Optional. The type of action to take with the tool.
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AnswerRecord
Required. Format: projects//locations//answerRecords/ The answer record associated with the tool call.
Declaration
[JsonProperty("answerRecord")]
public virtual string AnswerRecord { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IntentInput
The intent to be triggered on V3 agent.
Declaration
[JsonProperty("intentInput")]
public virtual GoogleCloudDialogflowV2beta1IntentInput IntentInput { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowV2beta1IntentInput |
Parameters
Parameters to be used for the tool call. If not provided, the tool will be called without any parameters.
Declaration
[JsonProperty("parameters")]
public virtual IDictionary<string, object> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
SendTime
object representation of SendTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SendTimeDateTimeOffset instead.")]
public virtual object SendTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SendTimeDateTimeOffset
DateTimeOffset representation of SendTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? SendTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
SendTimeRaw
Optional. Time when the current suggest input is sent. For tool calls, this timestamp (along with the answer record) will be included in the corresponding tool call result so that it can be identified.
Declaration
[JsonProperty("sendTime")]
public virtual string SendTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TextOverride
Optional. If the customer edited the suggestion before using it, include the revised text here.
Declaration
[JsonProperty("textOverride")]
public virtual GoogleCloudDialogflowV2beta1TextInput TextOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowV2beta1TextInput |