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 resource defines the structure and details of a Conversation, including its name, state, user identifier, messages, and start/end times."],["Conversations are uniquely identified by their fully qualified name, which follows a specific format involving project, location, collection, and data store or engine."],["The state of a conversation, captured by a specific enum, is tracked and recorded within its definition."],["Timestamps for conversation start and end times use the RFC 3339 format and are output only."],["Several methods are available to interact with conversations, including creating, deleting, getting, listing, updating, and conversing."]]],[]]