Class SessionInfo (0.7.1)

SessionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents session information communicated to and from the webhook.

Attributes

NameDescription
session str
Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a session. Format: projects/ or projects/ if environment is specified.
parameters Sequence[google.cloud.dialogflowcx_v3.types.SessionInfo.ParametersEntry]
Optional for WebhookRequest. Optional for 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. The map is keyed by parameters' display names.

Classes

ParametersEntry

ParametersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.