Struct google_recommendationengine1_beta1::api::GoogleCloudRecommendationengineV1beta1EventDetail [−][src]
User event details shared by all recommendation types.
This type is not used in any activity, and only used as part of another schema.
Fields
event_attributes: Option<GoogleCloudRecommendationengineV1beta1FeatureMap>Optional. Extra user event features to include in the recommendation model. For product recommendation, an example of extra user information is traffic_channel, i.e. how user arrives at the site. Users can arrive at the site by coming to the site directly, or coming through Google search, and etc.
experiment_ids: Option<Vec<String>>Optional. A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups (e.g. using Recommendation Engine system, using different recommendation models).
page_view_id: Option<String>Optional. A unique id of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The pageViewId property should be kept the same for all these events so that they can be grouped together properly. This pageViewId will be automatically generated if using the JavaScript pixel.
recommendation_token: Option<String>Optional. Recommendation token included in the recommendation prediction response. This field enables accurate attribution of recommendation model performance. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased item. If user clicks on product K in the recommendation results, pass the PredictResponse.recommendationToken property as a url parameter to product K's page. When recording events on product K's page, log the PredictResponse.recommendation_token to this field. Optional, but highly encouraged for user events that are the result of a recommendation prediction query.
referrer_uri: Option<String>Optional. The referrer url of the current page. When using the JavaScript pixel, this value is filled in automatically.
uri: Option<String>Optional. Complete url (window.location.href) of the user's current page. When using the JavaScript pixel, this value is filled in automatically. Maximum length 5KB.
Trait Implementations
impl Clone for GoogleCloudRecommendationengineV1beta1EventDetail[src]
fn clone(&self) -> GoogleCloudRecommendationengineV1beta1EventDetail[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl Default for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl<'de> Deserialize<'de> for GoogleCloudRecommendationengineV1beta1EventDetail[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl Serialize for GoogleCloudRecommendationengineV1beta1EventDetail[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl Send for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl Sync for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl Unpin for GoogleCloudRecommendationengineV1beta1EventDetail[src]
impl UnwindSafe for GoogleCloudRecommendationengineV1beta1EventDetail[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,