Data Loss Prevention V2 Client - Class DataProfileLocation (1.12.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class DataProfileLocation.

The data that will be profiled.

Generated from protobuf message google.privacy.dlp.v2.DataProfileLocation

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