Google Cloud Dialogflow V2 Client - Class UpdateToolRequest (2.3.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateToolRequest.

Request of UpdateTool.

Generated from protobuf message google.cloud.dialogflow.v2.UpdateToolRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tool Tool

Required. The tool to update. The name field of tool is to identify the tool to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getTool

Required. The tool to update.

The name field of tool is to identify the tool to update.

Returns
Type Description
Tool|null

hasTool

clearTool

setTool

Required. The tool to update.

The name field of tool is to identify the tool to update.

Parameter
Name Description
var Tool
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
tool Tool

Required. The tool to update. The name field of tool is to identify the tool to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateToolRequest