Skip to main content

info_types

Creates, updates, deletes, gets or lists an info_types resource.

Overview

Nameinfo_types
TypeResource
Idgoogle.dlp.info_types

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
infoTypesarraySet of sensitive infoTypes.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_info_types_listselectprojectsId, locationsIdlanguageCode, filter, locationIdReturns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
organizations_locations_info_types_listselectorganizationsId, locationsIdlanguageCode, filter, locationIdReturns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
locations_info_types_listselectlocationsIdlanguageCode, filter, locationIdReturns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
info_types_listselectparent, languageCode, filter, locationIdReturns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
organizationsIdstring
projectsIdstring
filterstring
languageCodestring
locationIdstring
parentstring

SELECT examples

Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.

SELECT
infoTypes
FROM google.dlp.info_types
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND languageCode = '{{ languageCode }}'
AND filter = '{{ filter }}'
AND locationId = '{{ locationId }}';