BatchGetDocumentsMetadataResponse

DocumentService.BatchGetDocumentsMetadata 方法的响应消息。

JSON 表示法
{
  "documentsMetadata": [
    {
      object (DocumentMetadata)
    }
  ]
}
字段
documentsMetadata[]

object (DocumentMetadata)

Document 的元数据。

DocumentMetadata

Document 的元数据。

JSON 表示法
{
  "matcherValue": {
    object (MatcherValue)
  },
  "state": enum (State),
  "lastRefreshedTime": string,
  "dataIngestionSource": string
}
字段
matcherValue

object (MatcherValue)

用于匹配 Document 的匹配器的值。

state

enum (State)

相应文档的状态。

lastRefreshedTime

string (Timestamp format)

Document上次编入索引时的时间戳。

采用 RFC 3339 标准,生成的输出将始终进行 Z 规范化(即转换为 UTC 零时区格式并在末尾附加 Z),并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

dataIngestionSource

string

Document 的数据注入源。

允许的值为:

  • batch:通过 Batch API 提取的数据,例如 ImportDocuments。
  • 通过 Streaming API 提取的 streaming 数据,例如FHIR 流式传输。

MatcherValue

用于匹配 Document 的匹配器的值。

JSON 表示法
{

  // Union field matcher_value can be only one of the following:
  "uri": string,
  "fhirResource": string
  // End of list of possible types for union field matcher_value.
}
字段
联合字段 matcher_value。用于匹配 Document 的匹配器的值。matcher_value 只能是下列其中一项:
uri

string

如果按 URI 匹配,则为 Document 的 URI。

fhirResource

string

格式:projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhirStore}/fhir/{resourceType}/{fhir_resource_id}

Document 的状态。

枚举
STATE_UNSPECIFIED 切勿设置。
INDEXED Document 已编入索引。
NOT_IN_TARGET_SITE 由于 Document 的 URI 不在 TargetSite 中,因此系统不会为其编制索引。
NOT_IN_INDEX Document”未编入索引。