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 provides documentation for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, detailing its usage in the Dialogflow API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class is used to initiate the training of an agent in Dialogflow, as part of the \u003ccode\u003eAgents.TrainAgent\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class's constructors, properties, inheritance, and the different versions available, ranging from version 3.2.0 to the latest 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property of the class is a required field representing the project associated with the agent to be trained, which can be viewed in the form of a string, a \u003ccode\u003eLocationName\u003c/code\u003e, a \u003ccode\u003eProjectName\u003c/code\u003e, or a general \u003ccode\u003eIResourceName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis is a dotnet reference that shows the different versions of \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.TrainAgentRequest\u003c/code\u003e, its relationship to other resources and inherited members, along with the required fields such as Parent.\u003c/p\u003e\n"]]],[],null,[]]