Reference documentation and code samples for the Data Loss Prevention V2 Client class SearchConnectionsRequest.
Request message for SearchConnections.
Generated from protobuf messagegoogle.privacy.dlp.v2.SearchConnectionsRequest
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Resource name of the organization or project with a wildcard location, for example,organizations/433245324/locations/-orprojects/project-id/locations/-.
↳ page_size
int
Optional. Number of results per page, max 1000.
↳ page_token
string
Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.
Required. Resource name of the organization or project with a wildcard
location, for example,organizations/433245324/locations/-orprojects/project-id/locations/-.
Returns
Type
Description
string
setParent
Required. Resource name of the organization or project with a wildcard
location, for example,organizations/433245324/locations/-orprojects/project-id/locations/-.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. Number of results per page, max 1000.
Returns
Type
Description
int
setPageSize
Optional. Number of results per page, max 1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. Page token from a previous page to return the next set of
results. If set, all other request fields must match the original request.
Returns
Type
Description
string
setPageToken
Optional. Page token from a previous page to return the next set of
results. If set, all other request fields must match the original request.
Required. Resource name of the organization or project with a wildcard
location, for example,organizations/433245324/locations/-orprojects/project-id/locations/-. Please seeDlpServiceClient::organizationLocationName()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 SearchConnectionsRequest (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.SearchConnectionsRequest)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.SearchConnectionsRequest)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.SearchConnectionsRequest)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.SearchConnectionsRequest)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.SearchConnectionsRequest)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.SearchConnectionsRequest)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.SearchConnectionsRequest)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.SearchConnectionsRequest)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.SearchConnectionsRequest)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.SearchConnectionsRequest)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.SearchConnectionsRequest)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.SearchConnectionsRequest)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.SearchConnectionsRequest)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.SearchConnectionsRequest)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.SearchConnectionsRequest)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.SearchConnectionsRequest)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.SearchConnectionsRequest)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.SearchConnectionsRequest)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.SearchConnectionsRequest) \nReference documentation and code samples for the Data Loss Prevention V2 Client class SearchConnectionsRequest.\n\nRequest message for SearchConnections.\n\nGenerated from protobuf message `google.privacy.dlp.v2.SearchConnectionsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Resource name of the organization or project with a wildcard\nlocation, for example, `organizations/433245324/locations/-` or\n`projects/project-id/locations/-`.\n\n### setParent\n\nRequired. Resource name of the organization or project with a wildcard\nlocation, for example, `organizations/433245324/locations/-` or\n`projects/project-id/locations/-`.\n\n### getPageSize\n\nOptional. Number of results per page, max 1000.\n\n### setPageSize\n\nOptional. Number of results per page, max 1000.\n\n### getPageToken\n\nOptional. Page token from a previous page to return the next set of\nresults. If set, all other request fields must match the original request.\n\n### setPageToken\n\nOptional. Page token from a previous page to return the next set of\nresults. If set, all other request fields must match the original request.\n\n### getFilter\n\nOptional. Supported field/value: - `state` - MISSING\\|AVAILABLE\\|ERROR\n\n### setFilter\n\nOptional. Supported field/value: - `state` - MISSING\\|AVAILABLE\\|ERROR\n\n### static::build"]]