All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.ExternalServiceCost.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version






ExternalServiceCost (BigQuery API v2-rev20240905-2.0.0)












com.google.api.services.bigquery.model

Class ExternalServiceCost

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ExternalServiceCost
    extends com.google.api.client.json.GenericJson
    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.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ExternalServiceCost

        public ExternalServiceCost()
    • Method Detail

      • getBytesBilled

        public Long getBytesBilled()
        External service cost in terms of bigquery bytes billed.
        Returns:
        value or null for none
      • setBytesBilled

        public ExternalServiceCost setBytesBilled(Long bytesBilled)
        External service cost in terms of bigquery bytes billed.
        Parameters:
        bytesBilled - bytesBilled or null for none
      • getBytesProcessed

        public Long getBytesProcessed()
        External service cost in terms of bigquery bytes processed.
        Returns:
        value or null for none
      • setBytesProcessed

        public ExternalServiceCost setBytesProcessed(Long bytesProcessed)
        External service cost in terms of bigquery bytes processed.
        Parameters:
        bytesProcessed - bytesProcessed or null for none
      • getExternalService

        public String getExternalService()
        External service name.
        Returns:
        value or null for none
      • setExternalService

        public ExternalServiceCost setExternalService(String externalService)
        External service name.
        Parameters:
        externalService - externalService or null for none
      • getReservedSlotCount

        public Long getReservedSlotCount()
        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.
        Returns:
        value or null for none
      • setReservedSlotCount

        public ExternalServiceCost setReservedSlotCount(Long reservedSlotCount)
        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.
        Parameters:
        reservedSlotCount - reservedSlotCount or null for none
      • getSlotMs

        public Long getSlotMs()
        External service cost in terms of bigquery slot milliseconds.
        Returns:
        value or null for none
      • setSlotMs

        public ExternalServiceCost setSlotMs(Long slotMs)
        External service cost in terms of bigquery slot milliseconds.
        Parameters:
        slotMs - slotMs or null for none
      • clone

        public ExternalServiceCost clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy