# Class ScenarioExpectation (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

The expectation to evaluate the conversation produced by the
simulation.

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** |
| `tool_expectation` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Evaluation.ScenarioExpectation.ToolExpectation` Optional. The tool call and response pair to be evaluated. This field is a member of `oneof`_ `expectation`. |
| `agent_response` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Message` Optional. The agent response to be evaluated. This field is a member of `oneof`_ `expectation`. |

## Classes

### ToolExpectation

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

The tool call and response pair to be evaluated.