Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.
↳ order_by
string
Comma-separated list of fields to order by, followed byascordescpostfix. 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: * *project_id* *sensitivity_level descSupported fields are: -project_id: Google Cloud project ID -sensitivity_level: How sensitive the data in a project is, at most. -data_risk_level: How much risk is associated with this data. -profile_last_generated: When the profile was last updated in epoch seconds.
↳ filter
string
Allows filtering. Supported syntax: * * Filter expressions are made up of one or more restrictions. * * Restrictions can be combined byANDorORlogical operators. A sequence of restrictions implicitly usesAND. * * A restriction has the form of{field} {operator} {value}. * * Supported fields/values: -sensitivity_level- HIGH|MODERATE|LOW -data_risk_level- HIGH|MODERATE|LOW -status_code- an RPC status code as defined inhttps://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto* * The operator must be=or!=. Examples: * *project_id = 12345 AND status_code = 1* *project_id = 12345 AND sensitivity_level = HIGHThe length of this field should be no more than 500 characters.
Size of the page. This value can be limited by the server. If zero, server
returns a page of max size 100.
Returns
Type
Description
int
setPageSize
Size of the page. This value can be limited by the server. If zero, server
returns a page of max size 100.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getOrderBy
Comma-separated list of fields to order by, followed byascordescpostfix. 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:
project_id
sensitivity_level descSupported fields are:
project_id: Google Cloud project ID
sensitivity_level: How sensitive the data in a project is, at most.
data_risk_level: How much risk is associated with this data.
profile_last_generated: When the profile was last updated in epoch
seconds.
Returns
Type
Description
string
setOrderBy
Comma-separated list of fields to order by, followed byascordescpostfix. 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:
project_id
sensitivity_level descSupported fields are:
project_id: Google Cloud project ID
sensitivity_level: How sensitive the data in a project is, at most.
data_risk_level: How much risk is associated with this data.
profile_last_generated: When the profile was last updated in epoch
seconds.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Allows filtering.
Supported syntax:
Filter expressions are made up of one or more restrictions.
Restrictions can be combined byANDorORlogical operators. A
sequence of restrictions implicitly usesAND.
A restriction has the form of{field} {operator} {value}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class ListProjectDataProfilesRequest (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.ListProjectDataProfilesRequest)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.ListProjectDataProfilesRequest)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.ListProjectDataProfilesRequest)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.ListProjectDataProfilesRequest)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.ListProjectDataProfilesRequest)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.ListProjectDataProfilesRequest)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.ListProjectDataProfilesRequest)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.ListProjectDataProfilesRequest)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.ListProjectDataProfilesRequest)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.ListProjectDataProfilesRequest)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.ListProjectDataProfilesRequest)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.ListProjectDataProfilesRequest)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.ListProjectDataProfilesRequest)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.ListProjectDataProfilesRequest)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.ListProjectDataProfilesRequest)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.ListProjectDataProfilesRequest)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.ListProjectDataProfilesRequest)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.ListProjectDataProfilesRequest)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.ListProjectDataProfilesRequest) \nReference documentation and code samples for the Data Loss Prevention V2 Client class ListProjectDataProfilesRequest.\n\nRequest to list the profiles generated for a given organization or project.\n\nGenerated from protobuf message `google.privacy.dlp.v2.ListProjectDataProfilesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. organizations/{org_id}/locations/{loc_id}\n\n### setParent\n\nRequired. organizations/{org_id}/locations/{loc_id}\n\n### getPageToken\n\nPage token to continue retrieval.\n\n### setPageToken\n\nPage token to continue retrieval.\n\n### getPageSize\n\nSize of the page. This value can be limited by the server. If zero, server\nreturns a page of max size 100.\n\n### setPageSize\n\nSize of the page. This value can be limited by the server. If zero, server\nreturns a page of max size 100.\n\n### getOrderBy\n\nComma-separated list of fields to order by, followed by `asc` or `desc`\npostfix. This list is case insensitive. The default sorting order is\nascending. Redundant space characters are insignificant. Only one order\nfield at a time is allowed.\n\nExamples:\n\n- `project_id`\n- `sensitivity_level desc` Supported fields are:\n- `project_id`: Google Cloud project ID\n- `sensitivity_level`: How sensitive the data in a project is, at most.\n- `data_risk_level`: How much risk is associated with this data.\n- `profile_last_generated`: When the profile was last updated in epoch seconds.\n\n### setOrderBy\n\nComma-separated list of fields to order by, followed by `asc` or `desc`\npostfix. This list is case insensitive. The default sorting order is\nascending. Redundant space characters are insignificant. Only one order\nfield at a time is allowed.\n\nExamples:\n\n- `project_id`\n- `sensitivity_level desc` Supported fields are:\n- `project_id`: Google Cloud project ID\n- `sensitivity_level`: How sensitive the data in a project is, at most.\n- `data_risk_level`: How much risk is associated with this data.\n- `profile_last_generated`: When the profile was last updated in epoch seconds.\n\n### getFilter\n\nAllows filtering.\n\nSupported syntax:\n\n- Filter expressions are made up of one or more restrictions.\n- Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`.\n- A restriction has the form of `{field} {operator} {value}`.\n- Supported fields/values:\n - `sensitivity_level` - HIGH\\|MODERATE\\|LOW\n - `data_risk_level` - HIGH\\|MODERATE\\|LOW\n - `status_code` - an RPC status code as defined in \u003chttps://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto\u003e\n- The operator must be `=` or `!=`. Examples:\n- `project_id = 12345 AND status_code = 1`\n- `project_id = 12345 AND sensitivity_level = HIGH` The length of this field should be no more than 500 characters.\n\n### setFilter\n\nAllows filtering.\n\nSupported syntax:\n\n- Filter expressions are made up of one or more restrictions.\n- Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`.\n- A restriction has the form of `{field} {operator} {value}`.\n- Supported fields/values:\n - `sensitivity_level` - HIGH\\|MODERATE\\|LOW\n - `data_risk_level` - HIGH\\|MODERATE\\|LOW\n - `status_code` - an RPC status code as defined in \u003chttps://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto\u003e\n- The operator must be `=` or `!=`. Examples:\n- `project_id = 12345 AND status_code = 1`\n- `project_id = 12345 AND sensitivity_level = HIGH` The length of this field should be no more than 500 characters.\n\n### static::build"]]