Skip to content

テーブルアノテーション

イベント一覧

イベントリソース説明
table_annotation.updatetableテーブルのアノテーションが更新された。

イベント詳細

table_annotation.update 準備中

テーブルのアノテーションが更新された。

フィールド
event.codetable_annotation.update
scope.typeworkspace
resource.typetable
references(なし)
query(なし)
changedescription, 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"
        ]
      }
    ]
  },
  ...
}

Codatum Audit Events 監査ログイベントカタログ