# REST Resource: projects.locations.discoveredWorkloads

- [Resource: DiscoveredWorkload](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads#DiscoveredWorkload)
  - [JSON representation](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads#DiscoveredWorkload.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads#METHODS_SUMMARY)

## Resource: DiscoveredWorkload

DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.

| JSON representation |
|---|
| ``` { "name": string, "workloadReference": { object (`https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/WorkloadReference`) }, "workloadProperties": { object (`https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/WorkloadProperties`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the discovered workload. Format: `"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"` |
| `workloadReference` | ``object (`https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/WorkloadReference`)`` Output only. Reference of an underlying compute resource represented by the Workload. These are immutable. |
| `workloadProperties` | ``object (`https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/WorkloadProperties`)`` Output only. Properties of an underlying compute resource represented by the Workload. These are immutable. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads/findUnregistered` | Finds unregistered workloads in a host project and location. |
| ### `https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads/get` | Gets a Discovered Workload in a host project and location. |
| ### `https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads/list` | Lists Discovered Workloads that can be added to an Application in a host project and location. |
| ### `https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.discoveredWorkloads/lookup` | Lists a Discovered Workload in a host project and location, with a given resource URI. |