0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class MockConfig.

Mock tool calls configuration for the session.

Generated from protobuf message `google.cloud.ces.v1.MockConfig`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ mocked_tool_calls` | `array<MockedToolCall>` Optional. All tool calls to mock for the duration of the session. |
| `↳ unmatched_tool_call_behavior` | `int` Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls. |

### getMockedToolCalls

Optional. All tool calls to mock for the duration of the session.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<MockedToolCall>` |   |

### setMockedToolCalls

Optional. All tool calls to mock for the duration of the session.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<MockedToolCall>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnmatchedToolCallBehavior

Required. Beavhior for tool calls that don't match any args patterns in
mocked_tool_calls.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [UnmatchedToolCallBehavior](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.MockConfig.UnmatchedToolCallBehavior.md.txt). |

### setUnmatchedToolCallBehavior

Required. Beavhior for tool calls that don't match any args patterns in
mocked_tool_calls.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [UnmatchedToolCallBehavior](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.MockConfig.UnmatchedToolCallBehavior.md.txt). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |