Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class TrainAgentRequest.
The request message for Agents.TrainAgent.
Generated from protobuf message google.cloud.dialogflow.v2.TrainAgentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project that the agent to train is associated with. Format: |
getParent
Required. The project that the agent to train is associated with.
Format: projects/<Project ID>
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project that the agent to train is associated with.
Format: projects/<Project ID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. The project that the agent to train is associated with.
Format: |
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\TrainAgentRequest |