Skip to main content

column_data_profiles

Creates, updates, deletes, gets or lists a column_data_profiles resource.

Overview

Namecolumn_data_profiles
TypeResource
Idgoogle.dlp.column_data_profiles

Fields

NameDatatypeDescription
namestringThe name of the profile.
columnstringThe name of the column.
columnInfoTypeobjectThe infoType details for this column.
columnTypestringThe data type of a given column.
dataRiskLevelobjectScore is a summary of all elements in the data profile. A higher number means more risk.
datasetIdstringThe BigQuery dataset ID.
datasetLocationstringThe BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
datasetProjectIdstringThe Google Cloud project ID that owns the profiled resource.
estimatedNullPercentagestringApproximate percentage of entries being null in the column.
estimatedUniquenessScorestringApproximate uniqueness of the column.
freeTextScorenumberThe 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.
otherMatchesarrayOther types found within this column. List will be unordered.
policyStatestringIndicates if a policy tag has been applied to the column.
profileLastGeneratedstringThe last time the profile was generated.
profileStatusobjectSuccess or errors for the profile generation.
sensitivityScoreobjectScore is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
statestringState of a profile.
tableDataProfilestringThe resource name of the table data profile.
tableFullResourcestringThe resource name of the resource this column is within.
tableIdstringThe BigQuery table ID.

Methods

NameAccessible byRequired ParamsDescription
organizations_locations_column_data_profiles_getSELECTcolumnDataProfilesId, locationsId, organizationsIdGets a column data profile.
organizations_locations_column_data_profiles_listSELECTlocationsId, organizationsIdLists column data profiles for an organization.
projects_locations_column_data_profiles_getSELECTcolumnDataProfilesId, locationsId, projectsIdGets a column data profile.
projects_locations_column_data_profiles_listSELECTlocationsId, projectsIdLists column data profiles for an organization.

SELECT examples

Lists column data profiles for an organization.

SELECT
name,
column,
columnInfoType,
columnType,
dataRiskLevel,
datasetId,
datasetLocation,
datasetProjectId,
estimatedNullPercentage,
estimatedUniquenessScore,
freeTextScore,
otherMatches,
policyState,
profileLastGenerated,
profileStatus,
sensitivityScore,
state,
tableDataProfile,
tableFullResource,
tableId
FROM google.dlp.column_data_profiles
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';