Struct google_api_proto::google::cloud::recommendationengine::v1beta1::ListUserEventsRequest
source · pub struct ListUserEventsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ListUserEvents method.
Fields§
§parent: String
Required. The parent eventStore resource name, such as
projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store
.
page_size: i32
Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default.
page_token: String
Optional. The previous ListUserEventsResponse.next_page_token.
filter: String
Optional. Filtering expression to specify restrictions over returned events. This is a sequence of terms, where each term applies some kind of a restriction to the returned user events. Use this expression to restrict results to a specific time range, or filter events by eventType. eg: eventTime > “2012-04-23T18:25:43.511Z” eventsMissingCatalogItems eventTime<“2012-04-23T18:25:43.511Z” eventType=search
We expect only 3 types of fields:
* eventTime: this can be specified a maximum of 2 times, once with a
less than operator and once with a greater than operator. The
eventTime restrict should result in one contiguous valid eventTime
range.
* eventType: only 1 eventType restriction can be specified.
* eventsMissingCatalogItems: specififying this will restrict results
to events for which catalog items were not found in the catalog. The
default behavior is to return only those events for which catalog
items were found.
Some examples of valid filters expressions:
- Example 1: eventTime > “2012-04-23T18:25:43.511Z” eventTime < “2012-04-23T18:30:43.511Z”
- Example 2: eventTime > “2012-04-23T18:25:43.511Z” eventType = detail-page-view
- Example 3: eventsMissingCatalogItems eventType = search eventTime < “2018-04-23T18:30:43.511Z”
- Example 4: eventTime > “2012-04-23T18:25:43.511Z”
- Example 5: eventType = search
- Example 6: eventsMissingCatalogItems
Trait Implementations§
source§impl Clone for ListUserEventsRequest
impl Clone for ListUserEventsRequest
source§fn clone(&self) -> ListUserEventsRequest
fn clone(&self) -> ListUserEventsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListUserEventsRequest
impl Debug for ListUserEventsRequest
source§impl Default for ListUserEventsRequest
impl Default for ListUserEventsRequest
source§impl Message for ListUserEventsRequest
impl Message for ListUserEventsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListUserEventsRequest
impl PartialEq for ListUserEventsRequest
source§fn eq(&self, other: &ListUserEventsRequest) -> bool
fn eq(&self, other: &ListUserEventsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListUserEventsRequest
Auto Trait Implementations§
impl Freeze for ListUserEventsRequest
impl RefUnwindSafe for ListUserEventsRequest
impl Send for ListUserEventsRequest
impl Sync for ListUserEventsRequest
impl Unpin for ListUserEventsRequest
impl UnwindSafe for ListUserEventsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request