public sealed class WebhookRequest.Types.IntentInfo : IMessage<WebhookRequest.Types.IntentInfo>, IEquatable<WebhookRequest.Types.IntentInfo>, IDeepCloneable<WebhookRequest.Types.IntentInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class WebhookRequest.Types.IntentInfo.
Represents intent information communicated to the webhook.
Implements
IMessageWebhookRequestTypesIntentInfo, IEquatableWebhookRequestTypesIntentInfo, IDeepCloneableWebhookRequestTypesIntentInfo, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
IntentInfo()
public IntentInfo()
IntentInfo(IntentInfo)
public IntentInfo(WebhookRequest.Types.IntentInfo other)
Parameter | |
---|---|
Name | Description |
other |
WebhookRequestTypesIntentInfo |
Properties
Confidence
public float Confidence { get; set; }
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
Property Value | |
---|---|
Type | Description |
float |
DisplayName
public string DisplayName { get; set; }
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent].
Property Value | |
---|---|
Type | Description |
string |
LastMatchedIntent
public string LastMatchedIntent { get; set; }
Always present. The unique identifier of the last matched
[intent][google.cloud.dialogflow.cx.v3.Intent].
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
Property Value | |
---|---|
Type | Description |
string |
LastMatchedIntentAsIntentName
public IntentName LastMatchedIntentAsIntentName { get; set; }
IntentName-typed view over the LastMatchedIntent resource name property.
Property Value | |
---|---|
Type | Description |
IntentName |
Parameters
public MapField<string, WebhookRequest.Types.IntentInfo.Types.IntentParameterValue> Parameters { get; }
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
Property Value | |
---|---|
Type | Description |
MapFieldstringWebhookRequestTypesIntentInfoTypesIntentParameterValue |