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 streaming.

MatcherValue

הערך של ההתאמה ששימש להתאמת Document.

ייצוג JSON
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "uri": string,
  "fhirResource": string
  // End of mutually exclusive fields.
}
שדות
הערך של ההתאמה ששימש להתאמת Document. בהמשך מפורטת רשימה של שדות שאי אפשר להשתמש בהם בו-זמנית. רק אחד מהשדות הבאים יוגדר בתשובה:
uri

string

אם התאמה לפי URI, ה-URI של Document.

fhirResource

string

פורמט: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhirStore}/fhir/{resourceType}/{fhir_resource_id}

סוף השדות הבלעדיים.

מדינה

המצב של Document.

טיפוסים בני מנייה (enum)
STATE_UNSPECIFIED אסור להגדיר את הערך הזה.
INDEXED ה-Document נוסף לאינדקס.
NOT_IN_TARGET_SITE ה-Document לא נוסף לאינדקס כי ה-URI שלו לא נמצא ב-TargetSite.
NOT_IN_INDEX ה-Document לא נוסף לאינדקס.