# App Hub V1 API - Class Google::Cloud::AppHub::V1::LookupDiscoveredWorkloadResponse (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::LookupDiscoveredWorkloadResponse.

Response for LookupDiscoveredWorkload.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #discovered_workload

    def discovered_workload() -> ::Google::Cloud::AppHub::V1::DiscoveredWorkload

**Returns**

- ([::Google::Cloud::AppHub::V1::DiscoveredWorkload](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-DiscoveredWorkload)) --- Discovered Workload if exists, empty otherwise.

### #discovered_workload=

    def discovered_workload=(value) -> ::Google::Cloud::AppHub::V1::DiscoveredWorkload

**Parameter**

- **value** ([::Google::Cloud::AppHub::V1::DiscoveredWorkload](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-DiscoveredWorkload)) --- Discovered Workload if exists, empty otherwise.
**Returns**

- ([::Google::Cloud::AppHub::V1::DiscoveredWorkload](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-DiscoveredWorkload)) --- Discovered Workload if exists, empty otherwise.