List

Lists InspectTemplates

4 variables
18 variables

Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services

Input

This building block consumes 4 input parameters

  = Parameter name
  = Format

parent STRING Required

The parent resource name, for example projects/my-project-id or organizations/my-org-id

pageToken STRING

Optional page token to continue retrieval. Comes from previous call to ListInspectTemplates

orderBy STRING

Optional comma separated list of fields to order by, followed by asc or desc postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant.

Example: name asc,update_time, create_time desc

Supported fields are:

  • create_time: corresponds to time the template was created.
  • update_time: corresponds to time the template was last updated.
  • name: corresponds to template's name.
  • display_name: corresponds to template's display name.

pageSize INTEGER

Optional size of the page, can be limited by server. If zero server returns a page of max size 100

Output

This building block provides 18 output parameters

  = Parameter name
  = Format

nextPageToken STRING

If the next page is available then the next page token to be used in following ListInspectTemplates request

inspectTemplates[] OBJECT

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more

inspectTemplates[].createTime ANY

The creation timestamp of a inspectTemplate, output only field

inspectTemplates[].updateTime ANY

The last update timestamp of a inspectTemplate, output only field

inspectTemplates[].name STRING

The template name. Output only.

The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID

inspectTemplates[].inspectConfig OBJECT

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used

inspectTemplates[].inspectConfig.contentOptions[] ENUMERATION

inspectTemplates[].inspectConfig.limits OBJECT

inspectTemplates[].inspectConfig.limits.maxFindingsPerItem INTEGER

Max number of findings that will be returned for each item scanned. When set within InspectDataSourceRequest, the maximum returned is 2000 regardless if this is set higher. When set within InspectContentRequest, this field is ignored

inspectTemplates[].inspectConfig.limits.maxFindingsPerRequest INTEGER

Max number of findings that will be returned per request/job. When set within InspectContentRequest, the maximum returned is 2000 regardless if this is set higher

inspectTemplates[].inspectConfig.excludeInfoTypes BOOLEAN

When true, excludes type information of the findings

inspectTemplates[].inspectConfig.minLikelihood ENUMERATION

Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more

inspectTemplates[].inspectConfig.ruleSet[] OBJECT

Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set

inspectTemplates[].inspectConfig.infoTypes[] OBJECT

Type of information detected by the API

inspectTemplates[].inspectConfig.includeQuote BOOLEAN

When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote

inspectTemplates[].inspectConfig.customInfoTypes[] OBJECT

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question

inspectTemplates[].displayName STRING

Display name (max 256 chars)

inspectTemplates[].description STRING

Short description (max 256 chars)