Class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult
RecommendationResult represents a generic recommendation result with associated metadata.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult : IDirectResponseSchema
Properties
Document
Set if returnDocument
is set to true in RecommendRequest.params.
Declaration
[JsonProperty("document")]
public virtual GoogleCloudDiscoveryengineV1alphaDocument Document { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaDocument |
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> |