public sealed class TrainAgentRequest : IMessage<TrainAgentRequest>, IEquatable<TrainAgentRequest>, IDeepCloneable<TrainAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class TrainAgentRequest.
The request message for
[Agents.TrainAgent][google.cloud.dialogflow.v2beta1.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 documentation provides details for the \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically for version 1.0.0-beta23, which is the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainAgentRequest\u003c/code\u003e class is a request message used to initiate the training of an agent, and is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors to create an empty instance or to make a copy of another \u003ccode\u003eTrainAgentRequest\u003c/code\u003e and includes a \u003ccode\u003eParent\u003c/code\u003e property that takes a string, \u003ccode\u003eLocationName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, or \u003ccode\u003eIResourceName\u003c/code\u003e specifying the project or location related to the agent being trained.\u003c/p\u003e\n"],["\u003cp\u003eThe document highlights the latest available versions of the TrainAgentRequest class with 1.0.0-beta23 and 1.0.0-beta22.\u003c/p\u003e\n"]]],[],null,[]]