1.0.0-beta09 (latest) 1.0.0-beta08

    public sealed class EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall : IMessage<EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall>, IEquatable<EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall>, IDeepCloneable<EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall.

The observed tool call and response.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EvaluationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types)[ScenarioExpectationOutcome](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types)[ObservedToolCall](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EvaluationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types)[ScenarioExpectationOutcome](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types)[ObservedToolCall](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EvaluationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types)[ScenarioExpectationOutcome](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types)[ObservedToolCall](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta)

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### ObservedToolCall()

    public ObservedToolCall()

### ObservedToolCall(ObservedToolCall)

    public ObservedToolCall(EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcomehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationResult.Types.ScenarioExpectationOutcome.Types.ObservedToolCall` |

## Properties

### ToolCall

    public ToolCall ToolCall { get; set; }

Output only. The observed tool call.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ToolCall` |   |

### ToolResponse

    public ToolResponse ToolResponse { get; set; }

Output only. The observed tool response.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ToolResponse` |   |