Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer.
A GeneratorSuggestion answer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_record
def answer_record() -> ::String
Returns
- (::String) — Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.
#answer_record=
def answer_record=(value) -> ::String
Parameter
- value (::String) — Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.
Returns
- (::String) — Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.
#generator_suggestion
def generator_suggestion() -> ::Google::Cloud::Dialogflow::V2::GeneratorSuggestion
Returns
- (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion) — Suggestion details.
#generator_suggestion=
def generator_suggestion=(value) -> ::Google::Cloud::Dialogflow::V2::GeneratorSuggestion
Parameter
- value (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion) — Suggestion details.
Returns
- (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion) — Suggestion details.
#source_generator
def source_generator() -> ::String
Returns
-
(::String) — The name of the generator used to generate this suggestion. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
.
#source_generator=
def source_generator=(value) -> ::String
Parameter
-
value (::String) — The name of the generator used to generate this suggestion. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
.
Returns
-
(::String) — The name of the generator used to generate this suggestion. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
.