Struct google_api_proto::google::analytics::data::v1beta::AudienceExport
source · pub struct AudienceExport {
pub name: String,
pub audience: String,
pub audience_display_name: String,
pub dimensions: Vec<AudienceDimension>,
pub state: Option<i32>,
pub begin_creating_time: Option<Timestamp>,
pub creation_quota_tokens_charged: i32,
pub row_count: Option<i32>,
pub error_message: Option<String>,
pub percentage_completed: Option<f64>,
}
Expand description
An audience export is a list of users in an audience at the time of the list’s creation. One audience may have multiple audience exports created for different days.
Fields§
§name: String
Output only. Identifier. The audience export resource name assigned during
creation. This resource name identifies this AudienceExport
.
Format: properties/{property}/audienceExports/{audience_export}
audience: String
Required. The audience resource name. This resource name identifies the audience being listed and is shared between the Analytics Data & Admin APIs.
Format: properties/{property}/audiences/{audience}
audience_display_name: String
Output only. The descriptive display name for this audience. For example, “Purchasers”.
dimensions: Vec<AudienceDimension>
Required. The dimensions requested and displayed in the query response.
state: Option<i32>
Output only. The current state for this AudienceExport.
begin_creating_time: Option<Timestamp>
Output only. The time when CreateAudienceExport was called and the
AudienceExport began the CREATING
state.
creation_quota_tokens_charged: i32
Output only. The total quota tokens charged during creation of the
AudienceExport. Because this token count is based on activity from the
CREATING
state, this tokens charged will be fixed once an AudienceExport
enters the ACTIVE
or FAILED
states.
row_count: Option<i32>
Output only. The total number of rows in the AudienceExport result.
error_message: Option<String>
Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.
percentage_completed: Option<f64>
Output only. The percentage completed for this audience export ranging between 0 to 100.
Implementations§
source§impl AudienceExport
impl AudienceExport
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn row_count(&self) -> i32
pub fn row_count(&self) -> i32
Returns the value of row_count
, or the default value if row_count
is unset.
sourcepub fn error_message(&self) -> &str
pub fn error_message(&self) -> &str
Returns the value of error_message
, or the default value if error_message
is unset.
sourcepub fn percentage_completed(&self) -> f64
pub fn percentage_completed(&self) -> f64
Returns the value of percentage_completed
, or the default value if percentage_completed
is unset.
Trait Implementations§
source§impl Clone for AudienceExport
impl Clone for AudienceExport
source§fn clone(&self) -> AudienceExport
fn clone(&self) -> AudienceExport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AudienceExport
impl Debug for AudienceExport
source§impl Default for AudienceExport
impl Default for AudienceExport
source§impl Message for AudienceExport
impl Message for AudienceExport
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 AudienceExport
impl PartialEq for AudienceExport
source§fn eq(&self, other: &AudienceExport) -> bool
fn eq(&self, other: &AudienceExport) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudienceExport
Auto Trait Implementations§
impl Freeze for AudienceExport
impl RefUnwindSafe for AudienceExport
impl Send for AudienceExport
impl Sync for AudienceExport
impl Unpin for AudienceExport
impl UnwindSafe for AudienceExport
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