# Class GoldenExpectationOutcome (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Specifies the expectation and the result of that expectation.

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** |
| `observed_tool_call` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolCall` Output only. The result of the tool call expectation. This field is a member of `oneof`_ `result`. |
| `observed_tool_response` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolResponse` Output only. The result of the tool response expectation. This field is a member of `oneof`_ `result`. |
| `observed_agent_response` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Message` Output only. The result of the agent response expectation. This field is a member of `oneof`_ `result`. |
| `observed_agent_transfer` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.AgentTransfer` Output only. The result of the agent transfer expectation. This field is a member of `oneof`_ `result`. |
| `observed_payload` | `google.protobuf.struct_pb2.Struct` Output only. An observed custom payload. There are no expectations for custom payloads. This is only used for metrics calculation. The outcome is always SKIPPED. This field is a member of `oneof`_ `result`. |
| `expectation` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Evaluation.GoldenExpectation` Output only. The expectation that was evaluated. |
| `outcome` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.EvaluationResult.Outcome` Output only. The outcome of the expectation. |
| `semantic_similarity_result` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.EvaluationResult.SemanticSimilarityResult` Output only. The result of the semantic similarity check. |
| `tool_invocation_result` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult` Output only. The result of the tool invocation check. |

## Classes

### ToolInvocationResult

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

The result of the tool invocation check.

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