Method: projects.locations.collections.dataStores.delete

מחיקת DataStore.

בקשת HTTP


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

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

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

פרמטרים
name

string

חובה. שם המשאב המלא של DataStore, למשל projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}.

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

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

גוף הבקשה

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

גוף התשובה

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

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