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 webpage provides reference documentation for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class is used to send a request to train an agent and is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace in the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the class's inheritance, implementing interfaces, constructors, and properties, including the required \u003ccode\u003eParent\u003c/code\u003e property, which specifies the project associated with the agent.\u003c/p\u003e\n"],["\u003cp\u003eThere are links to every version of the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class from 4.26.0 (latest) down to version 3.2.0, providing a comprehensive version history.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property has resource name-typed views, allowing for different representation methods such as LocationName, ProjectName, and IResourceName.\u003c/p\u003e\n"]]],[],null,[]]