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

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

A message in an assistant session.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attached_gcs_uris

def attached_gcs_uris() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Cloud Storage URIs for files uploaded by the user during this turn. This allows attachments to be persisted and rendered in the session history UI. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"

#attached_gcs_uris=

def attached_gcs_uris=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Cloud Storage URIs for files uploaded by the user during this turn. This allows attachments to be persisted and rendered in the session history UI. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
Returns
  • (::Array<::String>) — Optional. Cloud Storage URIs for files uploaded by the user during this turn. This allows attachments to be persisted and rendered in the session history UI. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"

#chunks

def chunks() -> ::Array<::Google::Cloud::Ces::V1beta::AssistantChunk>
Returns

#chunks=

def chunks=(value) -> ::Array<::Google::Cloud::Ces::V1beta::AssistantChunk>
Parameter
Returns

#event_time

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

#event_time=

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

#role

def role() -> ::String
Returns
  • (::String) — Required. Role within the conversation "user" or "model".

#role=

def role=(value) -> ::String
Parameter
  • value (::String) — Required. Role within the conversation "user" or "model".
Returns
  • (::String) — Required. Role within the conversation "user" or "model".