Google Cloud Dialogflow V2 Client - Class SetAgentRequest (1.3.2)

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

The request message for Agents.SetAgent .

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ agent
Google\Cloud\Dialogflow\V2\Agent

Required. The agent to update.

↳ update_mask
Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated.

getAgent

Required. The agent to update.

Returns
Type
Description

hasAgent

clearAgent

setAgent

Required. The agent to update.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Optional. The mask to control which fields get updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields get updated.

Parameter
Name
Description
Returns
Type
Description
$this