2.8.0 (latest) 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RevertInstanceRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RevertInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RevertInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RevertInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Filestore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.md.txt)

## Assembly

Google.Cloud.Filestore.V1.dll

## Constructors

### RevertInstanceRequest()

    public RevertInstanceRequest()

### RevertInstanceRequest(RevertInstanceRequest)

    public RevertInstanceRequest(RevertInstanceRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RevertInstanceRequest` |

## Properties

### InstanceName

    public InstanceName InstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.InstanceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.RevertInstanceRequest.md.txt#Google_Cloud_Filestore_V1_RevertInstanceRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceName` |   |

### Name

    public string Name { get; set; }

Required. The resource name of the instance, in the format
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TargetSnapshotId

    public string TargetSnapshotId { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |