- [Resource: EvaluationCaseResult](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#EvaluationCaseResult)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#EvaluationCaseResult.SCHEMA_REPRESENTATION)
- [Status](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Status)
- [MatcherResult](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#MatcherResult)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#MatcherResult.SCHEMA_REPRESENTATION)
- [OrderResultMatcherResult](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#OrderResultMatcherResult)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#OrderResultMatcherResult.SCHEMA_REPRESENTATION)
- [AgentUtteranceStringMatcherResult](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#AgentUtteranceStringMatcherResult)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#AgentUtteranceStringMatcherResult.SCHEMA_REPRESENTATION)
- [LLMJudgementMatcherResult](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#LLMJudgementMatcherResult)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#LLMJudgementMatcherResult.SCHEMA_REPRESENTATION)
- [Hyperlink](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Hyperlink)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Hyperlink.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#METHODS_SUMMARY)

## Resource: EvaluationCaseResult

An evaluation case result.

| JSON representation |
|---|
| ``` { "name": string, "evaluationCase": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCases#EvaluationCase`) }, "evaluationContext": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationContexts#EvaluationContext`) }, "evaluationDataset": string, "sessionRecord": string, "status": enum (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Status`), "matcherResults": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#MatcherResult`) } ], "createTime": string, "labels": [ string ], "links": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Hyperlink`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the evaluation case result. Format: projects/{project}/locations/{location}/brands/{brand}/evaluationCaseResults/{evaluationCaseResult} |
| `evaluationCase` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCases#EvaluationCase`)`` Output only. The evaluation case this result is associated with. |
| `evaluationContext` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationContexts#EvaluationContext`)`` Output only. The evaluation context this result is associated with. |
| `evaluationDataset` | `string` Output only. The evaluation dataset reference this result is associated with. If not set, it means the test case is run as a standalone test, not as part of an evaluation dataset. Format: projects/{project}/locations/{location}/brands/{brand}/evaluationDatasets/{evaluationDataset} |
| `sessionRecord` | `string` Output only. The resource name of the session record this result is associated with. Format: projects/{project}/locations/{location}/brands/{brand}/sessionRecords/{sessionRecord} |
| `status` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Status`)`` Output only. The status of the evaluation case. |
| `matcherResults[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#MatcherResult`)`` Output only. The list of evaluation matcher results for the evaluation case. The results of the evaluation matchers. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The create time of the evaluation case result. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels[]` | `string` Output only. The labels associated with the evaluation case result. |
| `links[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#Hyperlink`)`` Output only. The list of hyperlinks for the evaluation case result. |

## Status

The status of the evaluation case.

| Enums ||
|---|---|
| `STATUS_UNSPECIFIED` | Invalid status. |
| `PASS` | All the evaluation matchers are satisfied. |
| `FAIL` | At least one of the evaluation matchers is not satisfied. |
| `ERROR` | There was an error that the BidiProcessOrder session terminated unexpectedly and the evaluation could not be completed. |

## MatcherResult

A result of an evaluation matcher.

| JSON representation |
|---|
| ``` { "evaluationMatcher": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationMatchers#EvaluationMatcher`) }, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "orderResultMatcherResult": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#OrderResultMatcherResult`) }, "agentUtteranceStringMatcherResult": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#AgentUtteranceStringMatcherResult`) }, "llmJudgementMatcherResult": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#LLMJudgementMatcherResult`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `evaluationMatcher` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationMatchers#EvaluationMatcher`)`` Output only. The evaluation matcher this result is associated with. |
| The result of the evaluation matcher. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `orderResultMatcherResult` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#OrderResultMatcherResult`)`` Output only. The result of an order result matcher. |
| `agentUtteranceStringMatcherResult` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#AgentUtteranceStringMatcherResult`)`` Output only. The result of an agent utterance string matcher. |
| `llmJudgementMatcherResult` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults#LLMJudgementMatcherResult`)`` Output only. The result of an agent utterance LLM judgement matcher. |
| End of mutually exclusive fields. ||

## OrderResultMatcherResult

A result of an order result matcher.

| JSON representation |
|---|
| ``` { "match": boolean, "difference": string } ``` |

| Fields ||
|---|---|
| `match` | `boolean` Output only. Whether the order result matcher passed or not. |
| `difference` | `string` Output only. The pretty printed difference between the expected order and the actual order in the order result matcher in the (-want +got) format. |

## AgentUtteranceStringMatcherResult

A result of an agent utterance string matcher.

| JSON representation |
|---|
| ``` { "match": boolean } ``` |

| Fields ||
|---|---|
| `match` | `boolean` Output only. Whether the agent utterance string matcher passed or not. |

## LLMJudgementMatcherResult

A result of an agent utterance LLM judgement matcher.

| JSON representation |
|---|
| ``` { "match": boolean, "reasoning": string } ``` |

| Fields ||
|---|---|
| `match` | `boolean` Output only. Whether the agent utterance LLM judgement matcher passed or not. |
| `reasoning` | `string` Output only. Describes the reasoning on why the LLM judgement matched or failed. |

## Hyperlink

A hyperlink to a resource.

| JSON representation |
|---|
| ``` { "text": string, "url": string, "internalOnly": boolean } ``` |

| Fields ||
|---|---|
| `text` | `string` Output only. The text to display for the hyperlink. |
| `url` | `string` Output only. The URL of the hyperlink. |
| `internalOnly` | `boolean` Output only. Whether the hyperlink is internal only. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults/delete` | Deletes the specified EvaluationCaseResult. |
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults/get` | Gets an EvaluationCaseResult. |
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.brands.evaluationCaseResults/list` | Lists EvaluationCaseResults. |