Class SessionInfo (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class SessionInfo : IMessage<SessionInfo>, IEquatable<SessionInfo>, IDeepCloneable<SessionInfo>, IBufferMessage, IMessageRepresents session information communicated to and from the webhook.
Implements
IMessage<SessionInfo>, IEquatable<SessionInfo>, IDeepCloneable<SessionInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
SessionInfo()
public SessionInfo()SessionInfo(SessionInfo)
public SessionInfo(SessionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
SessionInfo |
Properties
Parameters
public MapField<string, Value> Parameters { get; }Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
| Property Value | |
|---|---|
| Type | Description |
MapField<String, Value> |
|
Session
public string Session { get; set; }Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
The unique identifier of the [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This
field can be used by the webhook to identify a session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
if environment is specified.
| Property Value | |
|---|---|
| Type | Description |
String |
|
SessionAsSessionName
public SessionName SessionAsSessionName { get; set; }SessionName-typed view over the Session resource name property.
| Property Value | |
|---|---|
| Type | Description |
SessionName |
|