Updates an existing workload. Currently allows updating of workload displayName and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
[[["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-06-30 UTC."],[[["\u003cp\u003eThis page details how to update an existing workload, specifically allowing modifications to the workload's display name and labels.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePATCH\u003c/code\u003e method is used to make the update, with the endpoint and workload name specified in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required to specify which fields within the workload should be updated using a comma-separated list.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize the \u003ccode\u003eWorkload\u003c/code\u003e resource to send the updated data and confirm the result, respectively.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a workload requires the \u003ccode\u003eassuredworkloads.workload.update\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]