-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
size: sPull request size is small.Pull request size is small.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
Please make sure you have searched for information in the following guides.
- Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
- Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
- Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
- Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
- Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
- Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples
Documentation Request
The npm docs at: https://www.npmjs.com/package/googleapis#oauth2-client
say to use the googleapi oauth client like:
const oauth2Client = new google.auth.OAuth2( YOUR_CLIENT_ID, YOUR_CLIENT_SECRET, YOUR_REDIRECT_URL );
But in VS code that is marked as deprecated in the types, in favor of using a config object. Maybe the docs on npm need to be updated?
Also, your checklist before submitting an issue says to go to this url:
https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
But when I went there I got a 404.
I also got a 404 for this FAQ link:
https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
At this URL they show using the config object. Maybe link to this from the npm docs?
Metadata
Metadata
Assignees
Labels
size: sPull request size is small.Pull request size is small.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.