Enums | |
---|---|
DEFAULT |
The visibility of the new file is determined by the user's default visibility/sharing policies. |
PRIVATE |
The new file will be visible to only the owner. |
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-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["The `DEFAULT` enum uses the user's pre-existing visibility settings to determine who can access a newly generated file."],["When `PRIVATE` is selected, the newly created file remains exclusively accessible to the file owner."]]],["The document defines two visibility settings for new files. `DEFAULT` uses the user's preset visibility and sharing settings. `PRIVATE` restricts file access exclusively to the owner. These are the only two options.\n"]]