Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Session::Turn.
Represents a turn, including a query from the user and a answer from service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer
def answer() -> ::String
Returns
- (::String) — The resource name of the answer to the user query.
#answer=
def answer=(value) -> ::String
Parameter
- value (::String) — The resource name of the answer to the user query.
Returns
- (::String) — The resource name of the answer to the user query.
#query
def query() -> ::Google::Cloud::DiscoveryEngine::V1beta::Query
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Query) — The user query.
#query=
def query=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Query
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::Query) — The user query.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Query) — The user query.