IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

AddParents Method

Adds folders to the list of parents for a file or folder.

Syntax

async googledrive.addParents(resourceId : string, parentIds : string): Promise<void>

Remarks

This method adds one or more folders, specified by ParentIds, to the list of parents for the file or folder specified by ResourceId.

ParentIds should be specified as a comma-separated list of one or more resource Ids.

Note that resources within a shared drive must always have exactly one parent, and that only shared drive members with the "file organizer" or "organizer" roles can move files and folders within a shared drive.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]