Method: projects.locations.collections.engines.servingConfigs.get

מקבל ServingConfig.

הפונקציה מחזירה שגיאת NotFound אם ServingConfig לא קיים.

בקשת HTTP


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

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

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

פרמטרים
name

string

חובה. שם המשאב של ServingConfig שאותו רוצים לאחזר. פורמט: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{servingConfigId}

גוף הבקשה

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

גוף התשובה

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

היקפי הרשאות

נדרש אחד מהיקפי ההרשאות הבאים של 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.servingConfigs.get

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