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 focusing on version 4.24.0 and its usage for training agents.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class, ranging from the latest version 4.26.0 down to version 3.2.0, with links to the documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTrainAgentRequest\u003c/code\u003e is a request message used by \u003ccode\u003eAgents.TrainAgent\u003c/code\u003e in the API and this is defined by its implementation of various interfaces such as \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\u003eKey properties of \u003ccode\u003eTrainAgentRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, which specifies the project ID associated with the agent to be trained, and it can be accessed or viewed with the types of \u003ccode\u003eLocationName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e and \u003ccode\u003eIResourceName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also includes details on the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e constructors, providing the ability to create a new instance or create one by copying an existing \u003ccode\u003eTrainAgentRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]