Class Info
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資訊包含設定資訊資料。其屬性會決定資訊在數據分析中的顯示方式。
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。
參數
回攻員
Info
:這個建構工具可用於鏈結。
setText(text)
設定此設定項目的文字。
參數
回攻員
Info
:這個建構工具可用於鏈結。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["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"],null,[]]