Class GoogleCloudDiscoveryengineV1CompletionSuggestion
Autocomplete suggestions that are imported from Customer.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1CompletionSuggestion : 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 |