Reference documentation and code samples for the App Hub v1 API class 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eDiscoveredWorkload\u003c/code\u003e is a class in the App Hub v1 API representing a binary deployment that performs a specific subset of business functions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscoveredWorkload\u003c/code\u003e class provides constructors for creating new instances, either empty or by copying another \u003ccode\u003eDiscoveredWorkload\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDiscoveredWorkload\u003c/code\u003e include \u003ccode\u003eDiscoveredWorkloadName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e (the resource identifier), \u003ccode\u003eWorkloadProperties\u003c/code\u003e, and \u003ccode\u003eWorkloadReference\u003c/code\u003e, which detail the underlying compute resource.\u003c/p\u003e\n"],["\u003cp\u003eThe class belongs to the \u003ccode\u003eGoogle.Cloud.AppHub.V1\u003c/code\u003e namespace within the Google.Cloud.AppHub.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# App Hub v1 API - Class DiscoveredWorkload (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkload)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AppHub.V1/1.0.0/Google.Cloud.AppHub.V1.DiscoveredWorkload) \n\n public sealed class DiscoveredWorkload : IMessage\u003cDiscoveredWorkload\u003e, IEquatable\u003cDiscoveredWorkload\u003e, IDeepCloneable\u003cDiscoveredWorkload\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the App Hub v1 API class DiscoveredWorkload.\n\nDiscoveredWorkload is a binary deployment (such as managed instance groups\n(MIGs) and GKE deployments) that performs the smallest logical subset of\nbusiness functionality. A discovered workload can be registered to an App Hub\nWorkload. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiscoveredWorkload \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoveredWorkload](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkload), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveredWorkload](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkload), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveredWorkload](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkload), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AppHub.V1](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AppHub.V1.dll\n\nConstructors\n------------\n\n### DiscoveredWorkload()\n\n public DiscoveredWorkload()\n\n### DiscoveredWorkload(DiscoveredWorkload)\n\n public DiscoveredWorkload(DiscoveredWorkload other)\n\nProperties\n----------\n\n### DiscoveredWorkloadName\n\n public DiscoveredWorkloadName DiscoveredWorkloadName { get; set; }\n\n[DiscoveredWorkloadName](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkloadName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredWorkload#Google_Cloud_AppHub_V1_DiscoveredWorkload_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The resource name of the discovered workload. Format:\n`\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`\n\n### WorkloadProperties\n\n public WorkloadProperties WorkloadProperties { get; set; }\n\nOutput only. Properties of an underlying compute resource represented by\nthe Workload. These are immutable.\n\n### WorkloadReference\n\n public WorkloadReference WorkloadReference { get; set; }\n\nOutput only. Reference of an underlying compute resource represented by the\nWorkload. These are immutable."]]