-
Notifications
You must be signed in to change notification settings - Fork 499
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(services/gdrive): Support shared drives in Google Drive API integration #4591
base: main
Are you sure you want to change the base?
Conversation
Thanks a lot for sending this PR! We don't have the environment to test this change. Would you like to perform the integration tests locally and post the results? The docs can be found at: https://github.com/apache/opendal/tree/main/core/tests/behavior. Our CI scripts are at opendal/.github/actions/test_behavior_core/action.yaml Lines 39 to 46 in acf8a31
|
I apologize for the inconvenience, but unfortunately I also don't have access to a Google Shared Drive environment as it requires a business subscription. Is there any way you could provide some assistance or suggest an alternative solution? |
I can run the tests, once I figure out how to do it correctly I created the .env file and set the values for gdrive, but when I ran the test I got the "scheme is not enabled or supported" error |
Hi, please try |
That worked. But, the tests are running on "My Drive" and not on the shared drive I did add a new variable to .env named |
I got it. So it doesn't work if we only change the |
|
close #4576
This PR introduces the capability to work with shared drives in our Google Drive API integration by handling the driveId parameter. This change enables users to specify a shared drive ID that will be used in API requests, allowing operations to be performed on shared drives.
Changes:
Documentation Reference:
For more information on enabling shared drives, see the official Google documentation: Enabling Shared Drives
Impact:
This enhancement allows our application to interact not just with user-specific drives but also with shared drives, broadening our application's scope in collaborative environments.