Resource: Conversation
Message for a conversation.
| JSON representation | 
|---|
{ "name": string, "agents": [ string ], "createTime": string, "lastUsedTime": string, "labels": { string: string, ... } }  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Optional. Identifier. The unique resource name of a conversation. Format:  Example:  It is recommended to skip setting this field during conversation creation as it will be inferred automatically and overwritten with the {parent}/conversations/{conversationId}.  | 
              
agents[] | 
                
                   
 Required. Agent(s) in the conversation. Currently, only one agent is supported. This field is repeated to allow for future support of multiple agents in a conversation. Format:   | 
              
createTime | 
                
                   
 Output only. Creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
lastUsedTime | 
                
                   
 Output only. Timestamp of the last used conversation. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
labels | 
                
                   
 Optional. Open-ended and user-defined labels that can be set by the client to tag a conversation (e.g. to filter conversations for specific surfaces/products). An object containing a list of   | 
              
Methods | 
            |
|---|---|
                
 | 
              Creates a new conversation to persist the conversation history. | 
                
 | 
              Deletes a conversation. | 
                
 | 
              Gets details of a single conversation by using conversation id and parent. | 
                
 | 
              Lists all conversations for a given parent. |