Resource: Session
External session proto definition.
JSON representation |
---|
{ "name": string, "displayName": string, "state": enum ( |
Fields | |
---|---|
name |
Immutable. Fully qualified name |
display |
Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session. |
state |
The state of the session. |
user |
A unique identifier for tracking users. |
turns[] |
Turns. |
start |
Output only. The time the session started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
Output only. The time the session finished. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
is |
Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. |
Methods |
|
---|---|
|
Creates a Session. |
|
Deletes a Session. |
|
Gets a Session. |
|
Lists all Sessions by their parent DataStore . |
|
Updates a Session. |