本頁面說明設定 Gemini Notebook Enterprise 時,必須完成的啟動工作。
完成本頁的工作後,使用者就能在 Gemini Notebook Enterprise 中建立及使用筆記本。
關於身分設定
如要完成設定,您必須在 Google Cloud中設定貴組織的識別資訊提供者 (IdP)。正確設定身分之所以重要,原因有兩個:
使用者可透過現有的公司憑證,存取 Gemini Notebook Enterprise 使用者介面。
確保使用者只能看到自己擁有或與其共用的筆記本。
支援的架構
支援下列驗證架構:
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 Enterprise 的資料來源存取控管功能。
google.subject屬性必須對應至外部 IdP 中的電子郵件地址欄位。以下是常用 IdP 的google.subject和google.groups屬性對應範例:Microsoft Entra ID
採用 OIDC 通訊協定的 Microsoft Entra ID
google.subject=assertion.email google.groups=assertion.groups採用 SAML 通訊協定的 Microsoft Entra ID
google.subject=assertion.attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name'][0] google.groups=assertion.attributes['http://schemas.microsoft.com/ws/2008/06/identity/claims/groups']-
如果您使用 Microsoft Entra ID,且群組數量超過約 150 個,請按照大量群組的設定程序操作。
google.subject=user.emails[0].value.lowerAscii() google.groups=group.externalId
Okta
google.subject=assertion.email google.groups=assertion.groupsgoogle.subject=assertion.subject google.groups=assertion.attributes['groups']
每個 Google Cloud 專案只能選取一個 IdP。
事前準備
開始執行本頁面的程序前,請確認符合下列任一條件:
您使用 Cloud Identity 做為 IdP,或
您使用第三方 IdP,並已透過 Cloud Identity 設定 SSO,或
您使用 Okta 以外的第三方 IdP,且符合下列條件:
請按照「使用 Microsoft Entra ID 設定員工身分聯盟,並讓使用者登入」中的操作說明,設定員工身分聯盟。如果群組數量超過約 150 個,請按照「使用 Microsoft Entra ID 和大量群組,設定員工身分聯盟」中的操作說明。
如果您按照「使用 Microsoft Entra ID 設定員工身分聯盟,並讓使用者登入」一文的操作說明操作,請務必按照建議的安全最佳做法步驟新增群組宣告,並選取「All groups」(所有群組)。這是 Gemini Notebook Enterprise 的必要步驟。
設定 SCIM。請參閱「在 Microsoft Entra ID 中設定 SCIM」。如要自動完成使用者電子郵件和群組名稱,以及使用 Microsoft Entra ID 處理大量群組,就必須設定 SCIM。
您使用 Okta 做為第三方 IdP,且具備:
按照「使用 Okta 設定員工身分聯盟」中的操作說明操作。
設定 SCIM。請參閱「在 Okta 中設定 SCIM」。 必須啟用 SCIM,才能自動完成使用者電子郵件地址和群組名稱。
建立專案並啟用 API
如果您已有要使用的 Google Cloud 專案,請從步驟 2 開始。
- 登入 Google Cloud 帳戶。如果您未曾使用過 Google Cloud,歡迎 建立帳戶,親自體驗實際使用我們產品的成效。新客戶還能獲得價值 $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 theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
Enable the Discovery Engine API, if it is not already enabled.
Roles required to enable APIs
To enable APIs, you need the
serviceusage.services.enablepermission. 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.-
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 theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
Enable the Discovery Engine API, if it is not already enabled.
Roles required to enable APIs
To enable APIs, you need the
serviceusage.services.enablepermission. 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.
授予 Cloud NotebookLM 管理員角色
專案擁有者必須將 Cloud NotebookLM 管理員角色指派給任何使用者,他們才能管理這項專案中的 Gemini Notebook Enterprise:
-
前往 Google Cloud 控制台的「IAM」頁面。
前往「IAM」頁面 - 選取專案。
- 按一下「Grant access」(授予存取權)。
-
在「New principals」(新增主體) 欄位中,輸入使用者 ID。 這通常是指 Google 帳戶或使用者群組的電子郵件地址。
- 在「Select a role」(選取角色) 清單中,選取「Cloud NotebookLM Admin」(Cloud NotebookLM 管理員)。詳情請參閱「使用者角色」。
- 按一下「Save」(儲存)。
設定 Gemini Notebook Enterprise 的 IdP
專案擁有者或具備 Cloud NotebookLM 管理員角色的使用者,可以設定 IdP。
前往 Google Cloud 控制台的「Gemini Notebook Enterprise」頁面。
將「Identity settings」(身分設定) 設為「Google identity provider」(Google 識別資訊提供者) 或「Third-party identity provider」(第三方識別資訊提供者)。
詳情請參閱上方的「關於身分設定」。
如果您使用第三方 IdP 和員工身分聯盟,請指定員工集區名稱和員工集區提供者。
複製連結。
您會將這個連結傳送給 Gemini Notebook Enterprise 的所有使用者。使用者可以透過這個連結,前往建立、編輯及共用筆記本的使用者介面。
選用:註冊客戶自行管理的加密金鑰
如要使用客戶自行管理的加密金鑰 (CMEK),而非 Google 預設加密機制,請按照「客戶自行管理的加密金鑰」中的操作說明,註冊 Gemini Notebook Enterprise 的金鑰。
一般來說,只有在貴組織有嚴格的法規要求或內部政策,規定必須控管加密金鑰時,才需要使用 CMEK。在多數情況下,Google 預設加密機制已足夠。如需 CMEK 的一般資訊,請參閱 Cloud Key Management Service 說明文件。
將 Gemini Notebook Enterprise 角色授予使用者
本節說明如何為使用者授予存取、管理及共用筆記本所需的 IAM 角色。
-
前往 Google Cloud 控制台的「IAM」頁面。
前往「IAM」頁面 - 選取專案。
- 按一下「Grant access」(授予存取權)。
-
在「New principals」(新增主體) 欄位中,輸入使用者 ID。這通常是指 Google 帳戶的電子郵件地址、使用者群組,或員工身分集區中的使用者 ID。詳情請參閱「 在 IAM 政策中代表工作團隊集區使用者」,或聯絡管理員。
-
在「Select a role」(選取角色) 清單中,選取「
Cloud NotebookLM User」角色。 - 按一下「Save」(儲存)。
除了 Cloud NotebookLM User 角色外,使用者還需要 Gemini Notebook Enterprise 授權。請參閱「取得 Gemini Notebook Enterprise 授權」。