public sealed class RevertInstanceRequest : IMessage<RevertInstanceRequest>, IEquatable<RevertInstanceRequest>, IDeepCloneable<RevertInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Filestore v1 API class RevertInstanceRequest.
RevertInstanceRequest reverts the given instance's file share to the
specified snapshot.
Required. The snapshot resource ID, in the format 'my-snapshot', where the
specified ID is the {snapshot_id} of the fully qualified name like
projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
[[["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\u003eThe \u003ccode\u003eRevertInstanceRequest\u003c/code\u003e class in the Google Cloud Filestore v1 API allows reverting a file share instance to a specified snapshot.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this resource available is 2.7.0, but multiple versions, from 1.0.0 to 2.7.0, are available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRevertInstanceRequest\u003c/code\u003e class has properties like \u003ccode\u003eInstanceName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eTargetSnapshotId\u003c/code\u003e to define the target instance and snapshot for the revert operation.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available, a default constructor, and a constructor that takes another \u003ccode\u003eRevertInstanceRequest\u003c/code\u003e instance as an argument.\u003c/p\u003e\n"]]],[],null,["# Cloud Filestore v1 API - Class RevertInstanceRequest (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.6.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.5.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.4.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.3.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.2.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.1.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.0.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.2.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.1.0/Google.Cloud.Filestore.V1.RevertInstanceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.0.0/Google.Cloud.Filestore.V1.RevertInstanceRequest) \n\n public sealed class RevertInstanceRequest : IMessage\u003cRevertInstanceRequest\u003e, IEquatable\u003cRevertInstanceRequest\u003e, IDeepCloneable\u003cRevertInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Filestore v1 API class RevertInstanceRequest.\n\nRevertInstanceRequest reverts the given instance's file share to the\nspecified snapshot. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RevertInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RevertInstanceRequest](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RevertInstanceRequest](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RevertInstanceRequest](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Filestore.V1](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Filestore.V1.dll\n\nConstructors\n------------\n\n### RevertInstanceRequest()\n\n public RevertInstanceRequest()\n\n### RevertInstanceRequest(RevertInstanceRequest)\n\n public RevertInstanceRequest(RevertInstanceRequest other)\n\nProperties\n----------\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest#Google_Cloud_Filestore_V1_RevertInstanceRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the instance, in the format\n`projects/{project_id}/locations/{location_id}/instances/{instance_id}`.\n\n### TargetSnapshotId\n\n public string TargetSnapshotId { get; set; }\n\nRequired. The snapshot resource ID, in the format 'my-snapshot', where the\nspecified ID is the {snapshot_id} of the fully qualified name like\n`projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`"]]