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
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__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 |
Google\Cloud\Dialogflow\V2\Agent|null |
hasAgent
clearAgent
setAgent
Required. The agent to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\Agent
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. The mask to control which fields get updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The mask to control which fields get updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
agent |
Google\Cloud\Dialogflow\V2\Agent
Required. The agent to update. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\SetAgentRequest |