Method: projects.locations.collections.engines.get

הפונקציה מחזירה Engine.

בקשת HTTP

GET https://discoveryengine.googleapis.com/v1/{name=projects/*/locations/*/collections/*/engines/*}

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

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

פרמטרים
name

string

חובה. שם המשאב המלא של Engine, כמו projects/{project}/locations/{location}/collections/{collectionId}/engines/{engineId}.

גוף הבקשה

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

גוף התשובה

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

היקפי הרשאות

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

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

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

הרשאות IAM

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

  • discoveryengine.engines.get

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