-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit 8e99478
Add 2nd-gen YouTube Sample (#1220)
* feat: Add 2nd-gen YouTube sample to Node folder
This commit introduces a new 2nd-gen Cloud Function sample for YouTube, located in the `Node/youtube` directory. This sample is the TypeScript equivalent of the existing 1st-gen sample in `Node-1st-gen/youtube`.
Key features of this new sample include:
- Use of 2nd-gen Cloud Functions.
- Written in TypeScript, leveraging Node 22's optional type stripping.
- Implements a secret parameter for the YouTube API key, enhancing security.
- Provides a clear and updated README.md with instructions for setup and deployment.
* feat: Add 2nd-gen YouTube sample to Node folder
This commit introduces a new 2nd-gen Cloud Function sample for YouTube, located in the `Node/youtube` directory. This sample is the TypeScript equivalent of the existing 1st-gen sample in `Node-1st-gen/youtube`.
Key features of this new sample include:
- Use of 2nd-gen Cloud Functions.
- Written in TypeScript, leveraging Node 22's optional type stripping.
- Implements a secret parameter for the YouTube API key, enhancing security.
- Provides a clear and updated README.md with instructions for setup and deployment.
* remove lint command
* feat: Add 2nd-gen YouTube sample to Node folder
This commit introduces a new 2nd-gen Cloud Function sample for YouTube, located in the `Node/youtube` directory. This sample is the TypeScript equivalent of the existing 1st-gen sample in `Node-1st-gen/youtube`.
Key features of this new sample include:
- Use of 2nd-gen Cloud Functions.
- Written in TypeScript, leveraging Node 22's optional type stripping.
- Implements a secret parameter for the YouTube API key, enhancing security.
- Provides a clear and updated README.md with instructions for setup and deployment.
* add built assets to gitignore
* re-run bootstrap
* fix functions version
* fix tsconfig
* remove final references to package capitalize-sentence package
* run npm update
* try again
* restore files to match main
* fix compile (don't actually emit any files now that we're using type stripping)
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Jeff Huleatt <[email protected]>1 parent 540834f commit 8e99478Copy full SHA for 8e99478
File tree
Expand file treeCollapse file tree
7 files changed
+3129
-10219
lines changedFilter options
- Node
- youtube
- functions
Expand file treeCollapse file tree
7 files changed
+3129
-10219
lines changed
0 commit comments