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, detailing its usage in updating agents."],["The `SetAgentRequest` class is used as the request message for the `Agents.SetAgent` method in the Dialogflow API."],["It inherits from `Object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling functionalities like message handling, equality comparisons, deep cloning, and buffered message support."],["The class includes properties like `Agent` (required, representing the agent to update) and `UpdateMask` (optional, to control which agent fields are updated)."],["This documentation also lists numerous previous versions of this class, from version 3.2.0 to the most recent version 4.26.0."]]],[]]