-
Notifications
You must be signed in to change notification settings - Fork 213
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: add support for TPC Universes #1333
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, a few optional comments.
@@ -311,6 +317,7 @@ export const PROTOCOL_REGEX = /^(\w*):\/\//; | |||
*/ | |||
export class BigQuery extends Service { | |||
location?: string; | |||
private _universeDomain: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also use:
private _universeDomain: string; | |
#universeDomain: string; |
To make it truly private.
@@ -473,10 +488,18 @@ export class BigQuery extends Service { | |||
}); | |||
} | |||
|
|||
get universeDomain() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: In the future we may want to check via Auth’s universe domain getter; which is async.
Towards internal b/311238858