Google Cloud Discovery Engine V1 Client - Class ToolInfo (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ToolInfo.

Information to identify a tool.

Generated from protobuf message google.cloud.discoveryengine.v1.Assistant.ToolInfo

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Assistant

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tool_name string

The name of the tool as defined by DataConnectorService.QueryAvailableActions. Note: it's using action in the DataConnectorService apis, but they are the same as the tool here.

↳ tool_display_name string

The display name of the tool.

getToolName

The name of the tool as defined by DataConnectorService.QueryAvailableActions.

Note: it's using action in the DataConnectorService apis, but they are the same as the tool here.

Returns
Type Description
string

setToolName

The name of the tool as defined by DataConnectorService.QueryAvailableActions.

Note: it's using action in the DataConnectorService apis, but they are the same as the tool here.

Parameter
Name Description
var string
Returns
Type Description
$this

getToolDisplayName

The display name of the tool.

Returns
Type Description
string

setToolDisplayName

The display name of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this