Method: infoTypes.list

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

HTTP request


The URLs use gRPC Transcoding syntax.

Query parameters

Parameters
parent

string

The parent resource name.

The format of this value is as follows:

`locations/{locationId}`
languageCode

string

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

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

locationId

string

Deprecated. This field has no effect.

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.