Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用 IAM 控管存取權
Cloud Profiler 可利用Identity and Access Management (IAM) 角色和權限,控管 Google Cloud 專案中的剖析活動存取權。
總覽
如要針對 Google Cloud 專案使用 Cloud Profiler,您必須具備該專案的適當 IAM 權限。
權限不會直接授予使用者;而是會透過角色間接授予權限,如此可將多個權限分組,使權限管理起來更加容易。如要進一步瞭解這些概念,請參閱有關角色、權限與相關概念的 IAM 說明文件。
權限與角色
本節概述適用於 Profiler 的權限和角色。
權限
下表列出剖析活動需要的權限:
| 活動 |
所需權限 |
| 建立個人資料 |
cloudprofiler.profiles.create |
| 列出設定檔 |
cloudprofiler.profiles.list |
| 修改設定檔 |
cloudprofiler.profiles.update |
角色
身分與存取權管理角色包含權限,可以指派給使用者、群組和服務帳戶。下表列出 Profiler 的角色:
| Role |
Permissions |
Cloud Profiler Admin
(roles/cloudprofiler.admin)
Admin role for Cloud Profiler
|
cloudprofiler.*
cloudprofiler.profiles.create
cloudprofiler.profiles.list
cloudprofiler.profiles.update
resourcemanager.projects.get
resourcemanager.projects.list
|
Cloud Profiler Viewer
(roles/cloudprofiler.viewer)
Viewer role for Cloud Profiler
|
cloudprofiler.profiles.list
resourcemanager.projects.get
resourcemanager.projects.list
|
Cloud Profiler Agent
(roles/cloudprofiler.agent)
Cloud Profiler agents are allowed to register and provide the profiling data.
|
cloudprofiler.profiles.create
cloudprofiler.profiles.update
|
Cloud Profiler User
(roles/cloudprofiler.user)
Cloud Profiler users are allowed to query and view the profiling data.
|
cloudprofiler.profiles.list
resourcemanager.projects.get
resourcemanager.projects.list
serviceusage.consumerpolicy.analyze
serviceusage.consumerpolicy.get
serviceusage.effectivepolicy.get
serviceusage.groups.*
serviceusage.groups.list
serviceusage.groups.listExpandedMembers
serviceusage.groups.listMembers
serviceusage.quotas.get
serviceusage.services.get
serviceusage.services.list
serviceusage.values.test
|
如要瞭解如何將身分與存取權管理角色指派給使用者或服務帳戶,請參閱「管理政策」一文。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-15 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-05-15 (世界標準時間)。"],[],[]]