Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class AppHubWorkload.
AppHubWorkload represents the App Hub Workload.
Generated from protobuf message google.cloud.developerconnect.v1.AppHubWorkload
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ workload
string
Required. Output only. Immutable. The name of the App Hub Workload. Format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}.
↳ criticality
string
Output only. The criticality of the App Hub Workload.
↳ environment
string
Output only. The environment of the App Hub Workload.
getWorkload
Required. Output only. Immutable. The name of the 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-09-04 UTC."],[],[],null,["# Google Cloud Developer Connect V1 Client - Class AppHubWorkload (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.AppHubWorkload)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.AppHubWorkload)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.AppHubWorkload)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.AppHubWorkload)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.AppHubWorkload) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class AppHubWorkload.\n\nAppHubWorkload represents the App Hub Workload.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.AppHubWorkload`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getWorkload\n\nRequired. Output only. Immutable. The name of the App Hub Workload.\n\nFormat:\n`projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.\n\n### setWorkload\n\nRequired. Output only. Immutable. The name of the App Hub Workload.\n\nFormat:\n`projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.\n\n### getCriticality\n\nOutput only. The criticality of the App Hub Workload.\n\n### setCriticality\n\nOutput only. The criticality of the App Hub Workload.\n\n### getEnvironment\n\nOutput only. The environment of the App Hub Workload.\n\n### setEnvironment\n\nOutput only. The environment of the App Hub Workload."]]