- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates the SecurityHealthAnalyticsCustomModule
under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom configuration of a module is supported on resident modules only.
HTTP request
PATCH https://securitycentermanagement.googleapis.com/v1/{securityHealthAnalyticsCustomModule.name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
security |
Identifier. The full resource name of the custom module, in one of the following formats:
|
Query parameters
Parameters | |
---|---|
update |
Required. The fields to update. The following values are valid:
If you omit this field or set it to the wildcard value This is a comma-separated list of fully qualified names of fields. Example: |
validate |
Optional. When set to If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:
Defaults to |
Request body
The request body contains an instance of SecurityHealthAnalyticsCustomModule
.
Response body
If successful, the response body contains an instance of SecurityHealthAnalyticsCustomModule
.
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:
securitycentermanagement.securityHealthAnalyticsCustomModules.update
For more information, see the IAM documentation.