- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates a Security Command Center service using the given update mask.
HTTP request
PATCH https://securitycentermanagement.googleapis.com/v1/{securityCenterService.name=folders/*/locations/*/securityCenterServices/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
security |
Identifier. The name of the service, in one of the following formats:
The following values are valid for
|
Query parameters
Parameters | |
---|---|
update |
Required. The fields to update. Accepts the following values:
If omitted, then all eligible fields are updated. 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 service could still fail for one of the following reasons:
Defaults to |
Request body
The request body contains an instance of SecurityCenterService
.
Response body
If successful, the response body contains an instance of SecurityCenterService
.
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.securityCenterServices.update
For more information, see the IAM documentation.