View Source GoogleApi.BigQuery.V2.Model.ExternalServiceCost (google_api_big_query v0.79.0)

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.

Attributes

  • bytesBilled (type: String.t, default: nil) - External service cost in terms of bigquery bytes billed.
  • bytesProcessed (type: String.t, default: nil) - External service cost in terms of bigquery bytes processed.
  • externalService (type: String.t, default: nil) - External service name.
  • reservedSlotCount (type: String.t, default: nil) - 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.
  • slotMs (type: String.t, default: nil) - External service cost in terms of bigquery slot milliseconds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.ExternalServiceCost{
  bytesBilled: String.t() | nil,
  bytesProcessed: String.t() | nil,
  externalService: String.t() | nil,
  reservedSlotCount: String.t() | nil,
  slotMs: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.