Method DocsUploadView.setParent
Sets the upload destination to the specified folder. This overrides
setIncludeFolders
to false.
Signature
setParent(parentId: string): DocsUploadView;
Details
Optional |
No |
Final |
No |
Protected |
No |
Static |
No |
Parameters
Name |
Type |
Optional |
Description |
parentId |
string |
No |
|
Returns
DocsUploadView
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.
[null,null,["Last updated 2024-09-17 UTC."],[[["`setParent()` sets the upload destination to a specific folder, identified by its ID."],["This method overrides the `setIncludeFolders` option to `false`, preventing folder uploads."],["It accepts a mandatory `parentId` parameter as a string to specify the target folder."],["The method is a part of the `DocsUploadView` and returns the same object for chaining."]]],[]]