REST Resource: projects.locations.dataStores.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 resource defines the structure and properties of a Conversation, including its name, state, user identifier, messages, start time, and end time."],["The Conversation data is represented in JSON format, outlining the fields and their corresponding data types, such as strings, enums, and objects."],["Each conversation has a unique name, following a specific format that includes project, location, collection, and data store or engine identifiers."],["There are methods to manage conversations, such as creating, deleting, getting, listing, patching, and conversing, accessible via specific endpoints."],["The `startTime` and `endTime` fields use the Timestamp format, complying with RFC 3339 and accepting Z-normalized time or offsets."]]],[]]