-
Notifications
You must be signed in to change notification settings - Fork 376
fix(getFiles): add nextPageToken to fields for autoPaginate #2570
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@jjaareet thank you for the contribution! |
ddelgrosso1
added a commit
that referenced
this pull request
Mar 4, 2025
* chore(cleanup)!: Remove teeny-request in favor of gaxios/authclient * remove service class and associated tests * modify service-object and associated sub classes to use storage transport * begin refactoring classes to use storage-transport * finish initial refactor of classes * fix compilation errors * add header to storage-transport.ts * fix service-object unit tests * fix common-util tests * fix acl tests * fix channel tests * fix headers tests * fix iam tests * fix index tests * fix notification tests * remove teeny-request and retry request from deps * fix arguments and urls of create bucket * fix multipart upload urls * fix stream handling in createReadStream * feat: add ability to configure and utilize soft-delete and restore buckets (#2566) * Adds support for the restore token feature * description fix * lint fix * fetch softDeleted bucket list & details fetch softDeleted bucket list & details * initial commit for bucket restore initial commit for bucket restore * fix missing license headers fix missing license headers * lint fix * test case bug fix * added restore bucket unit test cases * added restore bucket system test added restore bucket system test * lint fix * format format * system test fix * fix * chore(cleanup)!: Remove teeny-request in favor of gaxios/authclient * remove service class and associated tests * modify service-object and associated sub classes to use storage transport * begin refactoring classes to use storage-transport * finish initial refactor of classes * fix compilation errors * add header to storage-transport.ts * fix service-object unit tests * fix common-util tests * fix acl tests * fix channel tests * fix headers tests * fix iam tests * fix index tests * fix notification tests * remove teeny-request and retry request from deps * fix arguments and urls of create bucket * fix multipart upload urls * fix stream handling in createReadStream * fix compilation errors * fix lint issues fix lint issues * test case fix * lint fix lint fix * lint and test case fix lint and test case fixes * chore(main): release 7.15.0 (#2568) * chore(main): release 7.15.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * docs: replace reference docs link with RAD (#2571) * fix bucket tests * fix(getFiles): add nextPageToken to fields for autoPaginate (#2570) * fix storage-transport test * fix file tests * conformance test fix * fix error * fix buffer error * comment failed conformance test * comments addressed * refactoring the storage-transport classes to utilize Promises * chore: fix type errors in build (#2577) * chore: fix type errors in build * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix docs links --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * chore(main): release 7.15.1 (#2573) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * fix license issue --------- Co-authored-by: Denis DelGrosso <[email protected]> Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Daniel B <[email protected]> Co-authored-by: Jarrett <[email protected]> Co-authored-by: Denis DelGrosso <[email protected]>
ddelgrosso1
added a commit
that referenced
this pull request
Mar 13, 2025
* feat: add ability to configure and utilize soft-delete and restore buckets (#2566) * Adds support for the restore token feature * description fix * lint fix * fetch softDeleted bucket list & details fetch softDeleted bucket list & details * initial commit for bucket restore initial commit for bucket restore * fix missing license headers fix missing license headers * lint fix * test case bug fix * added restore bucket unit test cases * added restore bucket system test added restore bucket system test * lint fix * format format * system test fix * chore(main): release 7.15.0 (#2568) * chore(main): release 7.15.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * docs: replace reference docs link with RAD (#2571) * fix(getFiles): add nextPageToken to fields for autoPaginate (#2570) * chore: fix type errors in build (#2577) * chore: fix type errors in build * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix docs links --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * chore(main): release 7.15.1 (#2573) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * fix: export SaveData type from index.ts (#2580) * chore(main): release 7.15.2 (#2581) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * chore: set gcs-sdk-team as CODEOWNERS (#2582) * Set CODEOWNERS as gcs-sdk-team * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update repo metadata with new team * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix broken types causing compilation failures --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Denis DelGrosso <[email protected]> * fix: Improve projectId handling in authentication Improve projectId handling in authentication and resolve issue in patch request * bug fix --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Daniel B <[email protected]> Co-authored-by: Jarrett <[email protected]> Co-authored-by: Denis DelGrosso <[email protected]> Co-authored-by: David Stensland <[email protected]> Co-authored-by: Denis DelGrosso <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: storage
Issues related to the googleapis/nodejs-storage API.
size: s
Pull request size is small.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
bucket.getFiles()
- returns all files as expectedbucket.getFiles({fields: 'items(name)'})
- unexpectedly returns only 1,000 filesi noticed that
autoPaginate
andfields
do not play nicely together unlessnextPageToken
is added tofields
. hoping to prevent someone else from banging their head on that wall with this changeedit: sorry for the force push after requesting review, just noticed a typo in the commit message