Enum DeveloperMetadataVisibility
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
डेवलपरमेटाडेटाविज़िबिलिटी
डेवलपर मेटाडेटा की अलग-अलग तरह की विज़िबिलिटी की जानकारी.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
SpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
DOCUMENT | Enum | दस्तावेज़ में दिखने वाले मेटाडेटा को, दस्तावेज़ का ऐक्सेस रखने वाले किसी भी डेवलपर प्रोजेक्ट से ऐक्सेस किया जा सकता है. |
PROJECT | Enum | प्रोजेक्ट के लिए दिखने वाला मेटाडेटा, सिर्फ़ उस डेवलपर प्रोजेक्ट को दिखता है और उसे ऐक्सेस कर सकता है जिसने मेटाडेटा बनाया है. प्रोजेक्ट में दिखने वाले डेवलपर मेटाडेटा का इस्तेमाल, सुरक्षा के तरीके के तौर पर या गोपनीय जानकारी सेव करने के लिए न करें. यह उन उपयोगकर्ताओं को दिख सकता है जिनके पास दस्तावेज़ को देखने का ऐक्सेस है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eDeveloperMetadataVisibility\u003c/code\u003e is used to define the visibility of developer metadata within a Google document.\u003c/p\u003e\n"],["\u003cp\u003eThere are two visibility types: \u003ccode\u003eDOCUMENT\u003c/code\u003e which allows any developer project with document access to view the metadata, and \u003ccode\u003ePROJECT\u003c/code\u003e which limits visibility to the creating project only.\u003c/p\u003e\n"],["\u003cp\u003eMetadata visibility should not be used for security purposes or to hide sensitive information, as it can be accessed by users with viewing permissions.\u003c/p\u003e\n"]]],["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"],null,["# Enum DeveloperMetadataVisibility\n\nDeveloperMetadataVisibility\n\nAn enumeration of the types of developer metadata visibility.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT`. \n\n### Properties\n\n| Property | Type | Description |\n|------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `DOCUMENT` | `Enum` | Document-visible metadata is accessible from any developer project with access to the document. |\n| `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. |"]]