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 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 to send requests for updating agent settings and it 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 covers various versions of the Dialogflow v2 API, ranging from version 3.2.0 up to the latest version 4.26.0, with the current page focusing on version 4.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class has two constructors, a default one and one that takes another \u003ccode\u003eSetAgentRequest\u003c/code\u003e as a parameter, and properties such as \u003ccode\u003eAgent\u003c/code\u003e (the agent to update) and \u003ccode\u003eUpdateMask\u003c/code\u003e (to control which fields are updated).\u003c/p\u003e\n"]]],[],null,[]]