- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates the Compliance Manager enrollment for a resource to facilitate an audit. Use this method to enroll a resource in Compliance Manager or to create or update feature-specific configurations.
HTTP request
PATCH https://cloudsecuritycompliance.googleapis.com/v1/{cmEnrollment.name=folders/*/locations/*/cmEnrollment}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
cmEnrollment.name |
Identifier. The name of the Compliance Manager enrollment. Supported formats are the following:
|
Query parameters
| Parameters | |
|---|---|
updateMask |
Optional. The list of fields that you want to update. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of CmEnrollment.
Response body
If successful, the response body contains an instance of CmEnrollment.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
cloudsecuritycompliance.cmEnrollments.update
For more information, see the IAM documentation.