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)
הגדרת המזהה הייחודי של רשומת התצורה הזו.
פרמטרים
שם | סוג | תיאור |
id | String | המזהה שרוצים להגדיר. |
חזרה
Info
– ה-builder הזה, לשרשור.
setText(text)
הגדרת הטקסט של רשומת התצורה הזו.
פרמטרים
שם | סוג | תיאור |
text | String | הטקסט שרוצים להגדיר. |
חזרה
Info
– ה-builder הזה, לשרשור.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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"]]