parents property

List<ParentReference>? parents
getter/setter pair

Collection of parent folders which contain this file.

If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the addParents and removeParents parameters to modify the parents list.

Implementation

core.List<ParentReference>? parents;