Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaCompletionSuggestion

Autocomplete suggestions that are imported from Customer.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaCompletionSuggestion
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 GoogleCloudDiscoveryengineV1alphaCompletionSuggestion : IDirectResponseSchema

Properties

AlternativePhrases

Alternative matching phrases for this suggestion.

Declaration
[JsonProperty("alternativePhrases")]
public virtual IList<string> AlternativePhrases { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

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

Frequency

Frequency of this suggestion. Will be used to rank suggestions when score is not available.

Declaration
[JsonProperty("frequency")]
public virtual long? Frequency { get; set; }
Property Value
Type Description
long?

GlobalScore

Global score of this suggestion. Control how this suggestion would be scored / ranked.

Declaration
[JsonProperty("globalScore")]
public virtual double? GlobalScore { get; set; }
Property Value
Type Description
double?

GroupId

If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions.

Declaration
[JsonProperty("groupId")]
public virtual string GroupId { get; set; }
Property Value
Type Description
string

GroupScore

The score of this suggestion within its group.

Declaration
[JsonProperty("groupScore")]
public virtual double? GroupScore { get; set; }
Property Value
Type Description
double?

LanguageCode

BCP-47 language code of this suggestion.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

Suggestion

Required. The suggestion text.

Declaration
[JsonProperty("suggestion")]
public virtual string Suggestion { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX