Class WebhookRequest.Types.IntentInfo (1.4.0)

public sealed class IntentInfo : IMessage<WebhookRequest.Types.IntentInfo>, IEquatable<WebhookRequest.Types.IntentInfo>, IDeepCloneable<WebhookRequest.Types.IntentInfo>, IBufferMessage, IMessage

Represents intent information communicated to the webhook.

Inheritance

Object > WebhookRequest.Types.IntentInfo

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

IntentInfo()

public IntentInfo()

IntentInfo(WebhookRequest.Types.IntentInfo)

public IntentInfo(WebhookRequest.Types.IntentInfo other)
Parameter
NameDescription
otherWebhookRequest.Types.IntentInfo

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
TypeDescription
Single

DisplayName

public string DisplayName { get; set; }

Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent].

Property Value
TypeDescription
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/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/intents/&lt;Intent ID>.

Property Value
TypeDescription
String

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
TypeDescription
MapField<String, WebhookRequest.Types.IntentInfo.Types.IntentParameterValue>