Ngăn chặn việc sử dụng giấy phép trên nhiều tổ chức
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ác phương thức giúp ngăn chặn việc sử dụng giấy phép Gemini Code Assist trên một tổ chức và các trường hợp bạn có thể muốn hạn chế việc sử dụng đó.
Theo thiết kế, giấy phép Gemini Code Assist được chỉ định cho từng người dùng, chứ không phải tổ chức hoặc dự án. Thiết kế này cho phép từng người dùng sử dụng tính năng Hỗ trợ mã Gemini trên nhiều tổ chức.
Nhà phát triển làm việc trên các dự án có tài khoản thanh toán khác nhau. Ví dụ: bạn có thể cho phép một nhà phát triển làm việc trên một dự án nhưng hạn chế quyền truy cập vào các dự án khác vì họ có tài khoản thanh toán khác nhau, ngay cả khi họ ở trong cùng một tổ chức.
Nhà phát triển làm việc trên nhiều dự án của nhiều khách hàng. Ví dụ: một nhà phát triển có thể làm việc trên các dự án cho các tổ chức phân phối có các quyền thuê và công cụ khác nhau.
Các phương pháp giúp ngăn chặn việc sử dụng trên nhiều tổ chức
Để ngăn việc sử dụng tính năng Trợ giúp mã Gemini trên nhiều tổ chức trong một dự án, bạn có thể làm theo một trong những cách sau:
[[["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\u003eGemini Code Assist licenses are assigned to individual users, allowing them to use the service across multiple organizations.\u003c/p\u003e\n"],["\u003cp\u003eLarge organizations may need to prevent cross-organization usage of Gemini Code Assist for developers working on projects with different billing accounts or different customers.\u003c/p\u003e\n"],["\u003cp\u003eCross-organization usage of Gemini Code Assist can be prevented by either disabling the Gemini for Google Cloud API on a project or by using Identity and Access Management (IAM) denial policies to deny user access.\u003c/p\u003e\n"]]],[],null,["# Help prevent cross-organization license usage\n\nThis document describes methods to help prevent usage of Gemini Code Assist licenses across an organization, and scenarios where you might want to limit that usage.\n\n\u003cbr /\u003e\n\nBy design, Gemini Code Assist licenses are assigned to individual\nusers, not organizations or projects. This design lets individual users use\nGemini Code Assist across multiple organizations.\n\nHowever, some large organizations, such as global system integrators (GSIs),\nmight want to\n[prevent cross-organization usage](#methods_to_help_prevent_cross-organization_usage).\nFor example:\n\n- **Developers working on projects that have different billing accounts.** For instance, you might let a developer work on one project but limit access to other projects because they have different billing accounts, even if they are in the same organization.\n- **Developers working on multiple projects from different customers.** For instance, a developer might work on projects for delivery organizations that have different tenancies and tools.\n\nMethods to help prevent cross-organization usage\n------------------------------------------------\n\nTo help prevent cross-organization usage of Gemini Code Assist in\na project, you can do one of the following:\n\n- [Disable the Gemini for Google Cloud API on a project](/gemini/docs/turn-off-gemini#companion-api).\n- Use Identity and Access Management (IAM) [denial policies](/iam/docs/deny-overview) to deny user access to the project."]]