Class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult
RecommendationResult represents a generic recommendation result with associated metadata.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult : IDirectResponseSchema
Properties
Document
Set if returnDocument
is set to true in RecommendRequest.params.
Declaration
[JsonProperty("document")]
public virtual GoogleCloudDiscoveryengineV1betaDocument Document { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaDocument |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Resource ID of the recommended Document.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Additional Document metadata or annotations. Possible values: * score
: Recommendation score in double
value. Is set if returnScore
is set to true in RecommendRequest.params.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |