Google Cloud Ces V1 Client - Class ToolFakeConfig (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class ToolFakeConfig.

Configuration for tool behavior in fake mode.

Generated from protobuf message google.cloud.ces.v1.ToolFakeConfig

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ code_block CodeBlock

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

↳ enable_fake_mode bool

Optional. Whether the tool is using fake mode.

getCodeBlock

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

Returns
Type Description
CodeBlock|null

hasCodeBlock

setCodeBlock

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

Parameter
Name Description
var CodeBlock
Returns
Type Description
$this

getEnableFakeMode

Optional. Whether the tool is using fake mode.

Returns
Type Description
bool

setEnableFakeMode

Optional. Whether the tool is using fake mode.

Parameter
Name Description
var bool
Returns
Type Description
$this

getToolResponse

Returns
Type Description
string