public sealed class TrainAgentRequest : IMessage<TrainAgentRequest>, IEquatable<TrainAgentRequest>, IDeepCloneable<TrainAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class TrainAgentRequest.
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 reference documentation for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for the .NET platform.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class is used to initiate the training of an agent in Dialogflow, as described by the API reference, and is under the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis page shows all the different versions of the API for \u003ccode\u003eTrainAgentRequest\u003c/code\u003e ranging from version 3.2.0 to 4.26.0, which is the latest.\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, and the page includes information about its inheritance, constructors, and properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, and \u003ccode\u003eParentAsResourceName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows the required format for the parent property being \u003ccode\u003eprojects/<Project ID>\u003c/code\u003e as well as the \u003ccode\u003eType\u003c/code\u003e and \u003ccode\u003eDescription\u003c/code\u003e for its associated properties and parameters.\u003c/p\u003e\n"]]],[],null,[]]