Class GoogleCloudDiscoveryengineV1betaRankingRecord
Record message for RankService.Rank method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaRankingRecord : IDirectResponseSchemaProperties
Content
The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Id
The unique ID to represent the record.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Score
The score of this record based on the given query and selected model. The score will be rounded to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid returning unset.
Declaration
[JsonProperty("score")]
public virtual float? Score { get; set; }Property Value
| Type | Description | 
|---|---|
| float? | 
Title
The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }Property Value
| Type | Description | 
|---|---|
| string |