Reference documentation and code samples for the BigQuery Data QnA V1alpha API class Google::Cloud::DataQnA::V1alpha::SuggestionInfo.
Detailed information about the suggestion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotated_suggestion
def annotated_suggestion() -> ::Google::Cloud::DataQnA::V1alpha::AnnotatedString
Returns
- (::Google::Cloud::DataQnA::V1alpha::AnnotatedString) — Annotations for the suggestion. This provides information about which part of the suggestion corresponds to what semantic meaning (e.g. a metric).
#annotated_suggestion=
def annotated_suggestion=(value) -> ::Google::Cloud::DataQnA::V1alpha::AnnotatedString
Parameter
- value (::Google::Cloud::DataQnA::V1alpha::AnnotatedString) — Annotations for the suggestion. This provides information about which part of the suggestion corresponds to what semantic meaning (e.g. a metric).
Returns
- (::Google::Cloud::DataQnA::V1alpha::AnnotatedString) — Annotations for the suggestion. This provides information about which part of the suggestion corresponds to what semantic meaning (e.g. a metric).
#query_matches
def query_matches() -> ::Array<::Google::Cloud::DataQnA::V1alpha::SuggestionInfo::MatchInfo>
Returns
- (::Array<::Google::Cloud::DataQnA::V1alpha::SuggestionInfo::MatchInfo>) — Matches between user query and the annotated string.
#query_matches=
def query_matches=(value) -> ::Array<::Google::Cloud::DataQnA::V1alpha::SuggestionInfo::MatchInfo>
Parameter
- value (::Array<::Google::Cloud::DataQnA::V1alpha::SuggestionInfo::MatchInfo>) — Matches between user query and the annotated string.
Returns
- (::Array<::Google::Cloud::DataQnA::V1alpha::SuggestionInfo::MatchInfo>) — Matches between user query and the annotated string.