CData Python Connector for Google Drive

Build 25.0.9440

MoveResource

Reassigns a file or folder to a new parent directory by updating its list of parent folder IDs.

Input

Name Type Description
Id String The unique identifier of the file or folder in Google Drive that will be moved to a new location.
ParentIds String The unique identifier of the parent folder to assign as the new parent. Items in shared drives must have exactly one parent and can only be moved by users with the 'file organizer' or 'organizer' role.

Result Set Columns

Name Type Description
Success Boolean If the value is 'true', the resource was successfully moved to the specified location. If 'false', the operation failed.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440