CustomAttribute

更新时间:
复制 MD 格式

Parameter

Type

Description

Example

object

Custom attribute definition

Id

string

Custom attribute ID. It must match the regular expression ^custom-attribute:[A-Za-z][A-Za-z0-9_]{0,98}$. The part after custom-attribute: must be fewer than 100 characters.

custom-attribute:biz_owner

DisplayName

string

Display name for the custom attribute. It must be fewer than 128 characters.

业务负责人

Type

string

Custom attribute type. Supported types are ENUM, TEXT, and HYPERLINK.

TEXT

EntityTypes

array

List of applicable entity types. Supports exact entity types and wildcard patterns such as *-table and *-column, for example:

  • dataworks-project

  • dataworks-dataset

  • maxcompute-table

  • maxcompute-column

string

Entity type

maxcompute-table

ValueEnums

array

Enumeration values. Required when Type is ENUM. Not supported for TEXT or HYPERLINK types.

string

Enumeration value

VALUE_1

SearchFilterEnabled

boolean

Indicates whether this attribute can be used as a filter on the search page (only affects search in Data Map). Only ENUM attributes can be set to true. Default is false.

false

DisplayEnabled

boolean

Indicates whether this attribute is displayed on the page. Default is true.

true

Comment

string

Description of the custom attribute. It must be fewer than 256 characters.

this is a comment

CreateTime

integer

Creation time as a millisecond UNIX timestamp.

1750817692000

ModifyTime

integer

Modification time as a millisecond UNIX timestamp.

1763380628000