class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictResponse
Response message for predict method.
Attributes
True if the dryRun property was set in the request. Corresponds to the JSON property `dryRun` @return [Boolean]
True if the dryRun property was set in the request. Corresponds to the JSON property `dryRun` @return [Boolean]
IDs of items in the request that were missing from the catalog. Corresponds to the JSON property `itemsMissingInCatalog` @return [Array<String>]
Additional domain specific prediction response metadata. Corresponds to the JSON property `metadata` @return [Hash<String,Object>]
If empty, the list is complete. If nonempty, the token to pass to the next request's PredictRequest.page_token. Corresponds to the JSON property `nextPageToken` @return [String]
A unique recommendation token. This should be included in the user event logs resulting from this recommendation, which enables accurate attribution of recommendation model performance. Corresponds to the JSON property `recommendationToken` @return [String]
A list of recommended items. The order represents the ranking (from the most relevant item to the least). Corresponds to the JSON property `results` @return [Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult>]
Public Class Methods
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 1100 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 1105 def update!(**args) @dry_run = args[:dry_run] if args.key?(:dry_run) @items_missing_in_catalog = args[:items_missing_in_catalog] if args.key?(:items_missing_in_catalog) @metadata = args[:metadata] if args.key?(:metadata) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @recommendation_token = args[:recommendation_token] if args.key?(:recommendation_token) @results = args[:results] if args.key?(:results) end