recommendations.proto
path protobuffet/example/recommendations/v1/recommendations.proto
package protobuffet.example.recommendations.v1
Messages
ListRecommendationsRequest
Request to get product recommendations for a user.
Name | Type | Description |
---|---|---|
user_id | string | User to lookup recommendations for. |
product_ids | repeated string | Product IDs for the current user context that we are recommending for. |
ListRecommendationsResponse
Response containing product recommendations.
Name | Type | Description |
---|---|---|
product_ids | repeated string | IDs referencing products that we recommend for the received request. See implementation docs for details on formatting. |
Services
RecommendationService
Further product recommendations for user given a set of product IDs.
ListRecommendations
Method | ListRecommendations |
---|---|
Request | ListRecommendationsRequest |
Response | ListRecommendationsResponse |
Description | List recommendations for a given user and context. |