Class ContentSuggestion (0.20.1)

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

Suggestions as content.

Attributes

Name Description
suggestion str
The suggestion for the query.
content_type google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType
The type of the content suggestion.
document google.cloud.discoveryengine_v1beta.types.Document
The document data snippet in the suggestion. Only a subset of fields will be populated.
data_store str
The name of the dataStore that this suggestion belongs to.
score float
The score of each suggestion. The score is in the range of [0, 1].
icon_uri str
The icon uri of the content suggestion.
destination_uri str
The destination uri of the content suggestion.

Classes

ContentType

ContentType(value)

The type of the content returned for content suggestions.