KEMBAR78
docs(option): add warning about externally-provided credentials by quartzmo · Pull Request #2978 · googleapis/google-api-go-client · GitHub
Skip to content

Conversation

@quartzmo
Copy link
Member

@quartzmo quartzmo commented Jan 23, 2025

@quartzmo quartzmo requested a review from a team as a code owner January 23, 2025 20:34
// external sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
//
// Deprecated: Use WithCredentialsFile instead.
func WithServiceAccountFile(filename string) ClientOption {

Choose a reason for hiding this comment

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

does this method accept only service account or any file?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is a deprecated method. It was probably deprecated because the name was too limited. It now delegates to WithCredentialsFile.

Choose a reason for hiding this comment

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

Got it

@quartzmo quartzmo merged commit 45c3513 into googleapis:main Jan 23, 2025
4 checks passed
@quartzmo quartzmo deleted the option-warning branch January 23, 2025 22:49
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.

3 participants