TurnHandoffEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)Emitted before this task stops serving the stream mid-turn (e.g. a server restart). The turn's state is persisted; a reconnect carrying resume_from_sequence_number continues it on another task.
Attributes |
|
|---|---|
| Name | Description |
turn_id |
str
Identifies the turn to resume. |
reason |
google.cloud.ces_v1beta.types.TurnHandoffEvent.Reason
Why the stream is handing off. |
Classes
Reason
Reason(value)Why the stream is handing off.