Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ChatAiAssistantResponse (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ChatAiAssistantResponse.

Response message for AssistantService.ChatAiAssistant.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event_id

def event_id() -> ::String
Returns
  • (::String) — Unique identifier for the event.

#event_id=

def event_id=(value) -> ::String
Parameter
  • value (::String) — Unique identifier for the event.
Returns
  • (::String) — Unique identifier for the event.

#event_time

def event_time() -> ::Google::Protobuf::Timestamp
Returns

#event_time=

def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#session_checkpoint

def session_checkpoint() -> ::Google::Cloud::Ces::V1beta::SessionCheckpoint
Returns
  • (::Google::Cloud::Ces::V1beta::SessionCheckpoint) — Session checkpoint/compaction recap event containing user intent and rolling summary.

    Note: The following fields are mutually exclusive: session_checkpoint, text_chunk, status_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

#session_checkpoint=

def session_checkpoint=(value) -> ::Google::Cloud::Ces::V1beta::SessionCheckpoint
Parameter
  • value (::Google::Cloud::Ces::V1beta::SessionCheckpoint) — Session checkpoint/compaction recap event containing user intent and rolling summary.

    Note: The following fields are mutually exclusive: session_checkpoint, text_chunk, status_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::SessionCheckpoint) — Session checkpoint/compaction recap event containing user intent and rolling summary.

    Note: The following fields are mutually exclusive: session_checkpoint, text_chunk, status_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

#status_message

def status_message() -> ::String
Returns
  • (::String) — Simple status update

    Note: The following fields are mutually exclusive: status_message, text_chunk, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

#status_message=

def status_message=(value) -> ::String
Parameter
  • value (::String) — Simple status update

    Note: The following fields are mutually exclusive: status_message, text_chunk, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Simple status update

    Note: The following fields are mutually exclusive: status_message, text_chunk, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_chunk

def text_chunk() -> ::String
Returns
  • (::String) — Text Token (for streaming Gemini responses word-by-word)

    Note: The following fields are mutually exclusive: text_chunk, status_message, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_chunk=

def text_chunk=(value) -> ::String
Parameter
  • value (::String) — Text Token (for streaming Gemini responses word-by-word)

    Note: The following fields are mutually exclusive: text_chunk, status_message, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Text Token (for streaming Gemini responses word-by-word)

    Note: The following fields are mutually exclusive: text_chunk, status_message, session_checkpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ui_event

def ui_event() -> ::Google::Cloud::Ces::V1beta::UiEvent
Returns

#ui_event=

def ui_event=(value) -> ::Google::Cloud::Ces::V1beta::UiEvent
Parameter
Returns