REST Resource: projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs

リソース: TaskPushNotificationConfig

JSON 表現
{
  "name": string,
  "pushNotificationConfig": {
    object (PushNotificationConfig)
  }
}
フィールド
name

string

構成のリソース名。形式: tasks/{taskId}/pushNotificationConfigs/{configId}

pushNotificationConfig

object (PushNotificationConfig)

プッシュ通知の構成の詳細。

PushNotificationConfig

タスクの更新に関するプッシュ通知を設定するための構成。

JSON 表現
{
  "id": string,
  "url": string,
  "token": string,
  "authentication": {
    object (AuthenticationInfo)
  }
}
フィールド
id

string

このプッシュ通知の一意の識別子(UUID など)。

url

string

通知を送信する URL

token

string

このタスク/セッションに固有のトークン

authentication

object (AuthenticationInfo)

通知とともに送信される認証に関する情報

AuthenticationInfo

プッシュ通知に使用される認証の詳細を定義します。

JSON 表現
{
  "schemes": [
    string
  ],
  "credentials": string
}
フィールド
schemes[]

string

サポートされる認証スキーム - Basic、Bearer など

credentials

string

省略可能な認証情報

メソッド

create

タスクのプッシュ通知構成を設定します。

delete

タスクのプッシュ通知構成を削除します。

get

タスクのプッシュ通知構成を取得します。

list

タスクに構成されているプッシュ通知のリストを取得します。