Struct google_api_proto::google::analytics::data::v1alpha::SessionSegmentConditionGroup
source · pub struct SessionSegmentConditionGroup {
pub condition_scoping: i32,
pub segment_filter_expression: Option<SegmentFilterExpression>,
}
Expand description
Conditions tell Analytics what data to include in or exclude from the segment.
Fields§
§condition_scoping: i32
Data is included or excluded from the segment based on if it matches
the condition group. This scoping defines how many events the
segmentFilterExpression
is evaluated on before the condition group
is determined to be matched or not. For example if conditionScoping = SESSION_CRITERIA_WITHIN_SAME_SESSION
, the expression is evaluated on all
events in a session, and then, the condition group is determined to be
matched or not for this session. For example if conditionScoping = SESSION_CRITERIA_WITHIN_SAME_EVENT
, the expression is evaluated on a
single event, and then, the condition group is determined to be matched or
not for this session.
Optional. If unspecified, a conditionScoping
of WITHIN_SAME_SESSION
is used.
segment_filter_expression: Option<SegmentFilterExpression>
Data is included or excluded from the segment based on if it matches this expression. Expressions express criteria on dimension, metrics, and/or parameters.
Implementations§
source§impl SessionSegmentConditionGroup
impl SessionSegmentConditionGroup
sourcepub fn condition_scoping(&self) -> SessionCriteriaScoping
pub fn condition_scoping(&self) -> SessionCriteriaScoping
Returns the enum value of condition_scoping
, or the default if the field is set to an invalid enum value.
sourcepub fn set_condition_scoping(&mut self, value: SessionCriteriaScoping)
pub fn set_condition_scoping(&mut self, value: SessionCriteriaScoping)
Sets condition_scoping
to the provided enum value.
Trait Implementations§
source§impl Clone for SessionSegmentConditionGroup
impl Clone for SessionSegmentConditionGroup
source§fn clone(&self) -> SessionSegmentConditionGroup
fn clone(&self) -> SessionSegmentConditionGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionSegmentConditionGroup
impl Debug for SessionSegmentConditionGroup
source§impl Message for SessionSegmentConditionGroup
impl Message for SessionSegmentConditionGroup
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 SessionSegmentConditionGroup
impl PartialEq for SessionSegmentConditionGroup
source§fn eq(&self, other: &SessionSegmentConditionGroup) -> bool
fn eq(&self, other: &SessionSegmentConditionGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SessionSegmentConditionGroup
Auto Trait Implementations§
impl Freeze for SessionSegmentConditionGroup
impl RefUnwindSafe for SessionSegmentConditionGroup
impl Send for SessionSegmentConditionGroup
impl Sync for SessionSegmentConditionGroup
impl Unpin for SessionSegmentConditionGroup
impl UnwindSafe for SessionSegmentConditionGroup
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