project_data_profiles
Creates, updates, deletes, gets or lists a project_data_profiles
resource.
Overview
Name | project_data_profiles |
Type | Resource |
Id | google.dlp.project_data_profiles |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_project_data_profiles_get
- organizations_locations_project_data_profiles_get
- projects_locations_project_data_profiles_list
- organizations_locations_project_data_profiles_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the profile. |
dataRiskLevel | object | The data risk level of this project. (id: GooglePrivacyDlpV2DataRiskLevel) |
fileStoreDataProfileCount | string (int64) | The number of file store data profiles generated for this project. |
profileLastGenerated | string (google-datetime) | The last time the profile was generated. |
profileStatus | object | Success or error status of the last attempt to profile the project. (id: GooglePrivacyDlpV2ProfileStatus) |
projectId | string | Project ID or account that was profiled. |
sensitivityScore | object | The sensitivity score of this project. (id: GooglePrivacyDlpV2SensitivityScore) |
tableDataProfileCount | string (int64) | The number of table data profiles generated for this project. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the profile. |
dataRiskLevel | object | The data risk level of this project. (id: GooglePrivacyDlpV2DataRiskLevel) |
fileStoreDataProfileCount | string (int64) | The number of file store data profiles generated for this project. |
profileLastGenerated | string (google-datetime) | The last time the profile was generated. |
profileStatus | object | Success or error status of the last attempt to profile the project. (id: GooglePrivacyDlpV2ProfileStatus) |
projectId | string | Project ID or account that was profiled. |
sensitivityScore | object | The sensitivity score of this project. (id: GooglePrivacyDlpV2SensitivityScore) |
tableDataProfileCount | string (int64) | The number of table data profiles generated for this project. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the profile. |
dataRiskLevel | object | The data risk level of this project. (id: GooglePrivacyDlpV2DataRiskLevel) |
fileStoreDataProfileCount | string (int64) | The number of file store data profiles generated for this project. |
profileLastGenerated | string (google-datetime) | The last time the profile was generated. |
profileStatus | object | Success or error status of the last attempt to profile the project. (id: GooglePrivacyDlpV2ProfileStatus) |
projectId | string | Project ID or account that was profiled. |
sensitivityScore | object | The sensitivity score of this project. (id: GooglePrivacyDlpV2SensitivityScore) |
tableDataProfileCount | string (int64) | The number of table data profiles generated for this project. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the profile. |
dataRiskLevel | object | The data risk level of this project. (id: GooglePrivacyDlpV2DataRiskLevel) |
fileStoreDataProfileCount | string (int64) | The number of file store data profiles generated for this project. |
profileLastGenerated | string (google-datetime) | The last time the profile was generated. |
profileStatus | object | Success or error status of the last attempt to profile the project. (id: GooglePrivacyDlpV2ProfileStatus) |
projectId | string | Project ID or account that was profiled. |
sensitivityScore | object | The sensitivity score of this project. (id: GooglePrivacyDlpV2SensitivityScore) |
tableDataProfileCount | string (int64) | The number of table data profiles generated for this project. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_project_data_profiles_get | select | projectsId , locationsId , projectDataProfilesId | Gets a project data profile. | |
organizations_locations_project_data_profiles_get | select | organizationsId , locationsId , projectDataProfilesId | Gets a project data profile. | |
projects_locations_project_data_profiles_list | select | projectsId , locationsId | pageToken , pageSize , orderBy , filter | Lists project data profiles for an organization. |
organizations_locations_project_data_profiles_list | select | organizationsId , locationsId | pageToken , pageSize , orderBy , filter | Lists 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
organizationsId | string | |
projectDataProfilesId | string | |
projectsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- projects_locations_project_data_profiles_get
- organizations_locations_project_data_profiles_get
- projects_locations_project_data_profiles_list
- organizations_locations_project_data_profiles_list
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;
Gets a project data profile.
SELECT
name,
dataRiskLevel,
fileStoreDataProfileCount,
profileLastGenerated,
profileStatus,
projectId,
sensitivityScore,
tableDataProfileCount
FROM google.dlp.project_data_profiles
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND projectDataProfilesId = '{{ projectDataProfilesId }}' -- required;
Lists project data profiles for an organization.
SELECT
name,
dataRiskLevel,
fileStoreDataProfileCount,
profileLastGenerated,
profileStatus,
projectId,
sensitivityScore,
tableDataProfileCount
FROM google.dlp.project_data_profiles
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}';
Lists project data profiles for an organization.
SELECT
name,
dataRiskLevel,
fileStoreDataProfileCount,
profileLastGenerated,
profileStatus,
projectId,
sensitivityScore,
tableDataProfileCount
FROM google.dlp.project_data_profiles
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}';