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 reference documentation for the \u003ccode\u003eSetAgentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class is used as a request message for the \u003ccode\u003eAgents.SetAgent\u003c/code\u003e method in the Dialogflow v2 API, allowing users to set and modify agent configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.26.0, and the page documents version 4.25.0, along with numerous prior versions ranging from 3.2.0 to 4.24.0, with clickable links to each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering various functionalities like message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetAgentRequest\u003c/code\u003e class contains properties for the agent to be updated, \u003ccode\u003eAgent\u003c/code\u003e, and a field mask \u003ccode\u003eUpdateMask\u003c/code\u003e that controls which fields are updated, each detailed with their specific type and description.\u003c/p\u003e\n"]]],[],null,[]]