구성에 관한 일부 정보를 포함합니다. 이 속성에 따라 선택한 단일 항목이 데이터 스튜디오에 표시되는 방식이 결정됩니다.
constcc=DataStudioApp.createCommunityConnector();constconfig=cc.getConfig();constoption1=config.newOptionBuilder().setLabel('option label').setValue('option_value');constoption2=config.newOptionBuilder().setLabel('second option label').setValue('option_value_2');constinfo1=config.newSelectSingle().setId('api_endpoint').setName('Data Type').setHelpText('Select the data type you\'re interested in.').setAllowOverride(true).addOption(option1).addOption(option2);
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-22(UTC)"],[[["`SelectSingle` defines how a single-select dropdown menu appears and functions within a Data Studio configuration."],["It allows developers to specify options, help text, and behavior such as allowing users to override the selection."],["Methods like `addOption`, `setAllowOverride`, `setHelpText`, `setId`, `setIsDynamic`, and `setName` are used to configure the dropdown's attributes and functionality."],["Each method returns the `SelectSingle` object itself, enabling chained method calls for streamlined configuration."]]],["`SelectSingle` configures how a single selection is displayed in Data Studio. Key actions include adding options via `addOption`, enabling overrides with `setAllowOverride`, setting help text via `setHelpText`, defining a unique `id` with `setId`, specifying dynamic status using `setIsDynamic`, and setting the display `name` with `setName`. Each method returns the `SelectSingle` builder, enabling method chaining. This config determines the available choices and how users interact with the select field in Data Studio.\n"]]