Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT.
Właściwości
Właściwość
Typ
Opis
DOCUMENT
Enum
Metadane widoczne w dokumencie są dostępne z poziomu dowolnego projektu dewelopera, który ma dostęp do dokumentu.
PROJECT
Enum
Metadane widoczne w projekcie są widoczne i dostępne tylko dla projektu dewelopera, który je utworzył. Nie używaj metadanych dewelopera widocznych w projekcie jako mechanizmu bezpieczeństwa ani do przechowywania obiektów tajnych. Może być widoczny dla użytkowników z dostępem do wyświetlania dokumentu.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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."]]],["Developer metadata visibility is categorized into two types: `DOCUMENT` and `PROJECT`. `DOCUMENT`-visible metadata can be accessed by any developer project with document access. `PROJECT`-visible metadata is restricted to the creating project. Project metadata should not be used for security or storing secrets, as it can be exposed to users with view access to the document. The way to use these properties is by referencing `SpreadsheetApp.DeveloperMetadataVisibility`.\n"]]