View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec (google_api_discovery_engine v0.27.0)
A specification for configuring snippets in a search response.
Attributes
-
maxSnippetCount
(type:integer()
, default:nil
) - [DEPRECATED] This field is deprecated. To control snippet return, usereturn_snippet
field. For backwards compatibility, we will return snippet if max_snippet_count > 0. -
referenceOnly
(type:boolean()
, default:nil
) - [DEPRECATED] This field is deprecated and will have no affect on the snippet. -
returnSnippet
(type:boolean()
, default:nil
) - Iftrue
, then return snippet. If no snippet can be generated, we return "No snippet is available for this page." Asnippet_status
withSUCCESS
orNO_SNIPPET_AVAILABLE
will also be returned.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.