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 webpage provides documentation for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class is used to send a request to train an agent, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating a new \u003ccode\u003eTrainAgentRequest\u003c/code\u003e object, either default or copied from another \u003ccode\u003eTrainAgentRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e, from version 3.2.0 up to the latest version 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTrainAgentRequest\u003c/code\u003e has a required property called "Parent", which is the project that the agent to train is associated with and also has property views as LocationName, ProjectName and IResourceName.\u003c/p\u003e\n"]]],[],null,[]]