📖

GCP Vertex AIの特徴量(featurestore)の削除方法

2022/04/05に公開

概要

GCP(Google Cloud Platform)のVertex AIにおいて、特徴量(featurestore)の削除方法のメモです。

後から気がつきましたが、以下に公式ドキュメントがありました。

https://cloud.google.com/vertex-ai/docs/featurestore/managing-featurestores#delete_a_featurestore

方法

今回は、以下に示すように、testという特徴量(featurestore)の削除を試みます。

以下のコマンドを実行することで削除できました。(GUIからの削除方法がわかりかねました。)

説明
LOCATION featurestore が配置されているリージョン(us-central1 など)。
PROJECT プロジェクト ID またはプロジェクト番号。
FEATURESTORE_ID featurestore の ID。
curl -X DELETE \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
https://{LOCATION}-aiplatform.googleapis.com/v1beta1/projects/{PROJECT}/locations/{LOCATION}/featurestores/{FEATURESTORE_ID}

Cloud Shellで実行できました。

まとめ

同様のことでお困りの方の参考になりましたら幸いです。

Discussion