Iceberg REST カタログ リソースを管理する

Borderless Lakehouse を使用すると、 Lakehouse ランタイム カタログ内で Apache Iceberg REST カタログのエンドポイントを管理できます。 Google Cloud コンソールまたは REST API を使用して、これらのカタログを作成、構成、モニタリングし、クエリエンジン接続に必要な メタデータ レイヤを確立できます。

始める前に

  1. Lakehouse ランタイム カタログについてを読んで、Lakehouse ランタイム カタログの仕組みとサービスの制限事項を理解してください。
  2. アカウントに Google Cloud ログインします。 Google Cloudを初めて使用する場合は、 アカウントを作成して、実際のシナリオで Google プロダクトのパフォーマンスを評価してください。新規のお客様には、ワークロードの実行、テスト、デプロイができる無料クレジット $300 分を差し上げます。

    In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

    Verify that billing is enabled for your Google Cloud project.

    Enable the BigLake API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

    In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

    Verify that billing is enabled for your Google Cloud project.

    Enable the BigLake API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

必要なロール

Lakehouse ランタイム カタログを使用するために必要な権限を取得するには、プロジェクトに対する次の IAM ロールを付与するよう管理者に依頼してください。

ロールの付与については、プロジェクト、フォルダ、組織へのアクセス権の管理をご覧ください。

必要な権限は、カスタム ロールや他の事前定義 ロールから取得することもできます。

管理アクション

Google Cloud コンソールまたは REST API を使用して、Apache Iceberg REST カタログ エンドポイント リソースに対して次の管理アクションを実行できます。

  • カタログを作成する: 基盤となる Cloud Storage ウェアハウスのロケーションを指す Apache Iceberg REST カタログ管理エンドポイントを作成します(CreateIcebergCatalog)。
  • カタログを更新する: 既存の単一バケット カタログを複数バケット カタログにアップグレードします(UpdateIcebergCatalog)。
  • 名前空間を作成する: Iceberg REST カタログ エンドポイント内に名前空間を作成して、関連するテーブルをグループ化します(CreateIcebergNamespace)。
  • 認証情報ベンディングを有効にする: 既存のカタログの認証方法を認証情報ベンディング モードに切り替えて、有効期間の短いストレージ トークンをクエリエンジンに直接ベンディングします(UpdateIcebergCatalog)。
  • カタログの詳細を取得する: クライアント接続に必要な REST カタログ URI など、カタログのプロパティとメタデータを表示します(GetIcebergCatalog)。
  • 名前空間 ACL を管理する: カタログの名前空間の IAM ポリシーを表示して更新し、特定のプリンシパルのアクセスを制御します(get-iam-policyset-iam-policy)。
  • カタログを削除する: Lakehouse ランタイム カタログからカタログ メタデータ管理エンドポイントの登録を解除します(DeleteIcebergCatalog)。
  • 名前空間を削除する: Iceberg REST カタログから不要になった名前空間を削除します(DeleteIcebergNamespace)。
  • 監査ログを表示する: Cloud Audit Logs を調べて、管理アクティビティとデータアクセス アクティビティの検証可能なレコードを確認します。

料金

料金の詳細については、Lakehouse の料金をご覧ください。

次のステップ