Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::BidiSessionServerMessage.
The top-level message returned from SessionService.BidiRunSession method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_session
def end_session() -> ::Google::Cloud::Ces::V1beta::EndSession-
(::Google::Cloud::Ces::V1beta::EndSession) — Optional. Indicates that the session has ended.
Note: The following fields are mutually exclusive:
end_session,session_output,recognition_result,interruption_signal,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#end_session=
def end_session=(value) -> ::Google::Cloud::Ces::V1beta::EndSession-
value (::Google::Cloud::Ces::V1beta::EndSession) — Optional. Indicates that the session has ended.
Note: The following fields are mutually exclusive:
end_session,session_output,recognition_result,interruption_signal,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::EndSession) — Optional. Indicates that the session has ended.
Note: The following fields are mutually exclusive:
end_session,session_output,recognition_result,interruption_signal,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#go_away
def go_away() -> ::Google::Cloud::Ces::V1beta::GoAway-
(::Google::Cloud::Ces::V1beta::GoAway) — Optional. Indicates that the server will disconnect soon and the client
should half-close and restart the connection.
Note: The following fields are mutually exclusive:
go_away,session_output,recognition_result,interruption_signal,end_session. If a field in that set is populated, all other fields in the set will automatically be cleared.
#go_away=
def go_away=(value) -> ::Google::Cloud::Ces::V1beta::GoAway-
value (::Google::Cloud::Ces::V1beta::GoAway) — Optional. Indicates that the server will disconnect soon and the client
should half-close and restart the connection.
Note: The following fields are mutually exclusive:
go_away,session_output,recognition_result,interruption_signal,end_session. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::GoAway) — Optional. Indicates that the server will disconnect soon and the client
should half-close and restart the connection.
Note: The following fields are mutually exclusive:
go_away,session_output,recognition_result,interruption_signal,end_session. If a field in that set is populated, all other fields in the set will automatically be cleared.
#interruption_signal
def interruption_signal() -> ::Google::Cloud::Ces::V1beta::InterruptionSignal-
(::Google::Cloud::Ces::V1beta::InterruptionSignal) — Optional. Indicates the agent's audio response has been interrupted.
Note: The following fields are mutually exclusive:
interruption_signal,session_output,recognition_result,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#interruption_signal=
def interruption_signal=(value) -> ::Google::Cloud::Ces::V1beta::InterruptionSignal-
value (::Google::Cloud::Ces::V1beta::InterruptionSignal) — Optional. Indicates the agent's audio response has been interrupted.
Note: The following fields are mutually exclusive:
interruption_signal,session_output,recognition_result,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::InterruptionSignal) — Optional. Indicates the agent's audio response has been interrupted.
Note: The following fields are mutually exclusive:
interruption_signal,session_output,recognition_result,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#recognition_result
def recognition_result() -> ::Google::Cloud::Ces::V1beta::RecognitionResult-
(::Google::Cloud::Ces::V1beta::RecognitionResult) — Optional. Realtime speech recognition result for the audio input.
Note: The following fields are mutually exclusive:
recognition_result,session_output,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#recognition_result=
def recognition_result=(value) -> ::Google::Cloud::Ces::V1beta::RecognitionResult-
value (::Google::Cloud::Ces::V1beta::RecognitionResult) — Optional. Realtime speech recognition result for the audio input.
Note: The following fields are mutually exclusive:
recognition_result,session_output,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::RecognitionResult) — Optional. Realtime speech recognition result for the audio input.
Note: The following fields are mutually exclusive:
recognition_result,session_output,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#session_output
def session_output() -> ::Google::Cloud::Ces::V1beta::SessionOutput-
(::Google::Cloud::Ces::V1beta::SessionOutput) — Optional. Processing result from the CES agent.
Note: The following fields are mutually exclusive:
session_output,recognition_result,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
#session_output=
def session_output=(value) -> ::Google::Cloud::Ces::V1beta::SessionOutput-
value (::Google::Cloud::Ces::V1beta::SessionOutput) — Optional. Processing result from the CES agent.
Note: The following fields are mutually exclusive:
session_output,recognition_result,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::SessionOutput) — Optional. Processing result from the CES agent.
Note: The following fields are mutually exclusive:
session_output,recognition_result,interruption_signal,end_session,go_away. If a field in that set is populated, all other fields in the set will automatically be cleared.