我正在尝试从Google Cloud SDK Shell将文件复制到我的google计算引擎实例,但我不能,因为以下错误消息:无法获取实例:-Access Not Configured . Compute Engine API之前未在项目xyz中使用过,或者已被禁用 . 通过访问[https://console.developers.google.com/apis/api/compute_component/overview?project=][1]]启用它

[1]:https://console.developers.google.com/apis/api/compute_component/overview?project=然后重试 . 如果您最近启用了此API,请等待几分钟,以便将操作传播到我们的系统并重试

我做了我能想到的一切 . 我设置了计算引擎api的凭据,我已将GOOGLE_APPLICATION_CREDENTIALS环境变量设置为下载的json,类似于此,但填写:

{“type”:“service_account”,“project_id”:“”,“private_key_id”:“”,“private_key”:“”,“client_email”:“”,“client_id”:“”,“auth_uri”:“” ,“token_uri”:“”,“auth_provider_x509_cert_url”:“”,“client_x509_cert_url”:“”}

我该怎么办?谢谢大家 .