設定 Gemini Notebook 企業版

本頁面說明設定 Gemini Notebook for Business 時,必須完成的啟動工作。

完成本頁的工作後,使用者就能開始在 Gemini Notebook for Business 建立及使用筆記本。

關於身分設定

如要完成設定,您必須在 Google Cloud中設定貴組織的識別資訊提供者 (IdP)。正確設定身分之所以重要,原因有兩個:

  • 使用者可以透過現有的公司憑證,存取商業用 Gemini Notebook 使用者介面。

  • 確保使用者只能看到自己擁有或與其共用的筆記本。

支援的架構

支援的驗證架構如下:

  • Cloud Identity:

    • 情況 1:如果您使用 Cloud Identity 或 Google Workspace,則所有使用者身分和使用者群組都會透過Google Cloud顯示及管理。如要進一步瞭解 Cloud Identity,請參閱 Cloud Identity 說明文件。

    • 情況 2:您使用第三方 IdP,並已將身分與 Cloud Identity 同步。使用者會先透過 Cloud Identity 驗證身分,再存取 Google 資源或 Google Workspace。

    • 案例 3:您使用第三方 IdP,並已將身分與 Cloud Identity 同步。不過,您仍會使用現有的第三方 IdP 執行驗證。您已透過 Cloud Identity 設定單一登入 (SSO),因此使用者會先使用 Cloud Identity 登入,然後系統會將他們導向第三方 IdP。(您可能已在設定其他 Google Cloud 資源或 Google Workspace 時完成這項同步作業)。

  • 員工身分聯盟:如果您使用外部身分識別資訊提供者 (Microsoft Entra ID、Okta、Ping、PingFederate 或其他 OIDC 或 SAML 2.0 IdP),但不想將身分同步至 Cloud Identity,則必須先在 Google Cloud中設定員工身分聯盟,才能啟用商業用 Gemini Notebook 的資料來源存取控管功能。

    google.subject 屬性必須對應至外部 IdP 中的電子郵件地址欄位。以下是常用 IdP 的 google.subject 和 google.groups 屬性對應範例:

每個 Google Cloud 專案只能選取一個 IdP。

事前準備

開始執行本頁面的程序前,請確認下列其中一項條件成立:

規劃員工身分聯盟設定

如果您使用員工身分聯盟,請在使用者開始建立筆記本前,完成下列步驟:

  • 在員工身分集區提供者的屬性對應中,使用 .lowerAscii() 對應 google.subject,如「支援的架構」一節的範例所示。

    商業用 Gemini Notebook 會完全比對使用者身分。如果 IdP 在某次登入程序中,以大寫字母宣告使用者的電子郵件地址,並在另一次登入程序中以小寫字母宣告,系統會將該使用者視為兩位不同的使用者。如果手動輸入電子郵件地址來共用筆記本,也必須與聲明身分完全相符。

    使用者開始建立筆記本後,請勿變更 google.subject 對應。對應關係是每位使用者身分的一部分。如果變更,現有筆記本、授權和共用項目將不再與擁有者相符。

  • 設定工作團隊身分集區的工作階段持續時間,涵蓋使用者的工作日。您可以使用 gcloud iam workforce-pools update 指令的 --session-duration 旗標,設定最長 12 小時的時間長度。預設工作階段持續時間為一小時。

    聯合登入工作階段無法在背景重新整理。集區工作階段到期後,使用者會重新導向至登入頁面,並遺失未儲存的對話。詳情請參閱「更新集區」。

建立專案並啟用 API

如果您已有要使用的 Google Cloud 專案,請從步驟 2 開始。

  1. 登入 Google Cloud 帳戶。如果您未曾使用過 Google Cloud,歡迎建立帳戶,親自體驗實際使用我們產品的成效。新客戶還能獲得價值 $300 美元的免費抵免額,用於執行、測試及部署工作負載。
  2. 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

  3. Verify that billing is enabled for your Google Cloud project.

  4. Enable the Discovery Engine API, if it is not already enabled.

    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

  5. 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

  6. Verify that billing is enabled for your Google Cloud project.

  7. Enable the Discovery Engine API, if it is not already enabled.

    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

授予 Cloud NotebookLM 管理員角色

專案擁有者必須將 Cloud NotebookLM 管理員角色指派給任何使用者,他們才能在這個專案中管理商業用 Gemini Notebook:

  1. 前往 Google Cloud 控制台的「IAM」頁面。

    前往「IAM」頁面
  2. 選取專案。
  3. 按一下「Grant access」(授予存取權)。
  4. 在「New principals」(新增主體) 欄位中,輸入使用者 ID。 這通常是指 Google 帳戶或使用者群組的電子郵件地址。

  5. 在「Select a role」(選取角色) 清單中,選取「Cloud NotebookLM Admin」(Cloud NotebookLM 管理員)。詳情請參閱「使用者角色」。
  6. 按一下「Save」(儲存)。

設定商業用 Gemini Notebook 的 IdP

專案擁有者或具備 Cloud NotebookLM 管理員角色的使用者,可以設定 IdP。

  1. 前往 Google Cloud 控制台的「商業用 Gemini Notebook」頁面。

    Gemini Enterprise

  2. 將「Identity settings」(識別資訊設定) 設為「Google identity provider」(Google 識別資訊提供者) 或「Third-party identity provider」(第三方識別資訊提供者)。

    詳情請參閱上方的「關於身分設定」。

  3. 如果您使用第三方 IdP 和員工身分聯盟,請指定員工集區名稱和員工集區提供者。

  4. 複製連結。

    您會將這個連結傳送給所有商業用 Gemini Notebook 使用者。使用者可以透過這個連結,前往建立、編輯及共用筆記本的使用者介面。

選用:註冊客戶自行管理的加密金鑰

如要使用客戶自行管理的加密金鑰 (CMEK),而非 Google 預設加密機制,請按照「客戶自行管理的加密金鑰」中的操作說明,為商業用 Gemini Notebook 註冊金鑰。

一般來說,只有在貴組織有嚴格的法規要求或內部政策,規定必須控管加密金鑰時,才需要使用 CMEK。在多數情況下,Google 預設加密機制已足夠。如需 CMEK 的一般資訊,請參閱 Cloud Key Management Service 說明文件。

將商業用 Gemini Notebook 角色授予使用者

本節說明如何為使用者授予存取、管理及共用 Notebook 所需的 IAM 角色。

  1. 前往 Google Cloud 控制台的「IAM」頁面。

    前往「IAM」頁面
  2. 選取專案。
  3. 按一下「Grant access」(授予存取權)。
  4. 在「New principals」(新增主體) 欄位中,輸入使用者 ID。這通常是指 Google 帳戶的電子郵件地址、使用者群組,或是員工身分集區中的使用者 ID。詳情請參閱「在 IAM 政策中代表工作團隊集區使用者」,或聯絡管理員。

  5. 在「Select a role」(選取角色) 清單中,選取「Cloud NotebookLM User」角色。
  6. 按一下「Save」(儲存)。

除了 Cloud NotebookLM User 角色外,使用者還需要商業用 Gemini Notebook 授權。請參閱「取得商業用 Gemini Notebook 授權」。

後續步驟