Struct google_api_proto::google::analytics::data::v1alpha::PropertyQuota
source · pub struct PropertyQuota {
pub tokens_per_day: Option<QuotaStatus>,
pub tokens_per_hour: Option<QuotaStatus>,
pub concurrent_requests: Option<QuotaStatus>,
pub server_errors_per_project_per_hour: Option<QuotaStatus>,
pub potentially_thresholded_requests_per_hour: Option<QuotaStatus>,
pub tokens_per_project_per_hour: Option<QuotaStatus>,
}
Expand description
Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.
Fields§
§tokens_per_day: Option<QuotaStatus>
Standard Analytics Properties can use up to 200,000 tokens per day; Analytics 360 Properties can use 2,000,000 tokens per day. Most requests consume fewer than 10 tokens.
tokens_per_hour: Option<QuotaStatus>
Standard Analytics Properties can use up to 40,000 tokens per hour; Analytics 360 Properties can use 400,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
concurrent_requests: Option<QuotaStatus>
Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.
server_errors_per_project_per_hour: Option<QuotaStatus>
Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour.
potentially_thresholded_requests_per_hour: Option<QuotaStatus>
Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour. In a batch request, each report request is individually counted for this quota if the request contains potentially thresholded dimensions.
tokens_per_project_per_hour: Option<QuotaStatus>
Analytics Properties can use up to 35% of their tokens per project per hour. This amounts to standard Analytics Properties can use up to 14,000 tokens per project per hour, and Analytics 360 Properties can use 140,000 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
Trait Implementations§
source§impl Clone for PropertyQuota
impl Clone for PropertyQuota
source§fn clone(&self) -> PropertyQuota
fn clone(&self) -> PropertyQuota
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertyQuota
impl Debug for PropertyQuota
source§impl Default for PropertyQuota
impl Default for PropertyQuota
source§impl Message for PropertyQuota
impl Message for PropertyQuota
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 PropertyQuota
impl PartialEq for PropertyQuota
source§fn eq(&self, other: &PropertyQuota) -> bool
fn eq(&self, other: &PropertyQuota) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for PropertyQuota
impl StructuralPartialEq for PropertyQuota
Auto Trait Implementations§
impl Freeze for PropertyQuota
impl RefUnwindSafe for PropertyQuota
impl Send for PropertyQuota
impl Sync for PropertyQuota
impl Unpin for PropertyQuota
impl UnwindSafe for PropertyQuota
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