Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 如何提供对Google SQL数据库的Google构建触发器访问?_Google Cloud Platform_Google Cloud Sql_Google Cloud Build - Fatal编程技术网

Google cloud platform 如何提供对Google SQL数据库的Google构建触发器访问?

Google cloud platform 如何提供对Google SQL数据库的Google构建触发器访问?,google-cloud-platform,google-cloud-sql,google-cloud-build,Google Cloud Platform,Google Cloud Sql,Google Cloud Build,有没有一种方法可以授予对Google SQL DB的Google构建触发器的访问权限?我想根据迁移文件的更新来迁移数据库。因此,当更新我的主分支时,ci构建触发器将更新数据库。检查链接到您的Google构建的服务帐户,编辑它并添加您需要的角色,以便授予对Google Cloud SQL的访问权限(对于编辑和更新,可能建议:Cloud SQL Editor)

有没有一种方法可以授予对Google SQL DB的Google构建触发器的访问权限?我想根据迁移文件的更新来迁移数据库。因此,当更新我的主分支时,ci构建触发器将更新数据库。

检查链接到您的Google构建的服务帐户,编辑它并添加您需要的角色,以便授予对Google Cloud SQL的访问权限(对于编辑和更新,可能建议:
Cloud SQL Editor