Class Info
اطلاعات حاوی داده های اطلاعاتی برای پیکربندی است. ویژگی های آن تعیین می کند که چگونه اطلاعات در Data Studio نمایش داده می شود.
var cc = DataStudioApp.createCommunityConnector();
var config = cc.getConfig();
var 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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["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"]]