Skip to content

fix(bqjdbc): add Google Driver scope to all credential types#12847

Merged
Neenu1995 merged 12 commits intomainfrom
ns/fix-driver-scope
Apr 21, 2026
Merged

fix(bqjdbc): add Google Driver scope to all credential types#12847
Neenu1995 merged 12 commits intomainfrom
ns/fix-driver-scope

Conversation

@Neenu1995
Copy link
Copy Markdown
Contributor

@Neenu1995 Neenu1995 commented Apr 17, 2026

b/500748880

@Neenu1995 Neenu1995 requested review from a team as code owners April 17, 2026 23:26
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the handling of the RequestGoogleDriveScope property in BigQueryJdbcOAuthUtility. The property is now processed globally and applied across all credential types, including Service Account, User Account, Pre-generated tokens, Application Default Credentials, and External Account authentication. The implementation standardizes the logic for adding the Google Drive read-only scope using boolean string checks and includes corresponding test updates. Feedback was provided regarding the duplication of hardcoded scope lists across multiple methods, suggesting they be moved to a shared utility class for better maintainability.

Comment thread java-iam-policy/.repo-metadata.json
@Neenu1995 Neenu1995 merged commit 5c890f8 into main Apr 21, 2026
114 of 115 checks passed
@Neenu1995 Neenu1995 deleted the ns/fix-driver-scope branch April 21, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants