/// Writes a single user event from the browser. This uses a GET request to
/// due to browser restriction of POST-ing to a 3rd party domain.
///
/// This method is used only by the Retail API JavaScript pixel and Google Tag
/// Manager. Users should not call this method directly.
Writes a single user event from the browser. This uses a GET request to
due to browser restriction of POST-ing to a 3rd party domain.

This method is used only by the Retail API JavaScript pixel and Google Tag
Manager. Users should not call this method directly.
Writes a single user event from the browser . This uses a GET request to due to browser restriction of POST - ing to a 3rd party domain . This method is used only by the Retail API JavaScript pixel and Google Tag Manager . Users should not call this method directly .
pub async fn collect_user_event(
            &mut self,
            request: impl tonic::IntoRequest<super::CollectUserEventRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::api::HttpBody>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.retail.v2beta.UserEventService/CollectUserEvent",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn collect_user_event ( & mut self , request : impl tonic :: IntoRequest < super :: CollectUserEventRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: api :: HttpBody > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Writes a single user event from the browser.
Writes a single user event from the browser .
&mut self
request
impl tonic::IntoRequest<super::CollectUserEventRequest>