Method DocsView.setParent
Sets the initial parent folder to display.
Don't combine this setting with setEnableDrives
or setFileIds
. Calls to
this function override previous calls to setEnableDrives
or setFileIds
.
Signature
setParent(parentId: string): View;
Details
Optional |
No |
Final |
No |
Protected |
No |
Static |
No |
Parameters
Name |
Type |
Optional |
Description |
parentId |
string |
No |
|
Returns
View
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 2025-03-26 UTC.
[null,null,["Last updated 2025-03-26 UTC."],[],[]]