Di Google Cloud toolbar konsol, pilih organisasi atau
project Anda dari daftar.
Untuk melihat izin peran, pilih kotak centang untuk satu atau beberapa peran.
Panel yang berdekatan menampilkan izin apa pun yang terdapat dalam peran.
Ikon di kolom Type menunjukkan apakah itu merupakan peran khusus
(ikon "pabrik") atau peran yang telah ditetapkan
(ikon heksagon).
Jika Anda ingin menemukan semua peran yang menyertakan izin tertentu,
ketik nama izin di kolom Filter di awal
daftar Roles.
Tambahkan izin baru. Sebelum 1 Februari 2026, tambahkan izin baru berikut ke peran kustom Anda:
cloudaicompanion.instances.completeCode
cloudaicompanion.instances.completeTask
cloudaicompanion.instances.generateCode
cloudaicompanion.instances.generateText
Mempertahankan izin lama. Hingga 1 Februari 2026, pertahankan izin
berikut di peran kustom Anda:
cloudaicompanion.companions.generateChat
cloudaicompanion.companions.generateCode
Setelah 1 Februari 2026, Anda dapat menghapus izin lama dari peran kustom dengan aman.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eThe IAM permissions \u003ccode\u003ecloudaicompanion.companions.generateChat\u003c/code\u003e and \u003ccode\u003ecloudaicompanion.companions.generateCode\u003c/code\u003e will be deprecated on February 1, 2026.\u003c/p\u003e\n"],["\u003cp\u003eYou should identify any custom IAM roles that control access to the Gemini for Google Cloud API by navigating to the Roles page in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eBefore February 1, 2026, you need to add the new permissions \u003ccode\u003ecloudaicompanion.instances.completeCode\u003c/code\u003e, \u003ccode\u003ecloudaicompanion.instances.completeTask\u003c/code\u003e, \u003ccode\u003ecloudaicompanion.instances.generateCode\u003c/code\u003e, and \u003ccode\u003ecloudaicompanion.instances.generateText\u003c/code\u003e to your custom roles.\u003c/p\u003e\n"],["\u003cp\u003eUntil February 1, 2026, retain the old permissions \u003ccode\u003ecloudaicompanion.companions.generateChat\u003c/code\u003e and \u003ccode\u003ecloudaicompanion.companions.generateCode\u003c/code\u003e in your custom roles.\u003c/p\u003e\n"]]],[],null,["# Deprecated IAM permissions\n\nThe following Identity and Access Management (IAM) permissions will be deprecated February\n1, 2026:\n\n- `cloudaicompanion.companions.generateChat`\n- `cloudaicompanion.companions.generateCode`\n\nTo prepare for this change, take the following steps:\n\n1. Identify any custom IAM roles that you have that control\n access to the Gemini for Google Cloud API:\n\n 1. In the Google Cloud console, go to the **Roles** page.\n\n [Go to Roles](https://console.cloud.google.com/iam-admin/roles)\n 2. In the Google Cloud console toolbar, select your organization or\n project from the list.\n\n 3. To view role permissions, select the checkbox for one or more roles.\n An adjacent pane displays any permissions contained in the roles.\n\n The icons in the **Type** column indicate if it's a custom role\n (\"factory\" icon) or a predefined role\n (hexagon icon).\n\n If you want to find all the roles that include a specific permission,\n type the permission name in the **Filter** field at the beginning of the\n **Roles** list.\n2. Add new permissions. Before February 1, 2026, add the following new\n permissions to your custom roles:\n\n - `cloudaicompanion.instances.completeCode`\n - `cloudaicompanion.instances.completeTask`\n - `cloudaicompanion.instances.generateCode`\n - `cloudaicompanion.instances.generateText`\n3. Retain old permissions. Until February 1, 2026, keep the following\n permissions in your custom roles:\n\n - `cloudaicompanion.companions.generateChat`\n - `cloudaicompanion.companions.generateCode`\n\nAfter February 1, 2026, you can safely remove the old permissions from your\ncustom roles.\n\nFor more information about updating custom roles, see\n[Create and manage custom roles](/iam/docs/creating-custom-roles)."]]