bigQuery Google Cloud如何与其他用户共享数据集? [英] bigQuery Google Cloud how to share dataset with other users?

查看:131
本文介绍了bigQuery Google Cloud如何与其他用户共享数据集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用userA帐户在Google Cloud中定义的bigQuery数据集,并且我希望属于同一组的同事userB能够查看我定义的数据集.使用bq命令行界面,userB可以看到项目,但不能看到数据集.如何与userB共享userA创建的数据集?

I have a bigQuery dataset defined in Google Cloud with my userA account, and I want my colleague userB, who is a member of the same group, to be able to see the dataset that I have defined. Using the bq command-line interface, userB can see the project, but not the dataset. How can I share the dataset created by userA with userB?

推荐答案

BigQuery的Web UI ,在数据集名称的右侧有一个下拉菜单.在这里,您可以选择Share Dataset:

On the Web UI of BigQuery, there is a dropdown menu to the right of the dataset's name. There, you can choose Share Dataset:

在弹出窗口中,您可以添加Google网上论坛,个人用户,甚至服务帐户.您将在此处分配的权限是 Primitive 角色.如 BigQuery网络用户界面文档所述:

On the popup window, you'll be able to add Google Groups, Individual Users, or even Service Accounts. The permissions you'll be able to assign here are Primitive roles. As explained in the BigQuery Web UI documentation:

可以查看" (READER)授予bigquery.dataViewer对数据集的访问权限.

"Can view" (READER) grants bigquery.dataViewer access to the dataset.

可以编辑" (WRITER)授予bigquery.dataEditor对数据集的访问权限.

"Can edit" (WRITER) grants bigquery.dataEditor access to the dataset.

是所有者" (OWNER)授予bigquery.dataOwner对数据集的访问权限.

"Is owner" (OWNER) grants bigquery.dataOwner access to the dataset.

如果您想了解有关BigQuery权限的更多信息,请您可以检查此链接,其中列出了所有当前可用的权限.

If you want to know more about BigQuery permissions, you can check this link, it lists all currently available permissions.

请注意,您也可以通过bq 或直接通过 RESTful API

Note that you can also do this via bq or directly via the RESTful API.

这篇关于bigQuery Google Cloud如何与其他用户共享数据集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆