小编Sau*_*ari的帖子

CloudScheduler 403 创建时权限被拒绝

我正在尝试使用以下 API 资源管理器Cron在 Google Cloud Platform 中以编程方式创建作业。CloudScheduler

参考: 云调度器文档

尽管我已授予用户Owner权限并验证了它Policy Troubleshooter,但cloudscheduler.jobs.create我仍然收到以下错误。

{
  "error": {
    "code": 403,
    "message": "The principal (user or service account) lacks IAM permission \"cloudscheduler.jobs.create\" for the resource \"projects/cloud-monitoring-saurav/locations/us-central\" (or the resource may not exist).",
    "status": "PERMISSION_DENIED"
  }
}
Run Code Online (Sandbox Code Playgroud)

google-cloud-platform google-apis-explorer google-cloud-scheduler

9
推荐指数
1
解决办法
3904
查看次数