-
Notifications
You must be signed in to change notification settings - Fork 50
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(gengapic): add universe domain support #1452
Conversation
quartzmo
commented
Jan 19, 2024
- upgrade showcase google.golang.org/api to v0.157.0
Similar to googleapis/google-api-go-client#2335 |
p(" internaloption.WithDefaultEndpointTemplate(%q),", generateDefaultEndpointTemplate(host)) | ||
p(" internaloption.WithDefaultMTLSEndpoint(%q),", generateDefaultMTLSEndpoint(host)) | ||
p(" internaloption.WithDefaultUniverseDomain(%q),", googleDefaultUniverse) |
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.
Without knowing much how this will ultimately work, do the WithDefaultEndpoint
and WithDefaultMTLSEndpoint
options go away assuming endpoint resolution is done by the middleware?
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.
WithDefaultEndpoint
is already deprecated, and will eventually go away post-transition. WithDefaultMTLSEndpoint
is unaffected by these changes as that auth flow does not support universe domain.
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.
Last question: Are all of the go.mod files updated with the required version of google.golang.org/api to leverage these options?
That must happen first before releasing this code.
Thanks, yes the For example: https://github.com/googleapis/google-cloud-go/blob/main/accessapproval/go.mod#L7 |