Class SessionInfo (1.0.0)

public sealed class SessionInfo : IMessage<SessionInfo>, IEquatable<SessionInfo>, IDeepCloneable<SessionInfo>, IBufferMessage, IMessage

Represents session information communicated to and from the webhook.

Inheritance

System.Object > SessionInfo

Implements

Google.Protobuf.IMessage<SessionInfo>, System.IEquatable<SessionInfo>, Google.Protobuf.IDeepCloneable<SessionInfo>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

SessionInfo()

public SessionInfo()

SessionInfo(SessionInfo)

public SessionInfo(SessionInfo other)
Parameter
NameDescription
otherSessionInfo

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
TypeDescription
Google.Protobuf.Collections.MapField<System.String, Google.Protobuf.WellKnownTypes.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 user. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/sessions/&lt;Session ID>.

Property Value
TypeDescription
System.String

SessionAsSessionName

public SessionName SessionAsSessionName { get; set; }

SessionName-typed view over the Session resource name property.

Property Value
TypeDescription
SessionName