AssistantMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)A message in an assistant session.
Attributes |
|
|---|---|
| Name | Description |
role |
str
Required. Role within the conversation "user" or "model". |
chunks |
MutableSequence[google.cloud.ces_v1beta.types.AssistantChunk]
Optional. Content of the message as chunks. |
event_time |
google.protobuf.timestamp_pb2.Timestamp
Required. Timestamp when the message was sent or received. |
attached_gcs_uris |
MutableSequence[str]
Optional. Cloud Storage URIs for files uploaded by the user during this turn. This allows attachments to be persisted and rendered in the session history UI. Example: "gs://cxas-transient-uploads/uuid/prd.pdf". |