Google Cloud Ces V1 Client - Class UpdateToolRequest (0.1.0)

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

Request message for AgentService.UpdateTool.

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

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tool Tool

Required. The tool to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

getTool

Required. The tool to update.

Returns
Type Description
Tool|null

hasTool

clearTool

setTool

Required. The tool to update.

Parameter
Name Description
var Tool
Returns
Type Description
$this

getUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

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

static::build

Parameters
Name Description
tool Tool

Required. The tool to update.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
UpdateToolRequest