我有bootbox.confirm({
message: "This is a confirm with custom button text and color! Do you like it?",
buttons: {
confirm: {
label: 'Yes',
className: 'btn-success'
},
cancel: {
label: 'No',
className: 'btn-danger'
}
},
callback: function (result) {
console.log('This was logged in the callback: ' + result);
}
});
,并且在浏览器控制台中将用户设置为:
gcloud auth login
Editor
Service Account Admin
Owner
显示用户为活动状态。
现在为什么在致电时出现以下错误:
cloud auth list
如果我愿意(由@Yurci建议)gcloud services enable cloudapis.googleapis.com
ERROR: (gcloud.services.enable) User [email@mydomain.com] does not have permission to access service [cloudapis.googleapis.com:enable] (or it may not exist): Project '<project-name>' not found or permission denied.
:
gcloud services enable cloudapis.googleapis.com --verbosity=debug --log-http