Reference documentation and code samples for the Google Cloud App Hub V1 Client 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.
Generated from protobuf messagegoogle.cloud.apphub.v1.DiscoveredWorkload
Namespace
Google \ Cloud \ AppHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the discovered workload. Format:"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
[[["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-09-04 UTC."],[],[],null,["# Google Cloud App Hub V1 Client - Class DiscoveredWorkload (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/cloud-apphub/latest/V1.DiscoveredWorkload)\n- [0.3.0](/php/docs/reference/cloud-apphub/0.3.0/V1.DiscoveredWorkload)\n- [0.2.0](/php/docs/reference/cloud-apphub/0.2.0/V1.DiscoveredWorkload)\n- [0.1.6](/php/docs/reference/cloud-apphub/0.1.6/V1.DiscoveredWorkload) \nReference documentation and code samples for the Google Cloud App Hub V1 Client 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\nGenerated from protobuf message `google.cloud.apphub.v1.DiscoveredWorkload`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the discovered workload. Format:\n`\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`\n\n### setName\n\nIdentifier. The resource name of the discovered workload. Format:\n`\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`\n\n### getWorkloadReference\n\nOutput only. Reference of an underlying compute resource represented by the\nWorkload. These are immutable.\n\n### hasWorkloadReference\n\n### clearWorkloadReference\n\n### setWorkloadReference\n\nOutput only. Reference of an underlying compute resource represented by the\nWorkload. These are immutable.\n\n### getWorkloadProperties\n\nOutput only. Properties of an underlying compute resource represented by\nthe Workload. These are immutable.\n\n### hasWorkloadProperties\n\n### clearWorkloadProperties\n\n### setWorkloadProperties\n\nOutput only. Properties of an underlying compute resource represented by\nthe Workload. These are immutable."]]