Method: projects.locations.dataStores.updateDocumentProcessingConfig

עדכון של DocumentProcessingConfig. ‫DocumentProcessingConfig הוא משאב של כניסה יחידה (SSO) של DataStore. הוא ריק כשיוצרים את DataStore. הקריאה הראשונה ל-method הזו תגדיר את DocumentProcessingConfig.

בקשת HTTP

PATCH https://discoveryengine.googleapis.com/v1alpha/{documentProcessingConfig.name=projects/*/locations/*/dataStores/*/documentProcessingConfig}

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

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

פרמטרים
documentProcessingConfig.name

string

שם המשאב המלא של Document Processing Config (הגדרת עיבוד מסמכים). פורמט: projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig

פרמטרים של שאילתה

פרמטרים
updateMask

string (FieldMask format)

מציין אילו שדות בקובץ DocumentProcessingConfig שסופק צריך לעדכן. אלה השדות היחידים שנתמכים:

  • DocumentProcessingConfig.ocr_config

אם לא מגדירים את האפשרות הזו, כל השדות הנתמכים מתעדכנים.

זוהי רשימה מופרדת בפסיקים של שמות שדות שמוגדרים במלואם. דוגמה: "user.displayName,photo"

גוף הבקשה

גוף הבקשה מכיל מופע של DocumentProcessingConfig.

גוף התשובה

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

היקפי הרשאות

נדרש אחד מהיקפי ההרשאות הבאים של OAuth:

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

ניתן למצוא מידע נוסף כאן: Authentication Overview.

הרשאות IAM

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

  • discoveryengine.documentProcessingConfigs.update

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