Data Loss Prevention V2 Client - Class DiscoveryStartingLocation (1.15.1)

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

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

Returns
Type Description
int|string

hasFolderId

setFolderId

The ID of the Folder within an organization to scan.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLocation

Returns
Type Description
string