Reference documentation and code samples for the Data Loss Prevention V2 Client class ColumnDataProfile.
The profile for a scanned column within a table.
Generated from protobuf message google.privacy.dlp.v2.ColumnDataProfile
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the profile.
↳ profile_status
Google\Cloud\Dlp\V2\ProfileStatus
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
↳ state
int
State of a profile.
↳ profile_last_generated
↳ table_data_profile
string
The resource name of the table data profile.
↳ table_full_resource
string
The resource name of the table this column is within.
↳ dataset_project_id
string
The Google Cloud project ID that owns the BigQuery dataset.
↳ dataset_location
string
The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
↳ dataset_id
string
The BigQuery dataset ID.
↳ table_id
string
The BigQuery table ID.
↳ column
string
The name of the column.
↳ sensitivity_score
↳ data_risk_level
↳ column_info_type
Google\Cloud\Dlp\V2\InfoTypeSummary
If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
↳ other_matches
array< Google\Cloud\Dlp\V2\OtherInfoTypeSummary
>
Other types found within this column. List will be unordered.
↳ estimated_null_percentage
int
Approximate percentage of entries being null in the column.
↳ estimated_uniqueness_score
int
Approximate uniqueness of the column.
↳ free_text_score
float
The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
↳ column_type
int
The data type of a given column.
↳ policy_state
int
Indicates if a policy tag has been applied to the column.
getName
The name of the profile.
string
setName
The name of the profile.
var
string
$this
getProfileStatus
Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.
hasProfileStatus
clearProfileStatus
setProfileStatus
Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.
$this
getState
State of a profile.
int
setState
State of a profile.
var
int
$this
getProfileLastGenerated
The last time the profile was generated.
hasProfileLastGenerated
clearProfileLastGenerated
setProfileLastGenerated
The last time the profile was generated.
$this
getTableDataProfile
The resource name of the table data profile.
string
setTableDataProfile
The resource name of the table data profile.
var
string
$this
getTableFullResource
The resource name of the table this column is within.
string
setTableFullResource
The resource name of the table this column is within.
var
string
$this
getDatasetProjectId
The Google Cloud project ID that owns the BigQuery dataset.
string
setDatasetProjectId
The Google Cloud project ID that owns the BigQuery dataset.
var
string
$this
getDatasetLocation
The BigQuery location where the dataset's data is stored.
See https://cloud.google.com/bigquery/docs/locations for supported locations.
string
setDatasetLocation
The BigQuery location where the dataset's data is stored.
See https://cloud.google.com/bigquery/docs/locations for supported locations.
var
string
$this
getDatasetId
The BigQuery dataset ID.
string
setDatasetId
The BigQuery dataset ID.
var
string
$this
getTableId
The BigQuery table ID.
string
setTableId
The BigQuery table ID.
var
string
$this
getColumn
The name of the column.
string
setColumn
The name of the column.
var
string
$this
getSensitivityScore
The sensitivity of this column.
hasSensitivityScore
clearSensitivityScore
setSensitivityScore
The sensitivity of this column.
$this
getDataRiskLevel
The data risk level for this column.
hasDataRiskLevel
clearDataRiskLevel
setDataRiskLevel
The data risk level for this column.
$this
getColumnInfoType
If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
hasColumnInfoType
clearColumnInfoType
setColumnInfoType
If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
$this
getOtherMatches
Other types found within this column. List will be unordered.
setOtherMatches
Other types found within this column. List will be unordered.
$this
getEstimatedNullPercentage
Approximate percentage of entries being null in the column.
int
setEstimatedNullPercentage
Approximate percentage of entries being null in the column.
var
int
$this
getEstimatedUniquenessScore
Approximate uniqueness of the column.
int
setEstimatedUniquenessScore
Approximate uniqueness of the column.
var
int
$this
getFreeTextScore
The likelihood that this column contains free-form text.
A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
float
setFreeTextScore
The likelihood that this column contains free-form text.
A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
var
float
$this
getColumnType
The data type of a given column.
int
setColumnType
The data type of a given column.
var
int
$this
getPolicyState
Indicates if a policy tag has been applied to the column.
int
setPolicyState
Indicates if a policy tag has been applied to the column.
var
int
$this