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

為工作設定推播通知。

HTTP 要求

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

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
tenant

string

選用租戶,以路徑參數形式提供。實驗性質,1.0 版發布時可能仍會變更。

parent

string

這是必要旗標,這項設定的父項工作資源。格式:tasks/{taskId}

查詢參數

參數
configId

string

這是必要旗標,新設定的 ID。

要求主體

要求主體包含 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