Skip to main content

project_data_profiles

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

Overview

Nameproject_data_profiles
TypeResource
Idgoogle.dlp.project_data_profiles

Fields

NameDatatypeDescription
namestringThe resource name of the profile.
dataRiskLevelobjectScore is a summary of all elements in the data profile. A higher number means more risk.
fileStoreDataProfileCountstringThe number of file store data profiles generated for this project.
profileLastGeneratedstringThe last time the profile was generated.
profileStatusobjectSuccess or errors for the profile generation.
projectIdstringProject ID or account that was profiled.
sensitivityScoreobjectScore is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
tableDataProfileCountstringThe number of table data profiles generated for this project.

Methods

NameAccessible byRequired ParamsDescription
organizations_locations_project_data_profiles_getSELECTlocationsId, organizationsId, projectDataProfilesIdGets a project data profile.
organizations_locations_project_data_profiles_listSELECTlocationsId, organizationsIdLists project data profiles for an organization.
projects_locations_project_data_profiles_getSELECTlocationsId, projectDataProfilesId, projectsIdGets a project data profile.
projects_locations_project_data_profiles_listSELECTlocationsId, projectsIdLists project data profiles for an organization.

SELECT examples

Lists project data profiles for an organization.

SELECT
name,
dataRiskLevel,
fileStoreDataProfileCount,
profileLastGenerated,
profileStatus,
projectId,
sensitivityScore,
tableDataProfileCount
FROM google.dlp.project_data_profiles
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';