Class TurnInput (2.43.0)

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

Input that forms data for a single turn.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
text str
The UTF-8 encoded natural language text to be processed. This field is a member of oneof_ main_content.
intent str
The intent to be triggered on V3 agent. Format: projects/. This can only be used to trigger the Welcome intent id if the modality is text. This field is a member of oneof_ main_content.
event str
The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME". This field is a member of oneof_ main_content.
virtual_agent_parameters google.protobuf.struct_pb2.Struct
Optional. Parameters to be passed to the virtual agent.