Required. The workload to update. The workload'snamefield is used to identify the workload to be updated. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
Required. The workload to update.
The workload'snamefield is used to identify the workload to be updated.
Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
[[["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 Assured Workloads V1 Client - Class UpdateWorkloadRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-assured-workloads/latest/V1.UpdateWorkloadRequest)\n- [1.0.4](/php/docs/reference/cloud-assured-workloads/1.0.4/V1.UpdateWorkloadRequest)\n- [0.11.5](/php/docs/reference/cloud-assured-workloads/0.11.5/V1.UpdateWorkloadRequest)\n- [0.10.2](/php/docs/reference/cloud-assured-workloads/0.10.2/V1.UpdateWorkloadRequest)\n- [0.9.1](/php/docs/reference/cloud-assured-workloads/0.9.1/V1.UpdateWorkloadRequest)\n- [0.8.3](/php/docs/reference/cloud-assured-workloads/0.8.3/V1.UpdateWorkloadRequest)\n- [0.7.3](/php/docs/reference/cloud-assured-workloads/0.7.3/V1.UpdateWorkloadRequest) \nReference documentation and code samples for the Google Cloud Assured Workloads V1 Client class UpdateWorkloadRequest.\n\nRequest for Updating a workload.\n\nGenerated from protobuf message `google.cloud.assuredworkloads.v1.UpdateWorkloadRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AssuredWorkloads \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getWorkload\n\nRequired. The workload to update.\n\nThe workload's `name` field is used to identify the workload to be updated.\nFormat:\norganizations/{org_id}/locations/{location_id}/workloads/{workload_id}\n\n### hasWorkload\n\n### clearWorkload\n\n### setWorkload\n\nRequired. The workload to update.\n\nThe workload's `name` field is used to identify the workload to be updated.\nFormat:\norganizations/{org_id}/locations/{location_id}/workloads/{workload_id}\n\n### getUpdateMask\n\nRequired. The list of fields to be updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. The list of fields to be updated.\n\n### static::build"]]