public sealed class TrainAgentRequest : IMessage<TrainAgentRequest>, IEquatable<TrainAgentRequest>, IDeepCloneable<TrainAgentRequest>, IBufferMessage, IMessage
The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class, which is used to send a request to train an agent in the Dialogflow V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling it to function as a message type within the Google Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating new instances of \u003ccode\u003eTrainAgentRequest\u003c/code\u003e either empty or by cloning an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, and \u003ccode\u003eParentAsResourceName\u003c/code\u003e, which are all related to specifying the project associated with the agent being trained.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides links to different versions of the documentation, ranging from version 3.2.0 to the latest version 4.26.0, alongside documentation of the class in it's entirety.\u003c/p\u003e\n"]]],[],null,[]]