ContentSearchSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A specification for configuring the behavior of content search.
Attributes | |
---|---|
Name | Description |
snippet_spec |
google.cloud.discoveryengine_v1beta.types.SearchRequest.ContentSearchSpec.SnippetSpec
If snippetSpec is not specified, snippets are not
included in the search response.
|
summary_spec |
google.cloud.discoveryengine_v1beta.types.SearchRequest.ContentSearchSpec.SummarySpec
If summarySpec is not specified, summaries are not
included 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)
A specification for configuring the extractive content in a search response.
SnippetSpec
SnippetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A specification for configuring snippets in a search response.
SummarySpec
SummarySpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A specification for configuring a summary returned in a search response.