اشتراک های Gemini را اضافه یا تغییر دهید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این سند نحوه دسترسی و استفاده از کنترلهای مدیر Gemini Code Assist را شرح میدهد.
اشتراکهای Gemini Code Assist مشمول شرایط خاص سرویس Google Cloud در رابطه با قیمتگذاری و صورتحساب واحدهای متعهد هستند.
مجوزهای IAM را اعطا کنید
برای دریافت مجوزهای لازم برای افزودن یا ویرایش اشتراکهای Gemini Code Assist، از سرپرست خود بخواهید نقش IAM roles/billing.admin
را در حساب صورتحساب به شما اعطا کند.
همچنین، از سرپرست خود بخواهید نقش roles/consumerprocurement.orderAdmin
و roles/billing.viewer
به شما اعطا کند.
این نقشها شامل مجوزهای لازم برای افزودن یا تغییر اشتراکهای Gemini Code Assist هستند. برای مشاهده مجوزهای دقیق مورد نیاز، بخش مجوزهای مورد نیاز را گسترش دهید.
مجوزهای مورد نیاز
-
consumerprocurement.orders.place
-
billing.billingAccountPrices.list
به کنترلهای مدیریت Gemini برای Google Cloud در Google API Console دسترسی پیدا کنید
برای دسترسی به کنترلهای مدیریت Gemini برای Google Cloud در Google API Console، Admin for Gemini را در منوی پیمایش انتخاب کنید.
به Admin for Gemini بروید
یک حساب صورتحساب انتخاب کنید
برای ویرایش یا خرید اشتراک Gemini Code Assist، باید یک حساب صورتحساب انتخاب کنید. اشتراک Gemini Code Assist شما به یک حساب صورتحساب مرتبط است و میتواند با هر پروژهای استفاده شود. در هر حساب صورتحساب فقط میتوانید یک اشتراک Gemini Code Assist داشته باشید.
فهرست زیر راههای ممکن برای انتخاب حساب صورتحساب را نشان میدهد:
اشتراک ها را با دسترسی به پروژه مدیریت کنید .
اگر هنوز اشتراک ندارید، برای خرید، روی Get Gemini Code Assist کلیک کنید. توجه داشته باشید که ابتدا باید یک حساب صورتحساب ایجاد کنید .
اگر قبلاً اشتراکی دارید اما با این حساب صورتحساب مرتبط نیست، روی مدیریت اشتراکها کلیک کنید و سپس یک حساب صورتحساب دیگری را انتخاب کنید که میخواهید اشتراک را مدیریت کنید.
اگر از قبل اشتراکی مرتبط با حساب صورتحساب فعلی خود دارید، روی Manage Code Gemini Assist کلیک کنید تا به صفحه تنظیمات بروید. سپس، روی Manage Subscriptions کلیک کنید تا اشتراک های موجود را انتخاب و مدیریت کنید.
اشتراک ها را بدون دسترسی به پروژه مدیریت کنید . اگر اجازه مدیریت اشتراکها را دارید، محصولی را که میخواهید ویرایش یا خریداری کنید انتخاب کنید. سپس، مدیریت اشتراک را انتخاب کنید و یک حساب صورتحساب را انتخاب کنید.
اشتراک های پروژه ها را در یک پوشه مدیریت کنید . اگر از یک پوشه شروع میکنید، باید قبل از خرید اشتراک، یک حساب صورتحساب را انتخاب کنید، زیرا حسابهای صورتحساب نمیتوانند مستقیماً با یک پوشه مرتبط شوند.
اشتراک Gemini Code Assist را ویرایش کنید
در Google API Console، به صفحه Admin for Gemini بروید.
به Admin for Gemini بروید
صفحه Admin for Gemini بارگیری می شود.
از انتخابگر پروژه در بالای صفحه استفاده کنید تا اطمینان حاصل کنید که به پروژه یا پوشهای که اشتراک Gemini Code Assist موجود دارد، قرار دارید.
کاشی محصول Gemini Code Assist را پیدا کنید و سپس روی Manage Gemini Code Assist کلیک کنید.
مدیریت اشتراک را انتخاب کنید.
صفحه مدیریت اشتراک ظاهر می شود.
برای ویرایش اشتراک، مدیریت اشتراک را انتخاب کنید، از جمله:
مدیریت نسخه - اگر اشتراک Gemini Code Assist خود را ویرایش میکنید، میتوانید از نسخه استاندارد به نسخه Enterprise ارتقا دهید که بلافاصله اعمال میشود. همچنین، میتوانید از نسخه Enterprise به نسخه استاندارد تنزل دهید، که در پایان دوره اشتراک فعلی اعمال میشود. برای مشاهده لیستی از ویژگی های موجود در هر نسخه، به ویژگی های پشتیبانی شده مراجعه کنید.
افزایش یا کاهش تعداد مجوزها در اشتراک - افزودن مجوزها آنها را تقریباً بلافاصله در دسترس شما قرار می دهد. با این حال، اگر تعداد مجوزها را کاهش دهید، تغییرات تا پایان دوره اشتراک اعمال نخواهد شد. علاوه بر این، تا زمانی که تغییرات اعمال شود، تعداد مجوز اصلی همچنان در صورتحساب شما منعکس میشود.
تغییر دوره اشتراک - می توانید اشتراک را به صورت ماهانه یا سالانه تنظیم کنید. با اشتراک سالانه، نرخ تخفیفی به شما داده می شود که به جای پرداخت یک بار، به صورت ماهانه شارژ می شود. اگر از اشتراک سالانه به اشتراک ماهانه تغییر دهید، این تغییر تا پایان دوره سالانه اعمال نخواهد شد. علاوه بر این، نمی توانید دوره اشتراک را تغییر دهید مگر اینکه تمدید خودکار اشتراک را فعال کرده باشید.
فعال یا غیرفعال کردن تمدید خودکار - اگر تمدید خودکار را غیرفعال کنید، اشتراک در پایان مدت اشتراک منقضی میشود و همه مجوزهای موجود در اشتراک نامعتبر میشوند. پس از انقضای اشتراک، نمی توانید دوباره آن را فعال کنید. در عوض، برای تخصیص مجدد آن مجوزها، باید یک اشتراک جدید خریداری کنید. علاوه بر این، اگر تمدید خودکار غیرفعال باشد، نمیتوانید تغییرات زیر را اعمال کنید:
- کاهش تعداد مجوزها
- تغییر از دوره اشتراک سالانه به ماهانه
- از نسخه Enterprise به نسخه استاندارد تغییر دهید
Continue را انتخاب کنید و سپس تأیید تغییرات را انتخاب کنید.
بعدش چی
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-30 بهوقت ساعت هماهنگ جهانی."],[[["\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)."]]