- 1.135.0 (latest)
- 1.134.0
- 1.133.0
- 1.132.0
- 1.131.0
- 1.130.0
- 1.129.0
- 1.122.0
- 1.121.0
- 1.120.0
- 1.119.0
- 1.118.0
- 1.117.0
- 1.95.1
- 1.94.0
- 1.93.1
- 1.92.0
- 1.91.0
- 1.90.0
- 1.89.0
- 1.88.0
- 1.87.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.81.0
- 1.80.0
- 1.79.0
- 1.78.0
- 1.77.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.1
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.1
- 1.66.0
- 1.65.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
AsyncSessionEvents(api_client_: google.genai._api_client.BaseApiClient)API documentation for AsyncSessionEvents class.
Methods
append
append(
*,
name: str,
author: str,
invocation_id: str,
timestamp: datetime.datetime,
config: typing.Optional[
typing.Union[
vertexai._genai.types.common.AppendAgentEngineSessionEventConfig,
vertexai._genai.types.common.AppendAgentEngineSessionEventConfigDict,
]
] = None
) -> vertexai._genai.types.common.AppendAgentEngineSessionEventResponseAppends Agent Engine session event.
| Parameters | |
|---|---|
| Name | Description |
name |
str
Required. The name of the Agent Engine session to append the event to. Format: |
author |
str
Required. The author of the Agent Engine session event. |
invocation_id |
str
Required. The invocation ID of the Agent Engine session event. |
timestamp |
datetime.datetime
Required. The timestamp of the Agent Engine session event. |
config |
AppendAgentEngineSessionEventConfig
Optional. Additional configurations for appending the Agent Engine session event. |
| Returns | |
|---|---|
| Type | Description |
AppendAgentEngineSessionEventResponse |
The requested Agent Engine session event. |
list
list(
*,
name: str,
config: typing.Optional[
typing.Union[
vertexai._genai.types.common.ListAgentEngineSessionEventsConfig,
vertexai._genai.types.common.ListAgentEngineSessionEventsConfigDict,
]
] = None
) -> google.genai.pagers.AsyncPager[vertexai._genai.types.common.SessionEvent]Lists Agent Engine session events.
| Parameters | |
|---|---|
| Name | Description |
name |
str
Required. The name of the agent engine to list session events for. |
config |
ListAgentEngineSessionEventsConfig
Optional. The configuration for the session events to list. Currently, the |
| Returns | |
|---|---|
| Type | Description |
AsyncPager[SessionEvent] |
An async pager of session events. |