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."],[[["This page provides documentation for the `SetAgentRequest` class within the `Google.Cloud.Dialogflow.V2` namespace, used for updating agents via the `Agents.SetAgent` method."],["The documentation covers versions 4.0.0 through 4.26.0, with 4.26.0 being the latest version, along with versions back through 3.2.0."],["The `SetAgentRequest` class inherits from `System.Object` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`SetAgentRequest` has two constructors, one default and one that accepts another `SetAgentRequest` object, and also contains the properties, `Agent` and `UpdateMask` for updating the agent."]]],[]]