Class Info
जानकारी
इसमें कॉन्फ़िगरेशन के लिए जानकारी का डेटा होता है. इसकी प्रॉपर्टी से यह तय होता है कि Data Studio में जानकारी कैसे दिखेगी.
const cc = DataStudioApp.createCommunityConnector();
const config = cc.getConfig();
const info1 = config.newInfo().setId('info1').setText(
'This text gives some context on the configuration.');
तरीके
तरीका | रिटर्न टाइप | संक्षिप्त विवरण |
setId(id) | Info | इस कॉन्फ़िगरेशन एंट्री के लिए यूनीक आईडी सेट करता है. |
setText(text) | Info | इस कॉन्फ़िगरेशन एंट्री के लिए टेक्स्ट सेट करता है. |
ज़्यादा जानकारी वाला दस्तावेज़
setId(id)
इस कॉन्फ़िगरेशन एंट्री के लिए यूनीक आईडी सेट करता है.
पैरामीटर
नाम | टाइप | ब्यौरा |
id | String | सेट किया जाने वाला आईडी. |
वापसी का टिकट
Info
— यह बिल्डर, चेन करने के लिए है.
setText(text)
इस कॉन्फ़िगरेशन एंट्री के लिए टेक्स्ट सेट करता है.
पैरामीटर
नाम | टाइप | ब्यौरा |
text | String | सेट किया जाने वाला टेक्स्ट. |
वापसी का टिकट
Info
— यह बिल्डर, चेन करने के लिए है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-22 (UTC) को अपडेट किया गया."],[[["The `Info` object stores configuration data that influences how information is displayed in Data Studio."],["Developers can utilize the `setId` and `setText` methods to define the unique identifier and descriptive text for a configuration entry within the `Info` object."],["The `Info` object uses a builder pattern, allowing developers to chain methods together for streamlined configuration."]]],["The `Info` object, part of a Data Studio Community Connector configuration, displays information. `setId(id)` assigns a unique string ID, crucial for identifying the configuration entry. `setText(text)` sets the string text content to be displayed. Both methods return the `Info` object itself, allowing for method chaining. These actions allow for defining and displaying context within the Data Studio configuration.\n"]]