Method: projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs.create

הגדרת תצורת התראות Push למשימה.

בקשת HTTP


POST https://discoveryengine.googleapis.com/v1/{tenant=projects/*/locations/*/collections/*/engines/*/assistants/*/agents/*}/a2a/v1/{parent=tasks/*/pushNotificationConfigs}

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

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

פרמטרים
tenant

string

דייר אופציונלי, שמועבר כפרמטר של נתיב. גרסה ניסיונית, יכול להיות שעדיין ישתנו דברים עד לגרסה 1.0.

parent

string

חובה. מקור המידע של משימת ההורה להגדרה הזו. פורמט: tasks/{taskId}

פרמטרים של שאילתה

פרמטרים
configId

string

חובה. המזהה של ההגדרה החדשה.

גוף הבקשה

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

גוף התשובה

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

היקפי הרשאות

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