REST Resource: projects.locations.collections.engines.conversations

リソース: Conversation

外部会話の proto 定義。

JSON 表現
{
  "name": string,
  "state": enum (State),
  "userPseudoId": string,
  "messages": [
    {
      object (ConversationMessage)
    }
  ],
  "startTime": string,
  "endTime": string
}
フィールド
name

string

変更不可。完全修飾名 projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/* または projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*

state

enum (State)

会話の状態。

userPseudoId

string

ユーザーをトラッキングするための一意の識別子。

messages[]

object (ConversationMessage)

会話メッセージ。

startTime

string (Timestamp format)

出力専用。会話が開始された時刻。

RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

endTime

string (Timestamp format)

出力専用。会話が終了した時刻。

RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

メソッド

converse

会話を変換します。

create

会話を作成します。

delete

会話を削除します。

get

会話を取得します。

list

DataStore ごとにすべての会話を一覧表示します。

patch

会話を更新します。