Compute Engine 設定

本頁面說明如何在建立 Compute Engine 資料儲存庫之前,設定 OAuth 應用程式。

建立 OAuth 應用程式

在 Google Cloud 中建立 OAuth 2.0 應用程式,並授予 Compute Engine API 存取權,然後記錄用戶端 ID 和用戶端密鑰。為貴組織設定 OAuth 應用程式。

設定重新導向網址和範圍

建立 OAuth 應用程式後,請設定重新導向網址和範圍:

  1. 開啟 OAuth 應用程式設定頁面。

  2. 在「已授權的重新導向 URI」部分,新增: https://vertexaisearch.cloud.google.com/oauth-redirect

  3. 選取下列範圍:

    範圍 目的
    https://www.googleapis.com/auth/compute 允許應用程式查看及管理 Compute Engine 資源。
  4. 儲存變更。