REST Resource: projects.locations.collections.engines.conversations
Stay organized with collections
Save and categorize content based on your preferences.
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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .
|
endTime |
string (Timestamp format)
Output only. The time the conversation finished. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .
|
Methods |
|
Converses a conversation. |
|
Creates a Conversation. |
|
Deletes a Conversation. |
|
Gets a Conversation. |
|
Lists all Conversations by their parent DataStore . |
|
Updates a Conversation. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-03 UTC."],[[["This document defines the \"Conversation\" resource, which represents an external conversation proto definition."],["The Conversation resource includes fields such as `name`, `state`, `userPseudoId`, `messages`, `startTime`, and `endTime`, detailing various aspects of the conversation."],["The JSON representation of a Conversation includes its name, state, user ID, messages, start time, and end time, with specific formatting requirements for the time fields."],["Various methods can be used to manage Conversations, including creating, deleting, getting, listing, patching, and conversing."],["The `name` field contains the fully qualified name, and the `startTime` and `endTime` fields are formatted as a Timestamp string, using RFC 3339 and can use different precision formatting and offsets."]]],[]]