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, specifically in version 4.1.0, which is used to send training requests to a Dialogflow agent.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists documentation links for versions ranging from 3.2.0 up to the latest version, 4.26.0, of the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class, each providing a deep link into the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTrainAgentRequest\u003c/code\u003e 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 be used in various messaging and object-oriented scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class includes a \u003ccode\u003eParent\u003c/code\u003e property that is required to specify the project associated with the agent to be trained, and this property can be accessed through \u003ccode\u003eLocationName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, or \u003ccode\u003eIResourceName\u003c/code\u003e typed views.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the constructors of the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class, which include a default constructor and one that takes another \u003ccode\u003eTrainAgentRequest\u003c/code\u003e object for copying.\u003c/p\u003e\n"]]],[],null,[]]