Queries the detection results for columns in a data table.
Operation description
Notes
The DescribeDataObjectColumnDetail operation has been updated to DescribeDataObjectColumnDetailV2. We recommend that you use the latest version, DescribeDataObjectColumnDetailV2, for application development.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDataObjectColumnDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. |
10 |
| CurrentPage |
integer |
No |
The page number to return. Default value: 1. |
1 |
| ProductId |
integer |
No |
The ID of the service to which the data object belongs. Valid values:
|
5 |
| Id |
integer |
No |
The unique ID of the data object that you want to query. Note
Call the DescribeDataObjects operation to obtain the ID. |
318248 |
| TemplateId |
integer |
No |
The ID of the industry-specific template. Note
Call the DescribeDataObjects operation to obtain the ID of the industry-specific template. |
1 |
| FeatureType |
integer |
No |
This parameter is deprecated. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The ID of the request. |
8C8036CC-961D-514E-88E8-3088B5A50CA9 |
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| TotalCount |
integer |
The total number of entries. |
61 |
| Items |
array<object> |
The details of the columns. |
|
|
array<object> |
The details of a column. |
||
| ColumnName |
string |
The name of the column. |
hide14 |
| DataType |
string |
The data type of the column. |
varchar |
| ColumnComment |
string |
The comment on the column. |
column comment |
| PrimaryKey |
boolean |
Indicates whether the column is a primary key. Valid values:
|
true |
| Id |
string |
The ID of the column. |
1509415150052786176 |
| RiskLevelId |
integer |
The ID of the sensitivity level. Valid values:
|
2 |
| RiskLevelName |
string |
The name of the sensitivity level. Valid values:
|
S1 |
| RuleId |
integer |
The ID of the sensitive data detection rule that was matched. |
1004 |
| RuleName |
string |
The name of the sensitive data detection rule that was matched. |
name |
| Categories |
array |
The industry-specific data classifications. |
|
|
string |
The industry-specific data classification. |
general sensitive information |
|
| ModelTags |
array<object> |
The data labels. |
|
|
object |
The data label. |
||
| Id |
integer |
The ID of the data label. Valid values:
|
101 |
| Name |
string |
The name of the data label. Valid values:
|
personal sensitive information |
| EngineType |
string |
The type of the database engine. Valid values:
|
MySQL |
| MaskingStatus |
integer |
The data masking status of the column. Valid values:
|
-1 |
| InstanceName |
string |
The name of the instance where the table is located. |
rm-1234 |
| TableName |
string |
The name of the table. |
it_table |
| RegionId |
string |
The ID of the region where the data asset is located. |
cn-hangzhou |
| ProductId |
integer |
The ID of the service to which the data object belongs. Valid values:
|
5 |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "8C8036CC-961D-514E-88E8-3088B5A50CA9",
"PageSize": 10,
"TotalCount": 61,
"Items": [
{
"ColumnName": "hide14",
"DataType": "varchar",
"ColumnComment": "column comment",
"PrimaryKey": true,
"Id": "1509415150052786176",
"RiskLevelId": 2,
"RiskLevelName": "S1",
"RuleId": 1004,
"RuleName": "name",
"Categories": [
"general sensitive information"
],
"ModelTags": [
{
"Id": 101,
"Name": "personal sensitive information"
}
],
"EngineType": "MySQL",
"MaskingStatus": -1,
"InstanceName": "rm-1234",
"TableName": "it_table",
"RegionId": "cn-hangzhou",
"ProductId": 5
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.