Reference documentation and code samples for the Data Loss Prevention V2 Client class TableDataProfile.
The profile for a scanned table.
Generated from protobuf message google.privacy.dlp.v2.TableDataProfile
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the profile.
↳ data_source_type
↳ project_data_profile
string
The resource name to the project data profile for this table.
↳ dataset_project_id
string
The Google Cloud project ID that owns the resource.
↳ dataset_location
string
If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
↳ dataset_id
string
If the resource is BigQuery, the dataset ID.
↳ table_id
string
If the resource is BigQuery, the BigQuery table ID.
↳ full_resource
string
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
↳ 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.
↳ sensitivity_score
↳ data_risk_level
↳ predicted_info_types
↳ other_info_types
↳ config_snapshot
Google\Cloud\Dlp\V2\DataProfileConfigSnapshot
The snapshot of the configurations used to generate the profile.
↳ last_modified_time
↳ expiration_time
↳ scanned_column_count
int|string
The number of columns profiled in the table.
↳ failed_column_count
int|string
The number of columns skipped in the table because of an error.
↳ table_size_bytes
int|string
The size of the table when the profile was generated.
↳ row_count
int|string
Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.
↳ encryption_status
int
How the table is encrypted.
↳ resource_visibility
int
How broadly a resource has been shared.
↳ profile_last_generated
↳ resource_labels
array| Google\Protobuf\Internal\MapField
The labels applied to the resource at the time the profile was generated.
↳ create_time
getName
The name of the profile.
string
setName
The name of the profile.
var
string
$this
getDataSourceType
The resource type that was profiled.
hasDataSourceType
clearDataSourceType
setDataSourceType
The resource type that was profiled.
$this
getProjectDataProfile
The resource name to the project data profile for this table.
string
setProjectDataProfile
The resource name to the project data profile for this table.
var
string
$this
getDatasetProjectId
The Google Cloud project ID that owns the resource.
string
setDatasetProjectId
The Google Cloud project ID that owns the resource.
var
string
$this
getDatasetLocation
If supported, the location where the dataset's data is stored.
See https://cloud.google.com/bigquery/docs/locations for supported locations.
string
setDatasetLocation
If supported, the location where the dataset's data is stored.
See https://cloud.google.com/bigquery/docs/locations for supported locations.
var
string
$this
getDatasetId
If the resource is BigQuery, the dataset ID.
string
setDatasetId
If the resource is BigQuery, the dataset ID.
var
string
$this
getTableId
If the resource is BigQuery, the BigQuery table ID.
string
setTableId
If the resource is BigQuery, the BigQuery table ID.
var
string
$this
getFullResource
The resource name of the resource profiled.
https://cloud.google.com/apis/design/resource_names#full_resource_name
string
setFullResource
The resource name of the resource profiled.
https://cloud.google.com/apis/design/resource_names#full_resource_name
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
getSensitivityScore
The sensitivity score of this table.
hasSensitivityScore
clearSensitivityScore
setSensitivityScore
The sensitivity score of this table.
$this
getDataRiskLevel
The data risk level of this table.
hasDataRiskLevel
clearDataRiskLevel
setDataRiskLevel
The data risk level of this table.
$this
getPredictedInfoTypes
The infoTypes predicted from this table's data.
setPredictedInfoTypes
The infoTypes predicted from this table's data.
$this
getOtherInfoTypes
Other infoTypes found in this table's data.
setOtherInfoTypes
Other infoTypes found in this table's data.
$this
getConfigSnapshot
The snapshot of the configurations used to generate the profile.
hasConfigSnapshot
clearConfigSnapshot
setConfigSnapshot
The snapshot of the configurations used to generate the profile.
$this
getLastModifiedTime
The time when this table was last modified
hasLastModifiedTime
clearLastModifiedTime
setLastModifiedTime
The time when this table was last modified
$this
getExpirationTime
Optional. The time when this table expires.
hasExpirationTime
clearExpirationTime
setExpirationTime
Optional. The time when this table expires.
$this
getScannedColumnCount
The number of columns profiled in the table.
int|string
setScannedColumnCount
The number of columns profiled in the table.
var
int|string
$this
getFailedColumnCount
The number of columns skipped in the table because of an error.
int|string
setFailedColumnCount
The number of columns skipped in the table because of an error.
var
int|string
$this
getTableSizeBytes
The size of the table when the profile was generated.
int|string
setTableSizeBytes
The size of the table when the profile was generated.
var
int|string
$this
getRowCount
Number of rows in the table when the profile was generated.
This will not be populated for BigLake tables.
int|string
setRowCount
Number of rows in the table when the profile was generated.
This will not be populated for BigLake tables.
var
int|string
$this
getEncryptionStatus
How the table is encrypted.
int
setEncryptionStatus
How the table is encrypted.
var
int
$this
getResourceVisibility
How broadly a resource has been shared.
int
setResourceVisibility
How broadly a resource has been shared.
var
int
$this
getProfileLastGenerated
The last time the profile was generated.
hasProfileLastGenerated
clearProfileLastGenerated
setProfileLastGenerated
The last time the profile was generated.
$this
getResourceLabels
The labels applied to the resource at the time the profile was generated.
setResourceLabels
The labels applied to the resource at the time the profile was generated.
$this
getCreateTime
The time at which the table was created.
hasCreateTime
clearCreateTime
setCreateTime
The time at which the table was created.
$this