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
- (::Array<::Google::Cloud::Ces::V1::Chunk>) — Optional. Content of the message as a series of chunks.
#chunks=
def chunks=(value) -> ::Array<::Google::Cloud::Ces::V1::Chunk>
Parameter
- value (::Array<::Google::Cloud::Ces::V1::Chunk>) — Optional. Content of the message as a series of chunks.
Returns
- (::Array<::Google::Cloud::Ces::V1::Chunk>) — Optional. Content of the message as a series of chunks.
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
#event_time=
def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
#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.