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"]],[["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-04-09 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 3.6.0 through 4.26.0 of the Dialogflow API, with 4.26.0 being the latest release, and the class being defined within the `Google.Cloud.Dialogflow.V2.dll` assembly."],["`SetAgentRequest` implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The `SetAgentRequest` class has two constructors: a default constructor and one that takes another `SetAgentRequest` as a parameter, and it also has an `Agent` property, which is required, and an optional `UpdateMask` property."],["The `SetAgentRequest` class contains a required `Agent` property for the agent to be updated and an optional `UpdateMask` to control the fields that are being updated."]]],[]]