1.1.0 (latest) 1.0.0

    public sealed class ToolFakeConfig : IMessage<ToolFakeConfig>, IEquatable<ToolFakeConfig>, IDeepCloneable<ToolFakeConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ToolFakeConfig.

Configuration for tool behavior in fake mode.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ToolFakeConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ToolFakeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ToolFakeConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ToolFakeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ToolFakeConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ToolFakeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ToolFakeConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### ToolFakeConfig()

    public ToolFakeConfig()

### ToolFakeConfig(ToolFakeConfig)

    public ToolFakeConfig(ToolFakeConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ToolFakeConfig` |

## Properties

### CodeBlock

    public CodeBlock CodeBlock { get; set; }

Optional. Code block which will be executed instead of a real tool call.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CodeBlock` |   |

### EnableFakeMode

    public bool EnableFakeMode { get; set; }

Optional. Whether the tool is using fake mode.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ToolResponseCase

    public ToolFakeConfig.ToolResponseOneofCase ToolResponseCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ToolFakeConfigToolResponseOneofCase` |   |