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

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

Reference documentation and code samples for the Assured Workloads v1 API class DeleteWorkloadRequest.

Request for deleting a Workload.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.AssuredWorkloads.V1.dll

## Constructors

### DeleteWorkloadRequest()

    public DeleteWorkloadRequest()

### DeleteWorkloadRequest(DeleteWorkloadRequest)

    public DeleteWorkloadRequest(DeleteWorkloadRequest other)

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

## Properties

### Etag

    public string Etag { get; set; }

Optional. The etag of the workload.
If this is provided, it must match the server's etag.

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

### Name

    public string Name { get; set; }

Required. The `name` field is used to identify the workload.
Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}

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

### WorkloadName

    public WorkloadName WorkloadName { get; set; }

[WorkloadName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.WorkloadName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.DeleteWorkloadRequest.md.txt#Google_Cloud_AssuredWorkloads_V1_DeleteWorkloadRequest_Name) resource name property.

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