Method: projects.locations.autoLabelingRules.test

会話に対して自動ラベル付けルールをテストします。

HTTP リクエスト

POST https://{endpoint}/v1/{parent=projects/*/locations/*}/autoLabelingRules:test

ここで、{endpoint} はサポートされているサービス エンドポイントのいずれかです。

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
parent

string

必須。親プロジェクトとロケーション。形式: projects/{project}/locations/{location}

リクエストの本文

リクエストの本文には、次の構造のデータが含まれます。

JSON 表現
{
  "conversation": {
    object (Conversation)
  },
  "autoLabelingRule": {
    object (AutoLabelingRule)
  }
}
フィールド
conversation

object (Conversation)

必須。ルールをテストする会話データ。

autoLabelingRule

object (AutoLabelingRule)

必須。テストする自動ラベル付けルール。

レスポンスの本文

自動ラベル付けルールのテスト用のレスポンス メッセージ。

成功した場合、レスポンスの本文には次の構造のデータが含まれます。

JSON 表現
{
  "labelResult": string
}
フィールド
labelResult

string

テスト自動ラベル付けルールの結果。

認可スコープ

次の OAuth スコープが必要です。

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

詳細については、Authentication Overview をご覧ください。