pub struct GoogleCloudRecommendationengineV1beta1PredictResponse {
pub dry_run: Option<bool>,
pub items_missing_in_catalog: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
pub next_page_token: Option<String>,
pub recommendation_token: Option<String>,
pub results: Option<Vec<GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult>>,
}Expand description
Response message for predict method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§dry_run: Option<bool>True if the dryRun property was set in the request.
items_missing_in_catalog: Option<Vec<String>>IDs of items in the request that were missing from the catalog.
metadata: Option<HashMap<String, Value>>Additional domain specific prediction response metadata.
next_page_token: Option<String>If empty, the list is complete. If nonempty, the token to pass to the next request’s PredictRequest.page_token.
recommendation_token: Option<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.
results: Option<Vec<GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult>>A list of recommended items. The order represents the ranking (from the most relevant item to the least).
Trait Implementations§
Source§impl Clone for GoogleCloudRecommendationengineV1beta1PredictResponse
impl Clone for GoogleCloudRecommendationengineV1beta1PredictResponse
Source§fn clone(&self) -> GoogleCloudRecommendationengineV1beta1PredictResponse
fn clone(&self) -> GoogleCloudRecommendationengineV1beta1PredictResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more