Struct google_api_proto::google::analytics::data::v1beta::CheckCompatibilityRequest
source · pub struct CheckCompatibilityRequest {
pub property: String,
pub dimensions: Vec<Dimension>,
pub metrics: Vec<Metric>,
pub dimension_filter: Option<FilterExpression>,
pub metric_filter: Option<FilterExpression>,
pub compatibility_filter: i32,
}
Expand description
The request for compatibility information for a report’s dimensions and
metrics. Check compatibility provides a preview of the compatibility of a
report; fields shared with the runReport
request should be the same values
as in your runReport
request.
Fields§
§property: String
A Google Analytics GA4 property identifier whose events are tracked. To
learn more, see where to find your Property
ID.
property
should be the same value as in your runReport
request.
Example: properties/1234
dimensions: Vec<Dimension>
The dimensions in this report. dimensions
should be the same value as in
your runReport
request.
metrics: Vec<Metric>
The metrics in this report. metrics
should be the same value as in your
runReport
request.
dimension_filter: Option<FilterExpression>
The filter clause of dimensions. dimensionFilter
should be the same value
as in your runReport
request.
metric_filter: Option<FilterExpression>
The filter clause of metrics. metricFilter
should be the same value as in
your runReport
request
compatibility_filter: i32
Filters the dimensions and metrics in the response to just this
compatibility. Commonly used as ”compatibilityFilter”: “COMPATIBLE”
to only return compatible dimensions & metrics.
Implementations§
source§impl CheckCompatibilityRequest
impl CheckCompatibilityRequest
sourcepub fn compatibility_filter(&self) -> Compatibility
pub fn compatibility_filter(&self) -> Compatibility
Returns the enum value of compatibility_filter
, or the default if the field is set to an invalid enum value.
sourcepub fn set_compatibility_filter(&mut self, value: Compatibility)
pub fn set_compatibility_filter(&mut self, value: Compatibility)
Sets compatibility_filter
to the provided enum value.
Trait Implementations§
source§impl Clone for CheckCompatibilityRequest
impl Clone for CheckCompatibilityRequest
source§fn clone(&self) -> CheckCompatibilityRequest
fn clone(&self) -> CheckCompatibilityRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckCompatibilityRequest
impl Debug for CheckCompatibilityRequest
source§impl Default for CheckCompatibilityRequest
impl Default for CheckCompatibilityRequest
source§impl Message for CheckCompatibilityRequest
impl Message for CheckCompatibilityRequest
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 CheckCompatibilityRequest
impl PartialEq for CheckCompatibilityRequest
source§fn eq(&self, other: &CheckCompatibilityRequest) -> bool
fn eq(&self, other: &CheckCompatibilityRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckCompatibilityRequest
Auto Trait Implementations§
impl Freeze for CheckCompatibilityRequest
impl RefUnwindSafe for CheckCompatibilityRequest
impl Send for CheckCompatibilityRequest
impl Sync for CheckCompatibilityRequest
impl Unpin for CheckCompatibilityRequest
impl UnwindSafe for CheckCompatibilityRequest
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