Struct google_api_proto::google::analytics::data::v1alpha::ResponseMetaData
source · pub struct ResponseMetaData {
pub data_loss_from_other_row: bool,
pub schema_restriction_response: Option<SchemaRestrictionResponse>,
pub currency_code: Option<String>,
pub time_zone: Option<String>,
pub empty_reason: Option<String>,
pub subject_to_thresholding: Option<bool>,
}
Expand description
Response’s metadata carrying additional information about the report content.
Fields§
§data_loss_from_other_row: bool
If true, indicates some buckets of dimension combinations are rolled into “(other)” row. This can happen for high cardinality reports.
The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report.
For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report.
To learn more, see About the (other) row and data sampling.
schema_restriction_response: Option<SchemaRestrictionResponse>
Describes the schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.
currency_code: Option<String>
The currency code used in this report. Intended to be used in formatting
currency metrics like purchaseRevenue
for visualization. If currency_code
was specified in the request, this response parameter will echo the request
parameter; otherwise, this response parameter is the property’s current
currency_code.
Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example “USD”, “EUR”, “JPY”. To learn more, see https://support.google.com/analytics/answer/9796179.
time_zone: Option<String>
The property’s current timezone. Intended to be used to interpret
time-based dimensions like hour
and minute
. Formatted as strings from
the IANA Time Zone database (https://www.iana.org/time-zones); for example
“America/New_York” or “Asia/Tokyo”.
empty_reason: Option<String>
If empty reason is specified, the report is empty for this reason.
subject_to_thresholding: Option<bool>
If subjectToThresholding
is true, this report is subject to thresholding
and only returns data that meets the minimum aggregation thresholds. It is
possible for a request to be subject to thresholding thresholding and no
data is absent from the report, and this happens when all data is above the
thresholds. To learn more, see Data
thresholds and About
Demographics and
Interests.
Implementations§
source§impl ResponseMetaData
impl ResponseMetaData
sourcepub fn currency_code(&self) -> &str
pub fn currency_code(&self) -> &str
Returns the value of currency_code
, or the default value if currency_code
is unset.
sourcepub fn time_zone(&self) -> &str
pub fn time_zone(&self) -> &str
Returns the value of time_zone
, or the default value if time_zone
is unset.
sourcepub fn empty_reason(&self) -> &str
pub fn empty_reason(&self) -> &str
Returns the value of empty_reason
, or the default value if empty_reason
is unset.
sourcepub fn subject_to_thresholding(&self) -> bool
pub fn subject_to_thresholding(&self) -> bool
Returns the value of subject_to_thresholding
, or the default value if subject_to_thresholding
is unset.
Trait Implementations§
source§impl Clone for ResponseMetaData
impl Clone for ResponseMetaData
source§fn clone(&self) -> ResponseMetaData
fn clone(&self) -> ResponseMetaData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResponseMetaData
impl Debug for ResponseMetaData
source§impl Default for ResponseMetaData
impl Default for ResponseMetaData
source§impl Message for ResponseMetaData
impl Message for ResponseMetaData
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 ResponseMetaData
impl PartialEq for ResponseMetaData
source§fn eq(&self, other: &ResponseMetaData) -> bool
fn eq(&self, other: &ResponseMetaData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResponseMetaData
Auto Trait Implementations§
impl Freeze for ResponseMetaData
impl RefUnwindSafe for ResponseMetaData
impl Send for ResponseMetaData
impl Sync for ResponseMetaData
impl Unpin for ResponseMetaData
impl UnwindSafe for ResponseMetaData
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