Data Loss Prevention V2 Client - Class DiscoveryStartingLocation (2.10.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Data Loss Prevention V2 Client class DiscoveryStartingLocation.
The location to begin a discovery scan. Denotes an organization ID or folder
ID within an organization.
Generated from protobuf messagegoogle.privacy.dlp.v2.DiscoveryStartingLocation
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ organization_id
int|string
The ID of an organization to scan.
↳ folder_id
int|string
The ID of the folder within an organization to be scanned.
getOrganizationId
The ID of an organization to scan.
Returns
Type
Description
int|string
hasOrganizationId
setOrganizationId
The ID of an organization to scan.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getFolderId
The ID of the folder within an organization to be scanned.
Returns
Type
Description
int|string
hasFolderId
setFolderId
The ID of the folder within an organization to be scanned.
[[["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 2026-03-30 UTC."],[],[]]