Bigtable OAuth 範圍
OAuth 範圍會授予 Google Cloud 應用程式 (例如 Compute Engine 和 Dataflow) 存取 Bigtable 資料和管理功能的權限。
如要將 Compute Engine 虛擬機器執行個體等資源連結至 Bigtable,請在建立資源時指定適當的 OAuth 範圍,並啟用 Bigtable 存取權。請選擇最嚴格的範圍,以支援應用程式的需求,因為建立資源後就無法變更範圍。
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。 |