# Cloud Controls Partner v1beta API - Class GetWorkloadRequest (1.0.0-beta05)

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

- [1.0.0-beta05 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/latest/Google.Cloud.CloudControlsPartner.V1Beta.GetWorkloadRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/1.0.0-beta04/Google.Cloud.CloudControlsPartner.V1Beta.GetWorkloadRequest)

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

Reference documentation and code samples for the Cloud Controls Partner v1beta API class GetWorkloadRequest.

Message for getting a customer workload.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudControlsPartner.V1Beta.dll

## Constructors

### GetWorkloadRequest()

    public GetWorkloadRequest()

### GetWorkloadRequest(GetWorkloadRequest)

    public GetWorkloadRequest(GetWorkloadRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/latest/Google.Cloud.CloudControlsPartner.V1Beta.GetWorkloadRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. Format:
`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`

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

### WorkloadName

    public WorkloadName WorkloadName { get; set; }

[WorkloadName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/latest/Google.Cloud.CloudControlsPartner.V1Beta.WorkloadName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/latest/Google.Cloud.CloudControlsPartner.V1Beta.GetWorkloadRequest#Google_Cloud_CloudControlsPartner_V1Beta_GetWorkloadRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1Beta/latest/Google.Cloud.CloudControlsPartner.V1Beta.WorkloadName` |   |