This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have resourcemanager.folders.getIamPolicy and resourcemanager.folders.setIamPolicy permissions on the assured workload folder.
HTTP request
PUT https://{endpoint}/v1beta1/{name=organizations/*/locations/*/workloads/*}:enableComplianceUpdates
[[["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 2024-07-12 UTC."],[[["This endpoint updates compliance for folder-based assured workloads by setting up a service agent with permissions to read compliance controls."],["The `PUT` HTTP method is used to send a request to the specified URL, with the format `https://{endpoint}/v1beta1/{name=organizations/*/locations/*/workloads/*}:enableComplianceUpdates`."],["The `name` parameter is a required string identifying the workload, with a specific format required."],["Both the request and response bodies for this endpoint are expected to be empty."],["Utilizing this endpoint necessitates the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `assuredworkloads.workload.update`."]]],[]]