# GDC Hardware Management v1alpha API - Class DeleteOrderRequest (1.0.0-alpha08)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-alpha08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.DeleteOrderRequest)
- [1.0.0-alpha07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/1.0.0-alpha07/Google.Cloud.GdcHardwareManagement.V1Alpha.DeleteOrderRequest)

    public sealed class DeleteOrderRequest : IMessage<DeleteOrderRequest>, IEquatable<DeleteOrderRequest>, IDeepCloneable<DeleteOrderRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the GDC Hardware Management v1alpha API class DeleteOrderRequest.

A request to delete an order.

## Inheritance

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

## Implements

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

## 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.GdcHardwareManagement.V1Alpha](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha)

## Assembly

Google.Cloud.GdcHardwareManagement.V1Alpha.dll

## Constructors

### DeleteOrderRequest()

    public DeleteOrderRequest()

### DeleteOrderRequest(DeleteOrderRequest)

    public DeleteOrderRequest(DeleteOrderRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.DeleteOrderRequest` |

## Properties

### Force

    public bool Force { get; set; }

Optional. An option to delete any nested resources in the Order, such as a
HardwareGroup. If true, any nested resources for this Order will also be
deleted. Otherwise, the request will only succeed if the Order has no
nested resources.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Name

    public string Name { get; set; }

Required. The name of the order.
Format: `projects/{project}/locations/{location}/orders/{order}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OrderName

    public OrderName OrderName { get; set; }

[OrderName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.OrderName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.DeleteOrderRequest#Google_Cloud_GdcHardwareManagement_V1Alpha_DeleteOrderRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.OrderName` |   |

### RequestId

    public string RequestId { get; set; }

Optional. An optional unique identifier for this request. See
[AIP-155](https://google.aip.dev/155).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |