Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::Conversation::Turn.
All information about a single turn in the conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#messages
def messages() -> ::Array<::Google::Cloud::Ces::V1::Message>
Returns
- (::Array<::Google::Cloud::Ces::V1::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
#messages=
def messages=(value) -> ::Array<::Google::Cloud::Ces::V1::Message>
Parameter
- value (::Array<::Google::Cloud::Ces::V1::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
Returns
- (::Array<::Google::Cloud::Ces::V1::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
#root_span
def root_span() -> ::Google::Cloud::Ces::V1::Span
Returns
- (::Google::Cloud::Ces::V1::Span) — Optional. The root span of the action processing.
#root_span=
def root_span=(value) -> ::Google::Cloud::Ces::V1::Span
Parameter
- value (::Google::Cloud::Ces::V1::Span) — Optional. The root span of the action processing.
Returns
- (::Google::Cloud::Ces::V1::Span) — Optional. The root span of the action processing.