我想要得到的IAM策略使用谷歌云API未知名“body_resource”
https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy
当我输入用户ID进入资源领域,虽然,我得到一个用户
{ “错误”:{ “code”:400, “message”:“收到无效的JSON有效内容。未知名称\”body_resource \“:无法找到字段。”, “status”:“INVALID_ARGUMENT”, “details”:[ { “@type”:“type.googleapis.com/google.rpc.BadRequest”, “fieldViolations”:[ { “description”:“收到无效的JSON有效内容。未知的名称\“body_resource \”:找不到场” } ] } ] } }
我应该把请求体中得到什么IAM政策,此用户还是?错误错误,用户就是没有这样的资源政策
编辑:要清楚,我得到这个错误无论怎样我把在资源领域
尝试api资源管理器:https://developers.google.com/apis-explorer/#search/policy/m/cloudresourcemanager/v1/cloudresourcemanager.projects.getIamPolicy我得到了同样的错误,我认为它在时刻 –
回答这个问题,我可以接受吗? –