Appearance
テーブルアノテーション
イベント一覧
| イベント | リソース | 説明 |
|---|---|---|
table_annotation.update | table | テーブルのアノテーションが更新された。 |
イベント詳細
table_annotation.update 準備中
テーブルのアノテーションが更新された。
| フィールド | 値 |
|---|---|
event.code | table_annotation.update |
scope.type | workspace |
resource.type | table |
references | (なし) |
query | (なし) |
change | description, tag_ids, columns |
grant | (なし) |
extra | (なし) |
change
| 名前 | モード | 型 | 必須 | 説明 |
|---|---|---|---|---|
description | フラグ | — | 任意 | テーブルまたはカラムの説明が変更されたこと |
tag_ids | 集合 | string[] | 任意 | 付与・解除されたタグの識別子 |
columns | 集合 | string[] | 任意 | アノテーションが設定・変更されたカラムが added、削除されたカラムが removed に入ります。 |
サンプル
json
{
"event": {
"code": "table_annotation.update",
...
},
"scope": {
"type": "workspace",
...
},
"resource": {
"type": "table",
"uid": "project.dataset.orders",
"name": "orders",
"path": "connection/63e1be654aa70ad689601bef/table/project.dataset.orders",
"parts": [
{
"type": "connection",
"uid": "63e1be654aa70ad689601bef",
"name": "BigQuery Prod"
},
{
"type": "table",
"uid": "project.dataset.orders",
"name": "orders"
}
],
...
},
"change": {
"fields": [
{
"name": "description",
"changed": true
},
{
"name": "tag_ids",
"added": [
"63e1be654aa70ad689601be8"
],
"removed": []
},
{
"name": "columns",
"added": [
"amount"
],
"removed": [
"legacy_col"
]
}
]
},
...
}