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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSetAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API for .NET.\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, allowing for the update of an agent.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 4.26.0, but there are numerous older versions that can be accessed going all the way back to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<SetAgentRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<SetAgentRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSetAgentRequest\u003c/code\u003e class include \u003ccode\u003eAgent\u003c/code\u003e (the agent to update) and \u003ccode\u003eUpdateMask\u003c/code\u003e (a mask to control which fields are updated), as well as the public constructor \u003ccode\u003eSetAgentRequest()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]