Struct gapi_grpc::google::analytics::data::v1beta::beta_analytics_data_client::BetaAnalyticsDataClient[][src]

pub struct BetaAnalyticsDataClient<T> { /* fields omitted */ }

Google Analytics reporting data service.

Implementations

impl BetaAnalyticsDataClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> BetaAnalyticsDataClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn run_report(
    &mut self,
    request: impl IntoRequest<RunReportRequest>
) -> Result<Response<RunReportResponse>, Status>
[src]

Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name.

pub async fn run_pivot_report(
    &mut self,
    request: impl IntoRequest<RunPivotReportRequest>
) -> Result<Response<RunPivotReportResponse>, Status>
[src]

Returns a customized pivot report of your Google Analytics event data. Pivot reports are more advanced and expressive formats than regular reports. In a pivot report, dimensions are only visible if they are included in a pivot. Multiple pivots can be specified to further dissect your data.

pub async fn batch_run_reports(
    &mut self,
    request: impl IntoRequest<BatchRunReportsRequest>
) -> Result<Response<BatchRunReportsResponse>, Status>
[src]

Returns multiple reports in a batch. All reports must be for the same GA4 Property.

pub async fn batch_run_pivot_reports(
    &mut self,
    request: impl IntoRequest<BatchRunPivotReportsRequest>
) -> Result<Response<BatchRunPivotReportsResponse>, Status>
[src]

Returns multiple pivot reports in a batch. All reports must be for the same GA4 Property.

pub async fn get_metadata(
    &mut self,
    request: impl IntoRequest<GetMetadataRequest>
) -> Result<Response<Metadata>, Status>
[src]

Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified in the request, and the metadata response includes Custom dimensions and metrics as well as Universal metadata.

For example if a custom metric with parameter name levels_unlocked is registered to a property, the Metadata response will contain customEvent:levels_unlocked. Universal metadata are dimensions and metrics applicable to any property such as country and totalUsers.

pub async fn run_realtime_report(
    &mut self,
    request: impl IntoRequest<RunRealtimeReportRequest>
) -> Result<Response<RunRealtimeReportResponse>, Status>
[src]

The Google Analytics Realtime API returns a customized report of realtime event data for your property. These reports show events and usage from the last 30 minutes.

Trait Implementations

impl<T: Clone> Clone for BetaAnalyticsDataClient<T>[src]

impl<T> Debug for BetaAnalyticsDataClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for BetaAnalyticsDataClient<T>

impl<T> Send for BetaAnalyticsDataClient<T> where
    T: Send

impl<T> Sync for BetaAnalyticsDataClient<T> where
    T: Sync

impl<T> Unpin for BetaAnalyticsDataClient<T> where
    T: Unpin

impl<T> !UnwindSafe for BetaAnalyticsDataClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]