Class ContentSearchSpec (0.10.0)

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

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

Attribute

NameDescription
snippet_spec google.cloud.discoveryengine_v1.types.SearchRequest.ContentSearchSpec.SnippetSpec
If there is no snippet spec provided, there will be no snippet in the search result.

Classes

SnippetSpec

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

The specification that configs the snippet in the search results.