Method: organizations.locations.workloads.enableResourceMonitoring

Enable resource violation monitoring for a workload.

HTTP request

POST https://{endpoint}/v1beta1/{name=organizations/*/locations/*/workloads/*}:enableResourceMonitoring

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters



Required. The name field is used to identify the workload. Format: organizations/{org_id}/locations/{locationId}/workloads/{workload_id}

Authorization requires the following IAM permission on the specified resource name:

  • assuredworkloads.workload.update

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • assuredworkloads.workload.update

For more information, see the IAM documentation.