Method: projects.locations.dataPolicies.rename
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定されたデータポリシーの ID(表示名)の名前を変更します。
HTTP リクエスト
POST https://bigquerydatapolicy.googleapis.com/v1/{name=projects/*/locations/*/dataPolicies/*}:rename
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。名前を変更するデータポリシーのリソース名。形式は projects/{projectNumber}/locations/{locationId}/dataPolicies/{dataPolicyId} です。
|
リクエストの本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"newDataPolicyId": string
} |
フィールド |
newDataPolicyId |
string
必須。新しいデータポリシー ID。
|
レスポンスの本文
成功した場合、レスポンスの本文には DataPolicy
のインスタンスが含まれます。
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
詳細については、認証の概要をご覧ください。
IAM 権限
name
リソースに対する次の IAM 権限が必要です。
bigquery.dataPolicies.update
詳細については、IAM のドキュメントをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-16 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":"その他"
}]