Skip to content
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

enhancement: Enables support for shared google drives #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bot-Dev-RPA
Copy link

@Bot-Dev-RPA Bot-Dev-RPA commented Nov 30, 2024

What changes are being made and why?

closes #170

  • Added: setSupportsAllDrives(true) and setIncludeItemsFromAllDrives(true) to the Drive:List action.
    This ensures that the list action retrieves files from all drives, not just the user's Google Drive.

  • Replaced: Deprecated setSupportsTeamDrives(true) with the recommended

setSupportsAllDrives(true).


How the changes have been QAed?

id: googleworkspace_drive_list
namespace: company.team

tasks:
  - id: list
    type: io.kestra.plugin.googleworkspace.drive.List
    query: |
      mimeType = 'application/vnd.google-apps.folder'
      and '1z2GZgLEX12BN9zbVE6TodrCHyTRMj_ka' in parents

Added:
setSupportsAllDrives(true) to Drive:List , This will ensure list action lists file from all drives, not just own google drive.

Replaced:
setSupportsTeamDrives is marked as deprecated, used the suggested replacement: setSupportsAllDrives
@Bot-Dev-RPA Bot-Dev-RPA changed the title enhancement: Support listing files from all drives enhancement: Enables support for shared google drives Nov 30, 2024
@Bot-Dev-RPA
Copy link
Author

@loicmathieu This should be an easy merge, toggling flag to support all drives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

The List doesn't work on Shared Drives
1 participant