Method: locations.infoTypes.list
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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.
HTTP request
GET https://dlp.googleapis.com/v2/{parent=locations/*}/infoTypes
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
The parent resource name. The format of this value is as follows:
|
Query parameters
| Parameters | |
|---|---|
languageCode |
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 |
filter to only return infoTypes supported by certain parts of the API. Defaults to supportedBy=INSPECT. |
locationId |
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.
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.