Data Loss Prevention V2 Client - Class DiscoveryStartingLocation (1.11.0)

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 message google.privacy.dlp.v2.DiscoveryStartingLocation

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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 scan.

getOrganizationId

The ID of an organization to scan.

Returns
TypeDescription
int|string

hasOrganizationId

setOrganizationId

The ID of an organization to scan.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getFolderId

The ID of the Folder within an organization to scan.

Returns
TypeDescription
int|string

hasFolderId

setFolderId

The ID of the Folder within an organization to scan.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getLocation

Returns
TypeDescription
string