Method: projects.locations.identityMappingStores.importIdentityMappings

מייבא רשימה של רשומות מיפוי זהויות למאגר מיפוי הזהויות.

בקשת HTTP

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

כתובת ה-URL כתובה בתחביר של gRPC Transcoding.

פרמטרים של נתיב

פרמטרים
identityMappingStore

string

חובה. השם של מאגר מיפוי הזהויות שאליו רוצים לייבא את רשומות מיפוי הזהויות. פורמט: projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}

גוף הבקשה

גוף הבקשה מכיל נתונים במבנה הבא:

ייצוג JSON
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "inlineSource": {
    object (InlineSource)
  }
  // End of mutually exclusive fields.
}
שדות
המקור של הקלט. בהמשך מפורטת רשימה של שדות שאי אפשר להשתמש בהם בו-זמנית. רק אחד מהשדות הבאים יוגדר בתשובה:
inlineSource

object (InlineSource)

המקור המוטבע שממנו מייבאים את הרשומות של מיפוי הזהויות.

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

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Operation.

היקפי הרשאות

נדרש אחד מהיקפי ההרשאות הבאים של 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

נדרשת הרשאת IAM הבאה במשאב identityMappingStore:

  • discoveryengine.identityMappingStores.importIdentityMappings

מידע נוסף מופיע במאמרי העזרה בנושא IAM.

InlineSource

המקור המוטבע שממנו מייבאים את הרשומות של מיפוי הזהויות.

ייצוג JSON
{
  "identityMappingEntries": [
    {
      object (IdentityMappingEntry)
    }
  ]
}
שדות
identityMappingEntries[]

object (IdentityMappingEntry)

ניתן לייבא עד 10000 רשומות בו זמנית