Method: projects.locations.identityMappingStores.create

建立新的身分對應儲存空間。

HTTP 要求

POST https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*}/identityMappingStores

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

路徑參數

參數
parent

string

這是必要旗標,父項集合資源名稱,例如 projects/{project}/locations/{location}

查詢參數

參數
identityMappingStoreId

string

這是必要旗標,要建立的 ID 對應儲存區 ID。

ID 只能包含英文字母 (a-z、A-Z)、數字 (0-9)、底線 (_) 和連字號 (-),長度上限為 63 個字元。

身分對應儲存區的 CMEK 選項。如果專案已設定預設 CmekConfig,設定這個欄位會覆寫該設定。以下列出互斥的欄位。回應中最多只會設定一個欄位:
cmekConfigName

string

用於保護這個身分對應儲存庫的 CmekConfig 資源名稱。

disableCmek

boolean

沒有 CMEK 保護機制的識別資訊對應檔儲存庫。如果專案已設定預設 CmekConfig,設定這個欄位也會覆寫預設 CmekConfig。

互斥欄位的結尾。

要求主體

要求主體包含 IdentityMappingStore 的執行個體。

回應主體

如果成功,回應主體會包含新建立的 IdentityMappingStore 執行個體。

授權範圍

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

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite
  • https://www.googleapis.com/auth/discoveryengine.serving.readwrite

詳情請參閱Authentication Overview

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • discoveryengine.identityMappingStores.create

詳情請參閱 IAM 說明文件