Reference documentation and code samples for the Data Loss Prevention V2 Client class ListDiscoveryConfigsRequest.
Request message for ListDiscoveryConfigs.
Generated from protobuf messagegoogle.privacy.dlp.v2.ListDiscoveryConfigsRequest
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Parent resource name. The format of this value is as follows:projects/{project_id}/locations/{location_id}The following exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
↳ page_token
string
Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs.order_byfield must not change for subsequent calls.
↳ page_size
int
Size of the page. This value can be limited by a server.
↳ order_by
string
Comma-separated list of config fields to order by, followed byascordescpostfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example:name asc,update_time, create_time descSupported fields are: -last_run_time: corresponds to the last time the DiscoveryConfig ran. -name: corresponds to the DiscoveryConfig's name. -status: corresponds to DiscoveryConfig's status.
getParent
Required. Parent resource name.
The format of this value is as follows:projects/{project_id}/locations/{location_id}The following exampleparentstring specifies a parent project with the
identifierexample-project, and specifies theeurope-west3location
for processing data:
parent=projects/example-project/locations/europe-west3
Returns
Type
Description
string
setParent
Required. Parent resource name.
The format of this value is as follows:projects/{project_id}/locations/{location_id}The following exampleparentstring specifies a parent project with the
identifierexample-project, and specifies theeurope-west3location
for processing data:
parent=projects/example-project/locations/europe-west3
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageToken
Page token to continue retrieval. Comes from the previous call
to ListDiscoveryConfigs.order_byfield must not
change for subsequent calls.
Returns
Type
Description
string
setPageToken
Page token to continue retrieval. Comes from the previous call
to ListDiscoveryConfigs.order_byfield must not
change for subsequent calls.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Size of the page. This value can be limited by a server.
Returns
Type
Description
int
setPageSize
Size of the page. This value can be limited by a server.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getOrderBy
Comma-separated list of config fields to order by,
followed byascordescpostfix. This list is case insensitive. The
default sorting order is ascending. Redundant space characters are
insignificant.
last_run_time: corresponds to the last time the DiscoveryConfig ran.
name: corresponds to the DiscoveryConfig's name.
status: corresponds to DiscoveryConfig's status.
Returns
Type
Description
string
setOrderBy
Comma-separated list of config fields to order by,
followed byascordescpostfix. This list is case insensitive. The
default sorting order is ascending. Redundant space characters are
insignificant.
last_run_time: corresponds to the last time the DiscoveryConfig ran.
name: corresponds to the DiscoveryConfig's name.
status: corresponds to DiscoveryConfig's status.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. Parent resource name.
The format of this value is as follows:projects/{project_id}/locations/{location_id}
The following exampleparentstring specifies a parent project with the
identifierexample-project, and specifies theeurope-west3location
for processing data:
parent=projects/example-project/locations/europe-west3
Please seeDlpServiceClient::locationName()for help formatting this field.
[[["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 ListDiscoveryConfigsRequest (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.ListDiscoveryConfigsRequest)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.ListDiscoveryConfigsRequest)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.ListDiscoveryConfigsRequest)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.ListDiscoveryConfigsRequest)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.ListDiscoveryConfigsRequest)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.ListDiscoveryConfigsRequest)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.ListDiscoveryConfigsRequest)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.ListDiscoveryConfigsRequest)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.ListDiscoveryConfigsRequest)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.ListDiscoveryConfigsRequest)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.ListDiscoveryConfigsRequest)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.ListDiscoveryConfigsRequest)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.ListDiscoveryConfigsRequest)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.ListDiscoveryConfigsRequest)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.ListDiscoveryConfigsRequest)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.ListDiscoveryConfigsRequest)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.ListDiscoveryConfigsRequest)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.ListDiscoveryConfigsRequest)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.ListDiscoveryConfigsRequest) \nReference documentation and code samples for the Data Loss Prevention V2 Client class ListDiscoveryConfigsRequest.\n\nRequest message for ListDiscoveryConfigs.\n\nGenerated from protobuf message `google.privacy.dlp.v2.ListDiscoveryConfigsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Parent resource name.\n\nThe format of this value is as follows:\n`projects/{project_id}/locations/{location_id}`\nThe following example `parent` string specifies a parent project with the\nidentifier `example-project`, and specifies the `europe-west3` location\nfor processing data:\nparent=projects/example-project/locations/europe-west3\n\n### setParent\n\nRequired. Parent resource name.\n\nThe format of this value is as follows:\n`projects/{project_id}/locations/{location_id}`\nThe following example `parent` string specifies a parent project with the\nidentifier `example-project`, and specifies the `europe-west3` location\nfor processing data:\nparent=projects/example-project/locations/europe-west3\n\n### getPageToken\n\nPage token to continue retrieval. Comes from the previous call\nto ListDiscoveryConfigs. `order_by` field must not\nchange for subsequent calls.\n\n### setPageToken\n\nPage token to continue retrieval. Comes from the previous call\nto ListDiscoveryConfigs. `order_by` field must not\nchange for subsequent calls.\n\n### getPageSize\n\nSize of the page. This value can be limited by a server.\n\n### setPageSize\n\nSize of the page. This value can be limited by a server.\n\n### getOrderBy\n\nComma-separated list of config fields to order by,\nfollowed by `asc` or `desc` postfix. This list is case insensitive. The\ndefault sorting order is ascending. Redundant space characters are\ninsignificant.\n\nExample: `name asc,update_time, create_time desc`\nSupported fields are:\n\n- `last_run_time`: corresponds to the last time the DiscoveryConfig ran.\n- `name`: corresponds to the DiscoveryConfig's name.\n- `status`: corresponds to DiscoveryConfig's status.\n\n### setOrderBy\n\nComma-separated list of config fields to order by,\nfollowed by `asc` or `desc` postfix. This list is case insensitive. The\ndefault sorting order is ascending. Redundant space characters are\ninsignificant.\n\nExample: `name asc,update_time, create_time desc`\nSupported fields are:\n\n- `last_run_time`: corresponds to the last time the DiscoveryConfig ran.\n- `name`: corresponds to the DiscoveryConfig's name.\n- `status`: corresponds to DiscoveryConfig's status.\n\n### static::build"]]