- [Resource: ColumnDataProfile](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.columnDataProfiles#ColumnDataProfile)
  - [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.columnDataProfiles#ColumnDataProfile.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.columnDataProfiles#METHODS_SUMMARY)

## Resource: ColumnDataProfile

The profile for a scanned column within a table.

| JSON representation |
|---|
| ``` { "name": string, "profileStatus": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ProfileStatus`) }, "state": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.State`), "profileLastGenerated": string, "tableDataProfile": string, "tableFullResource": string, "datasetProjectId": string, "datasetLocation": string, "datasetId": string, "tableId": string, "column": string, "sensitivityScore": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/SensitivityScore`) }, "dataRiskLevel": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataRiskLevel`) }, "columnInfoType": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InfoTypeSummary`) }, "otherMatches": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/OtherInfoTypeSummary`) } ], "estimatedNullPercentage": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.NullPercentageLevel`), "estimatedUniquenessScore": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.UniquenessScoreLevel`), "freeTextScore": number, "columnType": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.ColumnDataType`), "policyState": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.ColumnPolicyState`) } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the profile. |
| `profileStatus` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ProfileStatus`)`` Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. |
| `state` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.State`)`` State of a profile. |
| `profileLastGenerated` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The last time the profile was generated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `tableDataProfile` | `string` The resource name of the table data profile. |
| `tableFullResource` | `string` The resource name of the resource this column is within. |
| `datasetProjectId` | `string` The Google Cloud project ID that owns the profiled resource. |
| `datasetLocation` | `string` If supported, the location where the dataset's data is stored. See <https://docs.cloud.google.com/bigquery/docs/locations> for supported BigQuery locations. |
| `datasetId` | `string` The BigQuery dataset ID, if the resource profiled is a BigQuery table. |
| `tableId` | `string` The table ID. |
| `column` | `string` The name of the column. |
| `sensitivityScore` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/SensitivityScore`)`` The sensitivity of this column. |
| `dataRiskLevel` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataRiskLevel`)`` The data risk level for this column. |
| `columnInfoType` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InfoTypeSummary`)`` If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types. |
| `otherMatches[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/OtherInfoTypeSummary`)`` Other types found within this column. List will be unordered. |
| `estimatedNullPercentage` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.NullPercentageLevel`)`` Approximate percentage of entries being null in the column. |
| `estimatedUniquenessScore` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.UniquenessScoreLevel`)`` Approximate uniqueness of the column. |
| `freeTextScore` | `number` The 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. |
| `columnType` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.ColumnDataType`)`` The data type of a given column. |
| `policyState` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.columnDataProfiles#ColumnDataProfile.ColumnPolicyState`)`` Indicates if a policy tag has been applied to the column. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.columnDataProfiles/get` | Gets a column data profile. |
| ### `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.columnDataProfiles/list` | Lists column data profiles for an organization. |