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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::Message.

A message within a conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chunks

def chunks() -> ::Array<::Google::Cloud::Ces::V1::Chunk>
Returns

#chunks=

def chunks=(value) -> ::Array<::Google::Cloud::Ces::V1::Chunk>
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) — Optional. The role within the conversation, e.g., user, agent.

#role=

def role=(value) -> ::String
Parameter
  • value (::String) — Optional. The role within the conversation, e.g., user, agent.
Returns
  • (::String) — Optional. The role within the conversation, e.g., user, agent.