-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: allow retrieving all billing accounts and add billing_information column to gcp_project and gcp_organization_project tables #665
base: main
Are you sure you want to change the base?
Conversation
a44aa32
to
8857eda
Compare
Hey @pdecat, could you please resolve the merge conflicts in this PR? Also, is the PR waiting on some discussion? Apologies if I missed any thread. |
8857eda
to
56accc6
Compare
56accc6
to
ba55b7f
Compare
Rebased on main and marked as ready.
Not from my point of view, I just wanted to emphasize that this is somewhat a breaking change. |
@pdecat Can you please describe a bit more in detail what the breaking changes are? What types of queries would be affected? |
This PR changes the table behavior by returning all billing accounts accessible by the connection's credentials (multiple rows). |
@pdecat So if I understand correctly, this PR:
Some questions:
Also, for a future addition, I think we could add a |
Exactly. Forgot about the second breaking change in my previous message.
Good question. The only apparent difference I could find between the two endpoints is that the optional
With this PR, yes. I've just added an example query with results in this PR's description. No need for a separate API call I believe.
👍 |
This is a breaking change, submitted as draft to initiate a discussion.
The rationale of this PR is that a billing account is not tied to a single project.
Without this change, all existing billing accounts cannot be discovered.
Edit: rebased on main so removed comment about what commits to review.
Integration test logs
Logs
Example query results
Results