Thêm hoặc thay đổi gói thuê bao Gemini Code Assist
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 dành cho quản trị viên của tính năng Hỗ trợ mã Gemini.
Các gói thuê bao Gemini Code Assist phải tuân thủGoogle Cloud Điều khoản cụ thể về dịch vụ liên quan đến Giá và việc tính phí cho các Đơn vị cam kết.
Cấp quyền IAM
Để 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ò IAM roles/billing.admin trên tài khoản thanh toán.
Các vai trò này chứa 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 cần thiết, hãy mở rộng phần Các quyền cần thiết.
Các quyền bắt buộc
consumerprocurement.orders.place
billing.billingAccountPrices.list
Truy cập vào Gemini để sử dụng Google Cloud các chế độ kiểm soát dành cho quản trị viên trong Google Cloud bảng điều khiển
Để truy cập vào Gemini cho các chế độ điều khiển dành cho quản trị viên trong bảng điều khiểnGoogle Cloud , hãy chọn Quản trị viên cho Gemini trong trình đơn điều hướng. Google Cloud
Để 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. Danh sách sau đây cho biết các cách có thể để 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 Mua gói hỗ trợ lập trình Gemini để mua gói thuê bao. 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 thuê bao đó không liên kết với tài khoản thanh toán hiện tại của dự án này, hãy nhấp vào Quản lý gói thuê bao, sau đó 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ó gói thuê bao liên kết với dự án hiện tại, hãy nhấp vào Quản lý tính năng 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ó liên kết với dự án.
Quản lý gói thuê bao mà không cần 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 đó, 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ý gói thuê bao 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ì bạn không thể liên kết trực tiếp tài khoản thanh toán với một thư mục.
Chỉnh sửa gói thuê bao Gemini Code Assist
Trong bảng điều khiển Google Cloud , hãy chuyển đến trang Quản trị viên cho Gemini.
Sử dụng bộ chọn dự án ở đầu trang để đảm bảo bạn đang ở trong phạm vi của dự án hoặc thư mục có gói thuê bao Hỗ trợ mã Gemini hiện tại.
Tìm thẻ thông tin sản phẩm Gemini Code Assist, sau đó 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. Việc 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 khi kết thúc thời hạn gói 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 phần 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, bạn sẽ có thể sử dụng giấy phép đó 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 thể hiện trong hoá đơn của bạn cho đến khi các thay đổi được áp dụng.
Thay đổi thời hạn gói thuê bao – Bạn có thể đặt gói thuê bao để tính phí 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 giảm giá và tính phí hằng tháng thay vì thanh toán một lần. Nếu bạn thay đổi 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 kết thúc gói hằng năm. Ngoài ra, bạn không thể thay đổi kỳ hạn thuê bao 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 thuê bao đó 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ính năng tự động gia hạn bị tắt, 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ừ gói thuê bao hằng năm sang hằng tháng
Thay đổi từ phiên bản Enterprise sang phiên bản Standard
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Khó hiểu","hardToUnderstand","thumb-down"],["Thông tin hoặc mã mẫu không chính xác","incorrectInformationOrSampleCode","thumb-down"],["Thiếu thông tin/mẫu tôi cần","missingTheInformationSamplesINeed","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-06-11 UTC."],[[["\u003cp\u003eAccess Gemini for Google Cloud admin controls by selecting \u003cstrong\u003eAdmin for Gemini\u003c/strong\u003e in the Google Cloud console navigation menu.\u003c/p\u003e\n"],["\u003cp\u003eManage Gemini Code Assist subscriptions, such as upgrading or downgrading editions, directly through the \u003cstrong\u003eAdmin for Gemini\u003c/strong\u003e page.\u003c/p\u003e\n"],["\u003cp\u003eAdjust the number of licenses within a subscription, with increases taking effect immediately, while decreases are applied at the end of the subscription term.\u003c/p\u003e\n"],["\u003cp\u003eModify the subscription period between monthly or annual billing, with changes to annual subscriptions only taking effect at the end of the term.\u003c/p\u003e\n"],["\u003cp\u003eEnable or disable auto-renewal, which impacts the ability to make other subscription changes and determines whether licenses expire at the end of the subscription term.\u003c/p\u003e\n"]]],[],null,["# Add or change Gemini Code Assist 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 Cloud console\n-------------------------------------------------------------------------\n\nTo access Gemini for Google Cloud admin controls in the\nGoogle Cloud 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 Cloud 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/docs/codeassist/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](/gemini/docs/billing-questions).\n- [Manage your Gemini Code Assist licenses](/gemini/docs/manage-licenses)."]]