AssistantSession(mapping=None, *, ignore_unknown_fields=False, **kwargs)An assistant session represents a conversation between a user and the assistant agent.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. Identifier. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}
|
requestor |
str
Output only. The user who initiated the session. |
messages |
MutableSequence[google.cloud.ces_v1beta.types.AssistantMessage]
Optional. History of messages in the session. |
state |
google.cloud.ces_v1beta.types.AssistantSessionState
Output only. The status of the assistant session. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time the assistant session was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time the assistant session was last updated. |
user_response_suggestions |
google.cloud.ces_v1beta.types.UserResponseSuggestions
Output only. Suggested user responses from the assistant agent. |
display_name |
str
Optional. The display name of the assistant session. |
artifacts |
MutableSequence[google.cloud.ces_v1beta.types.AssistantSessionArtifact]
Output only. Document artifacts (e.g. generated TDDs in markdown) produced by the assistant in this session. Pointers only; the file content lives in the customer's Cloud Storage bucket. |
session_checkpoint |
google.cloud.ces_v1beta.types.SessionCheckpoint
Output only. Session checkpoint containing user intent and rolling history summary. |
active_turn |
google.cloud.ces_v1beta.types.ActiveTurnInfo
Output only. Attachment info for this session's currently running turn. Unset when no turn is running. |