Method: projects.locations.collections.dataStores.siteSearchEngine.targetSites.patch

עדכון של TargetSite.

בקשת HTTP


PATCH https://discoveryengine.googleapis.com/v1alpha/{targetSite.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}

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

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

פרמטרים
targetSite.name

string

פלט בלבד. שם המשאב שמוגדר במלואו של אתר היעד. projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/targetSites/{targetSite} ה-target_site_id נוצר על ידי המערכת.

גוף הבקשה

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

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של 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 הבאה במשאב name:

  • discoveryengine.targetSites.update

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