userEvent property
Context about the user, what they are looking at and what action they took to trigger the predict request.
Note that this user event detail won't be ingested to userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserInfo.visitor_id or UserInfo.user_id to the same fixed ID for different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserInfo.visitor_id to a random unique ID and leave UserInfo.user_id unset.
Required.
Implementation
GoogleCloudRecommendationengineV1beta1UserEvent? userEvent;