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 \ V1Methods
__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. |
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. |
| Returns | |
|---|---|
| Type | Description |
$this |
|