- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a source.
HTTP request
PATCH https://securitycenter.googleapis.com/v2/{source.name=organizations/*/sources/*} The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
source.name |
The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organizationId}/sources/{source_id}" |
Query parameters
| Parameters | |
|---|---|
updateMask |
The FieldMask to use when updating the source resource. If empty all mutable fields will be updated. |
Request body
The request body contains an instance of Source.
Response body
If successful, the response body contains an instance of Source.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/securitycenter
For more information, see the Authentication Overview.