Enum DeveloperMetadataVisibility
DeveloperMetadataVisibility
An enumeration of the types of developer metadata visibility.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT
.
Properties
Property | Type | Description |
DOCUMENT | Enum | Document-visible metadata is accessible from any developer project with access to the document. |
PROJECT | Enum | Project-visible metadata is only visible to and accessible by the developer project that
created the metadata. Do not use project-visible developer metadata as a security mechanism or
to store secrets. It can be exposed to users with view access to the document. |
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-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`DeveloperMetadataVisibility` is used to define the visibility of developer metadata within a Google document."],["There are two visibility types: `DOCUMENT` which allows any developer project with document access to view the metadata, and `PROJECT` which limits visibility to the creating project only."],["Metadata visibility should not be used for security purposes or to hide sensitive information, as it can be accessed by users with viewing permissions."]]],[]]