Enum DeveloperMetadataVisibility
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
DeveloperMetadataVisibility
Bảng liệt kê các loại chế độ hiển thị siêu dữ liệu dành cho nhà phát triển.
Để gọi một enum, bạn phải gọi lớp, tên và thuộc tính gốc của lớp đó. Ví dụ:
SpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT.
Thuộc tính
Tài sản
Loại
Nội dung mô tả
DOCUMENT
Enum
Bạn có thể truy cập siêu dữ liệu hiển thị tài liệu từ bất kỳ dự án nhà phát triển nào có quyền truy cập vào tài liệu đó.
PROJECT
Enum
Chỉ dự án nhà phát triển đã tạo siêu dữ liệu mới có thể xem và truy cập siêu dữ liệu hiển thị trong dự án. Không sử dụng siêu dữ liệu dành cho nhà phát triển hiển thị về dự án làm cơ chế bảo mật hoặc để lưu trữ khoá bí mật. Người dùng có quyền xem tài liệu có thể xem tệp.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-04-13 UTC."],[],["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"]]