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."],[[["The `Conversation` resource represents an external conversation, defined by its name, state, user identifier, messages, start time, and end time."],["The JSON representation of a `Conversation` includes fields like `name`, `state`, `userPseudoId`, `messages`, `startTime`, and `endTime`, with specific formats for each."],["Each `Conversation` has an immutable, fully qualified name that follows a specific pattern, either using data store or engines, and includes the project, location, and collection."],["Several methods are available for interacting with `Conversations`, including `converse`, `create`, `delete`, `get`, `list`, and `patch`, allowing for a range of management actions."],["The `startTime` and `endTime` fields are output only, and they are represented using a timestamp format that follows RFC 3339."]]],[]]