Class ContentSearchSpec (0.9.1)

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.
extractive_content_spec google.cloud.discoveryengine_v1beta.types.SearchRequest.ContentSearchSpec.ExtractiveContentSpec
If there is no extractive_content_spec provided, there will be no extractive answer in the search response.

Classes

ExtractiveContentSpec

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

The specification that configs the extractive content in search results.

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.