问题排查

权限遭拒

确保您在项目中拥有必要的 Identity and Access Management (IAM) 权限。API Keys Admin 角色 (roles/serviceusage.apiKeysAdmin) 包含调用 API Keys API 中所有方法的权限。