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)

Conversation の状態。

userPseudoId

string

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

messages[]

object (ConversationMessage)

Conversation メッセージ。

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

Conversation を変換します。

create

Conversation を作成します。

delete

Conversation を削除します。

get

Conversation を取得します。

list

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

patch

Conversation を更新します。