public sealed class GetAgentRequest : IMessage<GetAgentRequest>, IEquatable<GetAgentRequest>, IDeepCloneable<GetAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class GetAgentRequest.
The request message for
[Agents.GetAgent][google.cloud.dialogflow.v2.Agents.GetAgent].
[[["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\u003eGetAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API for .NET, specifically version 4.20.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAgentRequest\u003c/code\u003e class is used to retrieve information about an agent and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the class's constructors and properties, such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, and \u003ccode\u003eParentAsResourceName\u003c/code\u003e, which are essential for specifying the agent to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists all the different versions of the API, with the latest version being 4.26.0, and ranges all the way back to version 3.2.0, all of which correspond to the \u003ccode\u003eGetAgentRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eGetAgentRequest\u003c/code\u003e is a message that contains the required format for fetching the agent, which is to be formatted by the project ID, shown as \u003ccode\u003eprojects/<Project ID>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]