Class ContentSearchSpec (0.8.0)

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

The specification that configs the desired behavior of the UCS content search.

Attributes

NameDescription
snippet_spec google.cloud.discoveryengine_v1beta.types.SearchRequest.ContentSearchSpec.SnippetSpec
If there is no snippet spec provided, there will be no snippet in the search result.
summary_spec google.cloud.discoveryengine_v1beta.types.SearchRequest.ContentSearchSpec.SummarySpec
If there is no summary spec provided, there will be no summary in the search response.

Classes

SnippetSpec

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

The specification that configs the snippet in the search results.

SummarySpec

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

The specification that configs the summary in the search response.