Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::TurnHandoffEvent.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#reason
def reason() -> ::Google::Cloud::Ces::V1beta::TurnHandoffEvent::Reason
Returns
- (::Google::Cloud::Ces::V1beta::TurnHandoffEvent::Reason) — Why the stream is handing off.
#reason=
def reason=(value) -> ::Google::Cloud::Ces::V1beta::TurnHandoffEvent::Reason
Parameter
- value (::Google::Cloud::Ces::V1beta::TurnHandoffEvent::Reason) — Why the stream is handing off.
Returns
- (::Google::Cloud::Ces::V1beta::TurnHandoffEvent::Reason) — Why the stream is handing off.
#turn_id
def turn_id() -> ::String
Returns
- (::String) — Identifies the turn to resume.
#turn_id=
def turn_id=(value) -> ::String
Parameter
- value (::String) — Identifies the turn to resume.
Returns
- (::String) — Identifies the turn to resume.