public sealed class GetAgentRequest : IMessage<GetAgentRequest>, IEquatable<GetAgentRequest>, IDeepCloneable<GetAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class GetAgentRequest.
The request message for
[Agents.GetAgent][google.cloud.dialogflow.v2beta1.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 documentation is for the \u003ccode\u003eGetAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically version 1.0.0-beta23, which is the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetAgentRequest\u003c/code\u003e is a request message used to fetch an agent via \u003ccode\u003eAgents.GetAgent\u003c/code\u003e and is implemented from multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and includes members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, also the class has two constructors; a default and one taking another \u003ccode\u003eGetAgentRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetAgentRequest\u003c/code\u003e includes 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 used to specify the project and location associated with the agent.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property is a required string that specifies the project associated with the agent in the format \u003ccode\u003eprojects/<Project ID>\u003c/code\u003e or \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]