public sealed class RestoreAgentRequest : IMessage<RestoreAgentRequest>, IEquatable<RestoreAgentRequest>, IDeepCloneable<RestoreAgentRequest>, IBufferMessage, IMessage
The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent].
The Google Cloud Storage URI
to restore agent from. The format of this URI must be
gs://<bucket-name>/<object-name>.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
[[["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 details the \u003ccode\u003eRestoreAgentRequest\u003c/code\u003e class, which is used to restore agents within the Google Cloud Dialogflow CX V3 service, and is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreAgentRequest\u003c/code\u003e class has properties for specifying the agent to restore via its \u003ccode\u003eName\u003c/code\u003e, and the source of the restore data via either \u003ccode\u003eAgentContent\u003c/code\u003e (raw bytes) or \u003ccode\u003eAgentUri\u003c/code\u003e (Google Cloud Storage URI).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e2.23.0\u003c/code\u003e, with numerous previous versions available, spanning down to version \u003ccode\u003e1.0.0\u003c/code\u003e, and the current page is for version \u003ccode\u003e1.10.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreAgentRequest\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, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreOption\u003c/code\u003e property allows specification of how the restore should behave, defaulting to \u003ccode\u003eKEEP\u003c/code\u003e if not specifically indicated.\u003c/p\u003e\n"]]],[],null,[]]