Bigtable OAuth 范围
本页面列出了可让其他 Google Cloud 资源连接到 Bigtable 的 OAuth 范围。
但是,某些 Google Cloud 产品(例如 Compute Engine 和 Dataflow)可以通过指定 OAuth 范围来连接到 Bigtable。为了实现此目的,您需要在创建 Compute Engine 虚拟机实例等资源时指定适当的 OAuth 范围。创建资源时,请务必启用对 Bigtable 的访问权限。
为 Google Cloud 产品设置资源时,请选择最具限制性的范围,以支持您的应用的要求。创建资源后,您将无法更改范围。
Bigtable 支持以下范围:
| gcloud的范围 URI | 说明 | 
|---|---|
| https://www.googleapis.com/auth/bigtable.admin | bigtable.admin.instance和bigtable.admin.table的别名。 | 
| https://www.googleapis.com/auth/bigtable.admin.instance | 允许创建和管理 Bigtable 实例及集群。 | 
| https://www.googleapis.com/auth/bigtable.admin.table | 允许创建和管理 Bigtable 表及其列族。 | 
| https://www.googleapis.com/auth/bigtable.data | 允许对 Bigtable 表中存储的数据进行读写访问。 | 
| https://www.googleapis.com/auth/bigtable.data.readonly | 允许对 Bigtable 表中存储的数据进行只读访问。 | 
| https://www.googleapis.com/auth/cloud-bigtable.data | 允许对 Bigtable 表中存储的数据进行读写访问。 | 
| https://www.googleapis.com/auth/cloud-bigtable.data.readonly | 允许对 Bigtable 表中存储的数据进行只读访问。 | 
| https://www.googleapis.com/auth/cloud-platform | 允许对所有 Google Cloud 产品(包括 Bigtable)进行全面访问。 | 
| https://www.googleapis.com/auth/cloud-platform.readonly | 允许对所有 Google Cloud 产品(包括 Bigtable)进行只读访问。 |