Thêm hoặc thay đổi gói thuê bao Gemini
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài liệu này mô tả cách truy cập và sử dụng các chế độ kiểm soát của quản trị viên đối với Gemini Code Assist.
Gói thuê bao Gemini Code Assist phải tuân theo Điều khoản dành riêng cho dịch vụ của Google Cloud về Giá và việc thanh toán cho Đơn vị cam kết.
Cấp quyền IAM
Để có được các quyền cần thiết để thêm hoặc chỉnh sửa gói thuê bao Gemini Code Assist, hãy yêu cầu quản trị viên cấp cho bạn vai trò roles/billing.admin
IAM trên tài khoản thanh toán.
Hoặc yêu cầu quản trị viên cấp cho bạn vai trò roles/consumerprocurement.orderAdmin
và vai trò roles/billing.viewer
.
Những vai trò này có các quyền cần thiết để thêm hoặc thay đổi gói thuê bao Gemini Code Assist. Để xem chính xác các quyền bắt buộc, hãy mở rộng phần Quyền bắt buộc.
Các quyền bắt buộc
consumerprocurement.orders.place
billing.billingAccountPrices.list
Sử dụng các chế độ kiểm soát của quản trị viên đối với Gemini cho Google Cloud trong Google API Console
Để truy cập vào các chế độ cài đặt quản trị Gemini cho Google Cloud trong Bảng điều khiển API của Google, hãy chọn Quản trị viên cho Gemini trong trình đơn điều hướng.
Truy cập trang Quản trị viên cho Gemini
Chọn một tài khoản thanh toán
Để chỉnh sửa hoặc mua gói thuê bao Gemini Code Assist, bạn phải chọn một tài khoản thanh toán. Gói thuê bao Gemini Code Assist của bạn được liên kết với một tài khoản thanh toán và có thể dùng với mọi dự án. Mỗi tài khoản thanh toán chỉ được có một gói thuê bao Gemini Code Assist.
Danh sách sau đây cho thấy những cách có thể dùng để chọn tài khoản thanh toán:
Quản lý gói thuê bao bằng quyền truy cập vào dự án.
Nếu bạn chưa có gói thuê bao, hãy nhấp vào Nhận Gemini Code Assist để mua gói. Xin lưu ý rằng trước tiên, bạn phải thiết lập tài khoản thanh toán.
Nếu bạn đã có gói thuê bao nhưng gói đó không liên kết với tài khoản thanh toán này, hãy nhấp vào Quản lý gói thuê bao rồi chọn một tài khoản thanh toán khác mà bạn muốn quản lý gói thuê bao.
Nếu bạn đã có một gói thuê bao được liên kết với tài khoản thanh toán hiện tại, hãy nhấp vào Quản lý Gemini Code Assist để chuyển đến trang cài đặt. Sau đó, hãy nhấp vào Quản lý gói thuê bao để chọn và quản lý các gói thuê bao hiện có.
Quản lý gói thuê bao mà không cần có quyền truy cập vào dự án. Nếu bạn có quyền quản lý gói thuê bao, hãy chọn sản phẩm bạn muốn chỉnh sửa hoặc mua. Sau đó, hãy chọn Quản lý gói thuê bao rồi chọn một tài khoản thanh toán.
Quản lý thông báo đăng ký cho các dự án trong một thư mục. Nếu bắt đầu từ một thư mục, bạn phải chọn một tài khoản thanh toán trước khi mua gói thuê bao, vì tài khoản thanh toán không thể liên kết trực tiếp với một thư mục.
Chỉnh sửa gói thuê bao Gemini Code Assist
Trong Google API Console, hãy chuyển đến trang Admin for Gemini (Quản trị viên cho Gemini).
Truy cập trang Quản trị viên cho Gemini
Trang Quản trị viên cho Gemini sẽ tải.
Sử dụng bộ chọn dự án ở đầu trang để đảm bảo bạn được giới hạn phạm vi trong dự án hoặc thư mục có gói thuê bao Gemini Code Assist hiện tại.
Tìm ô sản phẩm Gemini Code Assist, rồi nhấp vào Quản lý Gemini Code Assist.
Chọn Quản lý gói thuê bao.
Trang Quản lý gói thuê bao sẽ xuất hiện.
Chọn Quản lý gói thuê bao để chỉnh sửa gói thuê bao, bao gồm:
Quản lý phiên bản – Nếu đang chỉnh sửa gói thuê bao Gemini Code Assist, bạn có thể nâng cấp từ phiên bản Standard lên phiên bản Enterprise và thay đổi này sẽ có hiệu lực ngay lập tức. Ngoài ra, bạn có thể hạ cấp từ phiên bản Enterprise xuống phiên bản Standard. Việc này sẽ có hiệu lực kể từ ngày kết thúc kỳ thuê bao hiện tại. Để xem danh sách các tính năng có trong mỗi phiên bản, hãy xem bài viết Các tính năng được hỗ trợ.
Tăng hoặc giảm số lượng giấy phép trong gói thuê bao –
Khi bạn thêm giấy phép, giấy phép sẽ có sẵn cho bạn gần như ngay lập tức.
Tuy nhiên, nếu bạn giảm số lượng giấy phép, thì các thay đổi sẽ không có hiệu lực cho đến khi kết thúc thời hạn thuê bao. Ngoài ra, số lượng giấy phép ban đầu vẫn được phản ánh trong hoá đơn của bạn cho đến khi các thay đổi được áp dụng.
Thay đổi kỳ hạn thuê bao – Bạn có thể đặt kỳ hạn thuê bao là hằng tháng hoặc hằng năm. Khi đăng ký gói thuê bao hằng năm, bạn sẽ được hưởng mức chiết khấu và thanh toán hằng tháng thay vì thanh toán một lần. Nếu bạn chuyển từ gói thuê bao hằng năm sang gói thuê bao hằng tháng, thì thay đổi này sẽ không có hiệu lực cho đến khi hết thời hạn hằng năm. Ngoài ra, bạn không thể thay đổi kỳ hạn đăng ký, trừ phi bạn đã bật tính năng tự động gia hạn gói thuê bao.
Bật hoặc tắt tính năng tự động gia hạn – Nếu bạn tắt tính năng tự động gia hạn, gói thuê bao sẽ hết hạn vào cuối thời hạn thuê bao và tất cả giấy phép trong gói thuê bao sẽ không hợp lệ. Bạn không thể bật lại gói thuê bao sau khi gói này hết hạn. Thay vào đó, bạn cần mua một gói thuê bao mới để chỉ định lại các giấy phép đó. Ngoài ra, nếu tắt tính năng tự động gia hạn, bạn sẽ không thể thực hiện những thay đổi sau:
- Giảm số lượng giấy phép
- Thay đổi từ kỳ hạn thuê bao hằng năm sang hằng tháng
- Chuyển từ phiên bản Enterprise sang phiên bản Standard
Chọn Tiếp tục, rồi chọn Xác nhận thay đổi.
Bước tiếp theo
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\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)."]]