Class ContentSearchSpec (0.11.10)

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

A specification for configuring the behavior of content search.

Attributes

NameDescription
snippet_spec google.cloud.discoveryengine_v1.types.SearchRequest.ContentSearchSpec.SnippetSpec
If snippetSpec is not specified, snippets are not included in the search response.
summary_spec google.cloud.discoveryengine_v1.types.SearchRequest.ContentSearchSpec.SummarySpec
If summarySpec is not specified, summaries are not included in the search response.

Classes

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.