Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::BidiSessionServerMessage (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::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::V1::EndSession
Returns
  • (::Google::Cloud::Ces::V1::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::V1::EndSession
Parameter
  • value (::Google::Cloud::Ces::V1::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.

Returns
  • (::Google::Cloud::Ces::V1::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::V1::GoAway
Returns
  • (::Google::Cloud::Ces::V1::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::V1::GoAway
Parameter
  • value (::Google::Cloud::Ces::V1::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.

Returns
  • (::Google::Cloud::Ces::V1::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::V1::InterruptionSignal
Returns
  • (::Google::Cloud::Ces::V1::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::V1::InterruptionSignal
Parameter
  • value (::Google::Cloud::Ces::V1::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.

Returns
  • (::Google::Cloud::Ces::V1::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::V1::RecognitionResult
Returns
  • (::Google::Cloud::Ces::V1::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::V1::RecognitionResult
Parameter
  • value (::Google::Cloud::Ces::V1::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.

Returns
  • (::Google::Cloud::Ces::V1::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::V1::SessionOutput
Returns
  • (::Google::Cloud::Ces::V1::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::V1::SessionOutput
Parameter
  • value (::Google::Cloud::Ces::V1::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.

Returns
  • (::Google::Cloud::Ces::V1::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.