Data Loss Prevention V2 Client - Class ProjectDataProfile (2.1.0)

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

An aggregated profile for this project, based on the resources profiled within it.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the profile.

↳ project_id string

Project ID or account that was profiled.

↳ profile_last_generated Google\Protobuf\Timestamp

The last time the profile was generated.

↳ sensitivity_score Google\Cloud\Dlp\V2\SensitivityScore

The sensitivity score of this project.

↳ data_risk_level Google\Cloud\Dlp\V2\DataRiskLevel

The data risk level of this project.

↳ profile_status Google\Cloud\Dlp\V2\ProfileStatus

Success or error status of the last attempt to profile the project.

↳ table_data_profile_count int|string

The number of table data profiles generated for this project.

↳ file_store_data_profile_count int|string

The number of file store data profiles generated for this project.

getName

The resource name of the profile.

Returns
Type Description
string

setName

The resource name of the profile.

Parameter
Name Description
var string
Returns
Type Description
$this

getProjectId

Project ID or account that was profiled.

Returns
Type Description
string

setProjectId

Project ID or account that was profiled.

Parameter
Name Description
var string
Returns
Type Description
$this

getProfileLastGenerated

The last time the profile was generated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasProfileLastGenerated

clearProfileLastGenerated

setProfileLastGenerated

The last time the profile was generated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSensitivityScore

The sensitivity score of this project.

Returns
Type Description
Google\Cloud\Dlp\V2\SensitivityScore|null

hasSensitivityScore

clearSensitivityScore

setSensitivityScore

The sensitivity score of this project.

Parameter
Name Description
var Google\Cloud\Dlp\V2\SensitivityScore
Returns
Type Description
$this

getDataRiskLevel

The data risk level of this project.

Returns
Type Description
Google\Cloud\Dlp\V2\DataRiskLevel|null

hasDataRiskLevel

clearDataRiskLevel

setDataRiskLevel

The data risk level of this project.

Parameter
Name Description
var Google\Cloud\Dlp\V2\DataRiskLevel
Returns
Type Description
$this

getProfileStatus

Success or error status of the last attempt to profile the project.

Returns
Type Description
Google\Cloud\Dlp\V2\ProfileStatus|null

hasProfileStatus

clearProfileStatus

setProfileStatus

Success or error status of the last attempt to profile the project.

Parameter
Name Description
var Google\Cloud\Dlp\V2\ProfileStatus
Returns
Type Description
$this

getTableDataProfileCount

The number of table data profiles generated for this project.

Returns
Type Description
int|string

setTableDataProfileCount

The number of table data profiles generated for this project.

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

getFileStoreDataProfileCount

The number of file store data profiles generated for this project.

Returns
Type Description
int|string

setFileStoreDataProfileCount

The number of file store data profiles generated for this project.

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