Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec

A specification for configuring snippets in a search response.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MaxSnippetCount

[DEPRECATED] This field is deprecated. To control snippet return, use return_snippet field. For backwards compatibility, we will return snippet if max_snippet_count > 0.

Declaration
[JsonProperty("maxSnippetCount")]
public virtual int? MaxSnippetCount { get; set; }
Property Value
Type Description
int?

ReferenceOnly

[DEPRECATED] This field is deprecated and will have no affect on the snippet.

Declaration
[JsonProperty("referenceOnly")]
public virtual bool? ReferenceOnly { get; set; }
Property Value
Type Description
bool?

ReturnSnippet

If true, then return snippet. If no snippet can be generated, we return "No snippet is available for this page." A snippet_status with SUCCESS or NO_SNIPPET_AVAILABLE will also be returned.

Declaration
[JsonProperty("returnSnippet")]
public virtual bool? ReturnSnippet { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX