新增或變更 Gemini 訂閱
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本文說明如何存取及使用 Gemini Code Assist 管理員控制項。
訂閱 Gemini Code Assist 時,須遵守 Google Cloud《服務專屬條款》中,有關承諾使用單位計費與收費方式的內容。
授予 IAM 權限
如要取得新增或編輯 Gemini Code Assist 訂閱方案的必要權限,請要求管理員授予您帳單帳戶的 roles/billing.admin
IAM 角色。
或者,請管理員授予您 roles/consumerprocurement.orderAdmin
角色
和 roles/billing.viewer
角色。
這些角色具備新增或變更 Gemini Code Assist 訂閱方案所需的權限。如要查看確切的必要權限,請展開「必要權限」部分。
所需權限
consumerprocurement.orders.place
billing.billingAccountPrices.list
在 Google API 控制台中存取 Gemini for Google Cloud 管理控制項
如要在 Google API 控制台中存取 Gemini for Google Cloud 管理控制項,請在導覽選單中選取「Admin for Gemini」(Gemini 管理員)。
前往 Gemini 管理員
選取帳單帳戶
如要編輯或購買 Gemini Code Assist 訂閱方案,請選取帳單帳戶。Gemini Code Assist 訂閱方案與帳單帳戶綁定,可用於任何專案。每個帳單帳戶只能有一個 Gemini Code Assist 訂閱方案。
以下列出選擇帳單帳戶的可能方式:
編輯 Gemini Code Assist 訂閱方案
在 Google API 控制台中,前往「Admin for Gemini」頁面。
前往 Gemini 管理員
系統會載入「Gemini 管理員」頁面。
使用頁面頂端的專案選擇工具,確保您已將範圍限定為具有現有 Gemini Code Assist 訂閱項目的專案或資料夾。
找到「Gemini Code Assist」產品磚,然後點按「管理 Gemini Code Assist」。
選取「管理訂閱方案」。
系統隨即會顯示「管理訂閱」頁面。
選取「管理訂閱」即可編輯訂閱項目,包括:
管理版本:如果您要編輯 Gemini Code Assist 訂閱方案,可以從 Standard 版升級至 Enterprise 版,升級後會立即生效。或者,您也可以從 Enterprise 版降級為 Standard 版,這項變更會在當前訂閱期結束時生效。如要查看各版本提供的功能清單,請參閱「支援的功能」。
增加或減少訂閱方案中的授權數量:新增授權後,您幾乎可以立即使用。不過,如果減少授權數量,變更會在訂閱週期結束時生效。此外,在變更生效前,帳單上仍會顯示原先的授權數量。
變更訂閱週期:你可以設定按月或按年付款。年約方案享有折扣費率,且按月收費,而非一次性付款。如果從年約訂閱改為月約訂閱,變更會在年約到期後生效。此外,除非已啟用自動續訂功能,否則無法變更訂閱週期。
啟用或停用自動續約:如果停用自動續約,訂閱方案會在訂閱期結束時到期,且訂閱方案中的所有授權都會失效。訂閱方案到期後,就無法重新啟用。如要重新指派這些授權,請購買新的訂閱方案。此外,如果停用自動續訂功能,就無法進行下列變更:
- 減少授權數量
- 將年約方案改為月約方案
- 從 Enterprise 版改用 Standard 版
選取「繼續」,然後選取「確認變更」。
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eAccess the Gemini for Google Cloud admin controls by selecting "Admin for Gemini" in the Google Cloud console navigation menu.\u003c/p\u003e\n"],["\u003cp\u003eYou can edit a Gemini for Google Cloud subscription by navigating to the "Admin for Gemini" page and selecting "Manage" for the specific product you wish to update.\u003c/p\u003e\n"],["\u003cp\u003eSubscription edits include managing the edition (upgrading or downgrading), increasing or decreasing the number of licenses, and changing the subscription period (monthly or annually).\u003c/p\u003e\n"],["\u003cp\u003eEnabling auto-renewal is necessary to reduce license count, switch from annual to monthly subscription periods, or change from Enterprise to Standard edition.\u003c/p\u003e\n"],["\u003cp\u003eGemini for Google cloud subscriptions are subject to Google Cloud service specific terms regarding pricing and billing.\u003c/p\u003e\n"]]],[],null,["# Add or change Gemini subscriptions\n\nThis document describes how to access and use the\nGemini Code Assist administrator controls.\n\nGemini Code Assist subscriptions are subject to\nGoogle Cloud [Service Specific Terms](https://cloud.google.com/terms/service-terms)\nregarding Pricing and Billing for Committed Units.\n\nGrant IAM permissions\n---------------------\n\nIn order to get the required permissions for adding or editing\nGemini Code Assist subscriptions, ask your administrator to grant\nyou the [`roles/billing.admin` IAM role](https://cloud.google.com/billing/docs/how-to/billing-access#billing.admin) on the billing account.\n\nAlternatively, ask your administrator to grant you the\n[`roles/consumerprocurement.orderAdmin` role](https://cloud.google.com/marketplace/docs/access-control#consumerprocurement.orderAdmin)\n*and* the\n[`roles/billing.viewer` role](https://cloud.google.com/billing/docs/how-to/billing-access#billing.viewer).\n\nThese roles contain the permissions required to add or change\nGemini Code Assist subscriptions. To see the exact permissions\nthat are required, expand the **Required permissions** section. \n\n#### Required permissions\n\n- `consumerprocurement.orders.place`\n- `billing.billingAccountPrices.list`\n\nAccess Gemini for Google Cloud admin controls in the Google API Console\n-----------------------------------------------------------------------\n\nTo access Gemini for Google Cloud admin controls in the\nGoogle API Console, select **Admin for Gemini** in the navigation menu.\n\n[Go to **Admin for Gemini**](https://console.cloud.google.com/gemini-admin)\n\n### Pick a billing account\n\nTo edit or purchase a Gemini Code Assist subscription, you must\npick a billing account. Your Gemini Code Assist subscription is\ntied to a billing account and can be used with any project. You can only have\none Gemini Code Assist subscription per billing account.\n\nThe following list shows possible ways to pick a billing account:\n\n- **Manage subscriptions with project access**.\n\n - If you don't have a subscription yet, click **Get Gemini Code Assist**\n to purchase one. Note that you must\n [set up a billing account](/billing/docs/how-to/create-billing-account)\n first.\n\n - If you have a subscription already but it's not associated with this\n billing account, click **Manage subscriptions** and then select a\n different billing account where you want to manage the subscription.\n\n - If you already have a subscription associated with your current billing\n account, click **Manage Gemini Code Assist** to navigate to the settings\n page. Then, click **Manage Subscriptions** to select and manage existing\n subscriptions.\n\n- **Manage subscriptions without project access** . If you have permission to\n manage subscriptions, select the product you want to edit or purchase. Then,\n select **Manage Subscription** and select a billing account.\n\n- **Manage subscriptions for projects in a folder**. If you start from a folder,\n you must select a billing account before you purchase a subscription, since\n billing accounts can't be directly associated with a folder.\n\nEdit a Gemini Code Assist subscription\n--------------------------------------\n\n1. In the Google API Console, go to the **Admin for Gemini** page.\n\n [Go to **Admin for Gemini**](https://console.cloud.google.com/gemini-admin)\n\n The **Admin for Gemini** page loads.\n2. Use the project picker at the top of the page to ensure you are scoped to the\n project or folder that has an existing Gemini Code Assist\n subscription.\n\n3. Locate the **Gemini Code Assist** product tile, and then click\n **Manage Gemini Code Assist**.\n\n4. Select **Manage subscription**.\n\n The **Manage subscription** page appears.\n5. Select **Manage subscription** to edit the subscription, including:\n\n - **Manage edition** - If you're editing your Gemini Code Assist\n subscription, then you can upgrade from Standard edition to Enterprise\n edition, which takes effect immediately. Alternatively, you can downgrade\n from Enterprise edition to Standard edition, which takes effect at end of\n the current subscription term. To see a list of features available in each\n edition, see\n\n [Supported features](/gemini-code-assist/docs/overview#supported-features).\n\n - **Increase or decrease the number of licenses in the subscription** -\n Adding licenses makes them available to you almost immediately.\n However, if you reduce the number of licenses, then the changes won't take\n effect until the end of the subscription term. Additionally, the original\n license count is still reflected in your bill until the changes are\n applied.\n\n - **Change the subscription period** - You can set the subscription to bill\n monthly or annually. With an annual subscription, you are given a\n discounted rate that is charged on a monthly basis rather than a one-time\n payment. If you change from an annual subscription to a monthly\n subscription, then the change won't take effect until the end of the\n annual term. Additionally, you cannot change the subscription period\n unless you have enabled subscription auto-renewal.\n\n - **Enable or disable auto-renewal** - If you disable auto-renewal, the\n subscription expires at the end of the subscription term and all the\n licenses in the subscription become invalid. You cannot re-enable a\n subscription after it expires. Instead, you'll need to purchase a new\n subscription to re-assign those licenses. Additionally, if auto-renewal\n is disabled, then you can't make the following changes:\n\n - Reduce number of licenses\n - Change from annual to monthly subscription period\n - Change from Enterprise edition to Standard edition\n6. Select **Continue** , and then select **Confirm changes**.\n\nWhat's next\n-----------\n\n- Learn more about [Gemini for Google Cloud billing](https://cloud.google.com/gemini/docs/billing-questions).\n- [Manage your Gemini for Google Cloud licenses](/gemini-code-assist/docs/manage-licenses)."]]