1.3.0 (latest) 1.2.0 1.1.0 1.0.0-beta02

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

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

Message for getting a customer workload.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudControlsPartner.V1.dll

## Constructors

### GetWorkloadRequest()

    public GetWorkloadRequest()

### GetWorkloadRequest(GetWorkloadRequest)

    public GetWorkloadRequest(GetWorkloadRequest other)

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

## Properties

### Name

    public string Name { get; set; }

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

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

### WorkloadName

    public WorkloadName WorkloadName { get; set; }

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

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