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 標準化,並使用 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 透過 Streaming API 擷取的資料,例如 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」未編入索引。