Method: projects.locations.collections.dataStores.siteSearchEngine.sitemaps.delete

מחיקת Sitemap.

בקשת HTTP

DELETE https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*}

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

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

פרמטרים
name

string

חובה. שם המשאב המלא של Sitemap, כמו projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/sitemaps/{sitemap}.

אם למתקשר אין הרשאה לגשת אל Sitemap, בין אם הוא קיים ובין אם לא, מוחזרת שגיאת PERMISSION_DENIED.

אם Sitemap המבוקש לא קיים, מוחזרת שגיאת NOT_FOUND.

גוף הבקשה

גוף הבקשה צריך להיות ריק.

גוף התשובה

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

היקפי הרשאות

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

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

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

הרשאות IAM

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

  • discoveryengine.sitemaps.delete

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