GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — "maximumBillingTier" missing in BigQuery · Issue #2012 · googleapis/google-cloud-java

"maximumBillingTier" missing in BigQuery #2012

New issue
Copy link
New issue
Copy link
Closed
#2044
Closed
"maximumBillingTier" missing in BigQuery#2012
#2044
Copy link
Assignees
garrettjonesgoogle
Labels
api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
BigQuery GA

Description

@polleyg
polleyg
opened on Apr 27, 2017
Issue body actions

The Java client library is missing the maximumBillingTier from the BigQuery rest API. There's no way in the SDK to set it on a per-query level for a query job configuration.

See here --> http://stackoverflow.com/questions/43647678/where-is-the-option-to-set-the-bigquery-maximum-billing-tier-in-the-new-java-sdk

And here --> https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.maximumBillingTier

It's available in the Python SDK, but not in the Java one. We need to be able to set this at a query level - we do not want to set it project wide.

The only workaround I see to this, is rolling back to the old version of the Java libs (the old version does expose/provide it), which is obviously a massive headache for us.

Activity

  1. polleyg
    changed the title [-]"maimumBillingTier" missing in BigQuery[/-] [+]"maximumBillingTier" missing in BigQuery[/+] on Apr 27, 2017
  2. garrettjonesgoogle
    added
    api: bigqueryIssues related to the BigQuery API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Apr 28, 2017
  3. rborer commented on May 4, 2017

    @rborer
    rborer
    on May 4, 2017
    More actions

    This parameter does not seems to be available from the BigQuery api services library so I couldn't figure out a way to pass it from here.

    @garrettjonesgoogle what is the process to add this parameter from the api services library? Once there, I can work on a PR :-)

    Reacted by Axel Angel
  4. garrettjonesgoogle commented on May 4, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on May 4, 2017
    Contributor
    More actions

    @saicheems is this just pending a refresh?

  5. saicheems commented on May 4, 2017

    @saicheems
    saicheems
    on May 4, 2017
    More actions

    I checked, the (old) Java client library is up to date.

    In the discovery file, maximumBillingTier is a property of the JobConfigurationQuery schema.

    That schema's definition is here in the Google API Java client:
    https://developers.google.com/resources/api-libraries/documentation/bigquery/v2/java/latest/com/google/api/services/bigquery/model/JobConfigurationQuery.html#setMaximumBillingTier(java.lang.Integer)

    Is that what you're looking for? I'm not familiar with the BigQuery API itself, so please let me know if I've got the wrong context.

  6. saicheems commented on May 4, 2017

    @saicheems
    saicheems
    on May 4, 2017
    More actions

    The nesting is Job->JobConfiguration->JobConfigurationQuery->setMaximumBillingTier

    Reacted by Graham Polley
  7. saicheems commented on May 4, 2017

    @saicheems
    saicheems
    on May 4, 2017
    More actions

    @polleyg I believe it's still missing from gcloud-java though, it'll have to be added, I was referring to the old Java client library above.

  8. polleyg commented on May 4, 2017

    @polleyg
    polleyg
    on May 4, 2017
    Author
    More actions

    @saicheems yeah, I know. That what this issue is all about. It's in the old lib, but not the new one ;-)

    Reacted by Sai Cheemalapati
  9. polleyg commented on May 4, 2017

    @polleyg
    polleyg
    on May 4, 2017
    Author
    More actions

    @rborer - here it is in the old lib

  10. rborer commented on May 5, 2017

    @rborer
    rborer
    on May 5, 2017
    More actions

    @polleyg thanks for the link, I'll spend a bit of time to dig down in the code with this new information. Anyway, I'm being a bit confused now, is this "old lib" what is used by the BigQuery client internally?

  11. shinfan
    added this to the BigQuery GA milestone on May 8, 2017
  12. rborer
    added a commit that references this issue on May 9, 2017

    BigQuery: add maximumBillingTier option

    This issue will close once commit f436651 is merged into the 'master' branch.
    f436651
  13. rborer commented on May 9, 2017

    @rborer
    rborer
    on May 9, 2017
    More actions

    I gave a try into #2044. If I understand the client correctly, I cannot use BigQuery.query(QueryRequest request) method but I have to use BigQuery.create(JobInfo jobInfo, JobOption... options) method so I can pass a QueryJobConfiguration instance?

  14. tcoffee-google
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 22, 2017
  15. garrettjonesgoogle
    closed this as completedin #2044on Jun 2, 2017
  16. JustinBeckwith
    assigned
    garrettjonesgoogle
    on Feb 1, 2021
  17. chingor13
    added a commit that references this issue on Jan 22, 2026

    deps: update googleapis/sdk-platform-java action to v2.64.2 (#2012)

    3ad3168
  18. chingor13
    added 2 commits that reference this issue on Feb 20, 2026

    deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    0651aa6

    chore(main): release 2.33.1 (#2026)

    7a95553
  19. lqiu96
    added a commit that references this issue on Mar 20, 2026

    deps: update googleapis/sdk-platform-java action to v2.64.2 (#2012)

    f5499d7
  20. meltsufin
    added 7 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    811d0e6

    chore(main): release 1.129.3 (#2013)

    54aca99

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    b9acea1

    chore(main): release 1.129.3 (#2013)

    f7c7f4f

    chore(main): release 1.133.0 (#2206)

    1180af9

    deps: update googleapis/sdk-platform-java action to v2.53.0 (#2012)

    9369f87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    • BigQuery GA

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.