# Class SessionInput (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Input for the session.

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` Optional. Text data from the end user. This field is a member of `oneof`_ `input_type`. |
| `dtmf` | `str` Optional. DTMF digits from the end user. This field is a member of `oneof`_ `input_type`. |
| `audio` | `bytes` Optional. Audio data from the end user. This field is a member of `oneof`_ `input_type`. |
| `tool_responses` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolResponses` Optional. Execution results for the tool calls from the client. This field is a member of `oneof`_ `input_type`. |
| `image` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Image` Optional. Image data from the end user. This field is a member of `oneof`_ `input_type`. |
| `blob` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Blob` Optional. Blob data from the end user. This field is a member of `oneof`_ `input_type`. |
| `variables` | `google.protobuf.struct_pb2.Struct` Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent. Unrecognized variables will still be sent to the \[Dialogflow agent\]\[Agent.RemoteDialogflowAgent\] as additional session parameters. This field is a member of `oneof`_ `input_type`. |
| `event` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Event` Optional. Event input. This field is a member of `oneof`_ `input_type`. |
| `will_continue` | `bool` Optional. A flag to indicate if the current message is a fragment of a larger input in the bidi streaming session. When set to `true`, the agent defers processing until it receives a subsequent message where `will_continue` is `false`, or until the system detects an endpoint in the audio input. NOTE: This field does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing signal. |