Method: locations.infoTypes.list

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/locations/{locationId}/infoTypes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
locationId

string

The geographic location to list info types. Reserved for future extensions.

Query parameters

Parameters
languageCode

string

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

string

Optional filter to only return infoTypes supported by certain parts of the API. Defaults to supportedBy=INSPECT.

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.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Data Loss Prevention Documentation