Updates the InspectTemplate. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
HTTP request
PATCH https://dlp.googleapis.com/v2/{name=projects/*/inspectTemplates/*} The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Resource name of organization and inspectTemplate to be updated, for example Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"inspectTemplate": {
object ( |
| Fields | |
|---|---|
inspectTemplate |
New InspectTemplate value. |
updateMask |
Mask to control which fields get updated. This is a comma-separated list of fully qualified names of fields. Example: |
Response body
If successful, the response body contains an instance of InspectTemplate.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.