Reference documentation and code samples for the Google Cloud App Hub V1 Client class GetWorkloadRequest.
Request for GetWorkload.
Generated from protobuf message google.cloud.apphub.v1.GetWorkloadRequest
Namespace
Google \ Cloud \ AppHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Fully qualified name of the Workload to fetch. Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}.
getName
Required. Fully qualified name of the Workload to fetch.
Required. Fully qualified name of the Workload to fetch.
Expected format:
projects/{project}/locations/{location}/applications/{application}/workloads/{workload}. Please see
AppHubClient::workloadName() for help formatting this field.
[[["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 GetWorkloadRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/cloud-apphub/latest/V1.GetWorkloadRequest)\n- [0.3.0](/php/docs/reference/cloud-apphub/0.3.0/V1.GetWorkloadRequest)\n- [0.2.0](/php/docs/reference/cloud-apphub/0.2.0/V1.GetWorkloadRequest)\n- [0.1.6](/php/docs/reference/cloud-apphub/0.1.6/V1.GetWorkloadRequest) \nReference documentation and code samples for the Google Cloud App Hub V1 Client class GetWorkloadRequest.\n\nRequest for GetWorkload.\n\nGenerated from protobuf message `google.cloud.apphub.v1.GetWorkloadRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Fully qualified name of the Workload to fetch.\n\nExpected format:\n`projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.\n\n### setName\n\nRequired. Fully qualified name of the Workload to fetch.\n\nExpected format:\n`projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.\n\n### static::build"]]