Method: projects.locations.storedInfoTypes.patch

Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See to learn more.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

Authorization requires the following IAM permission on the specified resource name:

  • dlp.storedInfoTypes.update

Request body

The request body contains data with the following structure:

JSON representation
  "config": {
    object (StoredInfoTypeConfig)
  "updateMask": string

object (StoredInfoTypeConfig)

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.


string (FieldMask format)

Mask to control which fields get updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Response body

If successful, the response body contains an instance of StoredInfoType.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.