- [HTTP request](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.request_body)
- [Response body](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.projectDataProfiles/list#try-it)

Lists project data profiles for an organization.

### HTTP request

Choose an endpoint:
global africa-south1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-northeast3 asia-south1 asia-south2 asia-southeast1 asia-southeast2 australia-southeast1 australia-southeast2 europe-central2 europe-north1 europe-north2 europe-southwest1 europe-west1 europe-west10 europe-west12 europe-west2 europe-west3 europe-west4 europe-west6 europe-west8 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast1 northamerica-northeast2 northamerica-south1 southamerica-east1 southamerica-west1 us-central1 us-east1 us-east4 us-east5 us-south1 us-west1 us-west2 us-west3 us-west4 us eu in   
`GET https://dlp.googleapis.com/v2/{parent=projects/*/locations/*}/projectDataProfiles`

<br />

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. organizations/{org_id}/locations/{loc_id} Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `dlp.projectDataProfiles.list` |

### Query parameters

| Parameters ||
|---|---|
| `pageToken` | `string` Page token to continue retrieval. |
| `pageSize` | `integer` Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. |
| `orderBy` | `string` Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: \* `projectId` \* `sensitivityLevel desc` Supported fields: - `projectId`: Google Cloud project ID - `sensitivityLevel`: How sensitive the data in a project is, at most - `dataRiskLevel`: How much risk is associated with this data - `profileLastGenerated`: Date and time (in epoch seconds) the profile was last generated |
| `filter` | `string` Allows filtering. Supported syntax: - Filter expressions are made up of one or more restrictions. - Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. - A restriction has the form of `{field} {operator} {value}`. - Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH\|MODERATE\|LOW - `data_risk_level`: HIGH\|MODERATE\|LOW - `status_code`: an RPC status code as defined in <https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto> - `profile_last_generated`: Date and time the profile was last generated - The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on <https://google.aip.dev/160>. Examples: - `project_id = 12345 AND status_code = 1` - `project_id = 12345 AND sensitivity_level = HIGH` - `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ListProjectDataProfilesResponse`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).