Method: projects.locations.identityMappingStores.importIdentityMappings

将身份映射条目列表导入到身份映射存储区。

HTTP 请求

POST https://discoveryengine.googleapis.com/v1/{identityMappingStore=projects/*/locations/*/identityMappingStores/*}:importIdentityMappings

网址采用 gRPC 转码语法。

路径参数

参数
identityMappingStore

string

必需。要将身份映射条目导入到的身份映射存储区的名称。格式:projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{

  // Union field source can be only one of the following:
  "inlineSource": {
    object (InlineSource)
  }
  // End of list of possible types for union field source.
}
字段
联合字段 source。输入的来源。source 只能是下列其中一项:
inlineSource

object (InlineSource)

用于导入身份映射条目的内嵌来源。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围之一:

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

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 identityMappingStore 资源的以下 IAM 权限:

  • discoveryengine.identityMappingStores.importIdentityMappings

如需了解详情,请参阅 IAM 文档

InlineSource

用于导入身份映射条目的内嵌来源。

JSON 表示法
{
  "identityMappingEntries": [
    {
      object (IdentityMappingEntry)
    }
  ]
}
字段
identityMappingEntries[]

object (IdentityMappingEntry)

一次最多可导入 10,000 个条目