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

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

Configuration for dynamic tools.

Generated from protobuf message google.cloud.discoveryengine.v1.DynamicTool

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the tool.

↳ description string

Optional. The description of the tool.

↳ enabled bool

Optional. Whether the tool is enabled.

↳ display_name string

Optional. The display name of the tool.

getName

Required. The name of the tool.

Returns
Type Description
string

setName

Required. The name of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The description of the tool.

Returns
Type Description
string

setDescription

Optional. The description of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnabled

Optional. Whether the tool is enabled.

Returns
Type Description
bool

setEnabled

Optional. Whether the tool is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getDisplayName

Optional. The display name of the tool.

Returns
Type Description
string

setDisplayName

Optional. The display name of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this