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

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe resource name of the profile.
dataRiskLevelobjectThe data risk level of this project. (id: GooglePrivacyDlpV2DataRiskLevel)
fileStoreDataProfileCountstring (int64)The number of file store data profiles generated for this project.
profileLastGeneratedstring (google-datetime)The last time the profile was generated.
profileStatusobjectSuccess or error status of the last attempt to profile the project. (id: GooglePrivacyDlpV2ProfileStatus)
projectIdstringProject ID or account that was profiled.
sensitivityScoreobjectThe sensitivity score of this project. (id: GooglePrivacyDlpV2SensitivityScore)
tableDataProfileCountstring (int64)The number of table data profiles generated for this project.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_project_data_profiles_getselectprojectsId, locationsId, projectDataProfilesIdGets a project data profile.
organizations_locations_project_data_profiles_getselectorganizationsId, locationsId, projectDataProfilesIdGets a project data profile.
projects_locations_project_data_profiles_listselectprojectsId, locationsIdpageToken, pageSize, orderBy, filterLists project data profiles for an organization.
organizations_locations_project_data_profiles_listselectorganizationsId, locationsIdpageToken, pageSize, orderBy, filterLists project data profiles for an organization.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
organizationsIdstring
projectDataProfilesIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets a project data profile.

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