Method: projects.locations.dataPolicies.testIamPermissions
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定したデータ ポリシー リソースに対する呼び出し元の権限を返します。
HTTP リクエスト
POST https://bigquerydatapolicy.googleapis.com/v1/{resource=projects/*/locations/*/dataPolicies/*}:testIamPermissions
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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
詳細については、認証の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-17 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]