Google Cloud Dialogflow V2 Client - Class TrainAgentRequest (1.0.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project that the agent to train is associated with. Format: projects/<Project ID>.

getParent

Required. The project that the agent to train is associated with.

Format: projects/<Project ID>.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. The project that the agent to train is associated with.

Format: projects/<Project ID>.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this