Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse.
The response message for Conversations.GenerateSuggestions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#generator_suggestion_answers
def generator_suggestion_answers() -> ::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>
- (::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>) — The answers generated for the conversation based on context.
#generator_suggestion_answers=
def generator_suggestion_answers=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>
- value (::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>) — The answers generated for the conversation based on context.
- (::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>) — The answers generated for the conversation based on context.
#latest_message
def latest_message() -> ::String
-
(::String) — The name of the latest conversation message used as context for
compiling suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>
.
#latest_message=
def latest_message=(value) -> ::String
-
value (::String) — The name of the latest conversation message used as context for
compiling suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>
.
-
(::String) — The name of the latest conversation message used as context for
compiling suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>
.