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 DeleteInstanceRequest : IMessage<DeleteInstanceRequest>, IEquatable<DeleteInstanceRequest>, IDeepCloneable<DeleteInstanceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Filestore v1 API class DeleteInstanceRequest.

DeleteInstanceRequest deletes an instance.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DeleteInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.DeleteInstanceRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.DeleteInstanceRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DeleteInstanceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.DeleteInstanceRequest.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

### DeleteInstanceRequest()

    public DeleteInstanceRequest()

### DeleteInstanceRequest(DeleteInstanceRequest)

    public DeleteInstanceRequest(DeleteInstanceRequest other)

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

## Properties

### Force

    public bool Force { get; set; }

If set to true, all snapshots of the instance will also be deleted.
(Otherwise, the request will only work if the instance has no snapshots.)

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

### 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.DeleteInstanceRequest.md.txt#Google_Cloud_Filestore_V1_DeleteInstanceRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

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

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