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, and messages."],["Conversations are identified by a fully qualified name, following a specific pattern involving projects, locations, collections, and data stores or engines."],["Each conversation has a start and end time, both formatted according to RFC 3339 standards and represented as strings."],["The provided methods allow for actions such as creating, deleting, getting, listing, updating, and conversing a conversation."],["A unique identifier called `userPseudoId` is used to track users within the context of conversations."]]],[]]