public sealed class SetAgentRequest : IMessage<SetAgentRequest>, IEquatable<SetAgentRequest>, IDeepCloneable<SetAgentRequest>, IBufferMessage, IMessage
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 page provides documentation for the \u003ccode\u003eSetAgentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, detailing its usage in updating agents.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class is used as the request message for the \u003ccode\u003eAgents.SetAgent\u003c/code\u003e method in the Dialogflow API.\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, enabling functionalities like message handling, equality comparisons, deep cloning, and buffered message support.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eAgent\u003c/code\u003e (required, representing the agent to update) and \u003ccode\u003eUpdateMask\u003c/code\u003e (optional, to control which agent fields are updated).\u003c/p\u003e\n"],["\u003cp\u003eThis documentation also lists numerous previous versions of this class, from version 3.2.0 to the most recent version 4.26.0.\u003c/p\u003e\n"]]],[],null,[]]