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를 설정합니다.
매개변수
이름 | 유형 | 설명 |
id | String | 설정할 ID입니다. |
리턴
Info
: 체이닝을 위한 이 빌더
setText(text)
이 구성 항목의 텍스트를 설정합니다.
매개변수
이름 | 유형 | 설명 |
text | String | 설정할 텍스트입니다. |
리턴
Info
: 체이닝을 위한 이 빌더
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],["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"]]