Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
HTTP request
GET https://dlp.googleapis.com/v2/infoTypes
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
languageCode |
Optional BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned. |
filter |
Optional filter to only return infoTypes supported by certain parts of the API. Defaults to supportedBy=INSPECT. |
locationId |
The geographic location to list info types. Reserved for future extensions. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListInfoTypesResponse
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.