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

Resource: Conversation

External conversation proto definition.

JSON representation
{
  "name": string,
  "state": enum (State),
  "userPseudoId": string,
  "messages": [
    {
      object (ConversationMessage)
    }
  ],
  "startTime": string,
  "endTime": string
}
Fields
name

string

Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/* or projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*.

state

enum (State)

The state of the Conversation.

userPseudoId

string

A unique identifier for tracking users.

messages[]

object (ConversationMessage)

Conversation messages.

startTime

string (Timestamp format)

Output only. The time the conversation started.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

Output only. The time the conversation finished.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

converse

Converses a conversation.

create

Creates a Conversation.

delete

Deletes a Conversation.

get

Gets a Conversation.

list

Lists all Conversations by their parent DataStore.

patch

Updates a Conversation.