Struct google_api_proto::google::cloud::bigquery::v2::ExternalServiceCost
source · pub struct ExternalServiceCost {
pub external_service: String,
pub bytes_processed: Option<i64>,
pub bytes_billed: Option<i64>,
pub slot_ms: Option<i64>,
pub reserved_slot_count: i64,
}
Expand description
The external service cost is a portion of the total cost, these costs are not additive with total_bytes_billed. Moreover, this field only track external service costs that will show up as BigQuery costs (e.g. training BigQuery ML job with google cloud CAIP or Automl Tables services), not other costs which may be accrued by running the query (e.g. reading from Bigtable or Cloud Storage). The external service costs with different billing sku (e.g. CAIP job is charged based on VM usage) are converted to BigQuery billed_bytes and slot_ms with equivalent amount of US dollars. Services may not directly correlate to these metrics, but these are the equivalents for billing purposes. Output only.
Fields§
§external_service: String
External service name.
bytes_processed: Option<i64>
External service cost in terms of bigquery bytes processed.
bytes_billed: Option<i64>
External service cost in terms of bigquery bytes billed.
slot_ms: Option<i64>
External service cost in terms of bigquery slot milliseconds.
reserved_slot_count: i64
Non-preemptable reserved slots used for external job. For example, reserved slots for Cloua AI Platform job are the VM usages converted to BigQuery slot with equivalent mount of price.
Trait Implementations§
source§impl Clone for ExternalServiceCost
impl Clone for ExternalServiceCost
source§fn clone(&self) -> ExternalServiceCost
fn clone(&self) -> ExternalServiceCost
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExternalServiceCost
impl Debug for ExternalServiceCost
source§impl Default for ExternalServiceCost
impl Default for ExternalServiceCost
source§impl Message for ExternalServiceCost
impl Message for ExternalServiceCost
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 ExternalServiceCost
impl PartialEq for ExternalServiceCost
source§fn eq(&self, other: &ExternalServiceCost) -> bool
fn eq(&self, other: &ExternalServiceCost) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExternalServiceCost
Auto Trait Implementations§
impl Freeze for ExternalServiceCost
impl RefUnwindSafe for ExternalServiceCost
impl Send for ExternalServiceCost
impl Sync for ExternalServiceCost
impl Unpin for ExternalServiceCost
impl UnwindSafe for ExternalServiceCost
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