Class OneBoxResult (0.13.1)

OneBoxResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

OneBoxResult is a holder for all results of specific type that we want to display in UI differently.

Attributes

Name Description
one_box_type google.cloud.discoveryengine_v1alpha.types.SearchResponse.OneBoxResult.OneBoxType
The type of One Box result.
search_results MutableSequence[google.cloud.discoveryengine_v1alpha.types.SearchResponse.SearchResult]
The search results for this One Box.

Classes

OneBoxType

OneBoxType(value)

The type of One Box result.