Method: projects.catalogs.namespaces.tables.testIamPermissions

測試指定資料表的 IAM 權限。

HTTP 要求

POST https://biglake.googleapis.com/v1/{resource=projects/*/catalogs/*/namespaces/*/tables/*}:testIamPermissions

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
resource

string

必要:要求政策詳細資訊的資源。如要瞭解這個欄位的適當值,請參閱資源名稱

要求主體

要求主體包含下列結構的資料:

JSON 表示法
{
  "permissions": [
    string
  ]
}
欄位
permissions[]

string

針對 resource 要檢查的權限組合。不允許使用萬用字元 (例如 *storage.*)。詳情請參閱 IAM 總覽

回應主體

如果成功,回應主體會包含 TestIamPermissionsResponse 的執行個體。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview