# DeployedResourceResponse

- [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResourceResponse#SCHEMA_REPRESENTATION)
- [UnregisteredResource](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResourceResponse#UnregisteredResource)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResourceResponse#UnregisteredResource.SCHEMA_REPRESENTATION)

Common response message for the resource registration methods.

| JSON representation |
|---|
| ``` { "apphubApplication": string, "registeredResources": [ string ], "unregisteredResources": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResourceResponse#UnregisteredResource`) } ] } ``` |

| Fields ||
|---|---|
| `apphubApplication` | `string` The App Hub application name. |
| `registeredResources[]` | `string` The list of successfully registered GCP resources. |
| `unregisteredResources[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResourceResponse#UnregisteredResource`)`` The list of unregistered GCP resources with error details. |

## UnregisteredResource

UnregisteredResource represents a GCP resource that failed to register and apphub was not able to discover.

| JSON representation |
|---|
| ``` { "deployedResource": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResource`) }, "reason": string } ``` |

| Fields ||
|---|---|
| `deployedResource` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DeployedResource`)`` Output only. The deployed GCP resource that failed to register. |
| `reason` | `string` Output only. The reason for the failure of registration. |