public sealed class SetAgentRequest : IMessage<SetAgentRequest>, IEquatable<SetAgentRequest>, IDeepCloneable<SetAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SetAgentRequest.
The request message for
[Agents.SetAgent][google.cloud.dialogflow.v2.Agents.SetAgent].
[[["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\u003eSetAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class is used as a request message for the \u003ccode\u003eAgents.SetAgent\u003c/code\u003e method, which updates an agent in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThis page is for version 4.21.0 but it also shows links to older versions back to version 3.2.0, and the latest version 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class implements several 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\u003eIt contains the two properties of \u003ccode\u003eAgent\u003c/code\u003e and \u003ccode\u003eUpdateMask\u003c/code\u003e which can be set in order to update an Agent.\u003c/p\u003e\n"]]],[],null,[]]