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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The content details the `TrainAgentRequest` class within the `Google.Cloud.Dialogflow.V2` namespace, specifically for .NET development, and it is currently at version 3.2.0, however there are many previous versions and the latest is 4.26.0."],["`TrainAgentRequest` is the request message used for `Agents.TrainAgent`, designed to train an agent within the Dialogflow V2 API."],["The class `TrainAgentRequest` inherits from `Object` and implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`TrainAgentRequest` includes properties such as `Parent` (a string representing the project ID) and `ParentAsProjectName` which is a resource name property of type `ProjectName`."],["The `TrainAgentRequest` class offers two constructors, a default one and another that takes a `TrainAgentRequest` object as a parameter."]]],[]]