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.').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 (世界標準時間)。"],[[["`OptionBuilder` facilitates the creation of options for `SelectSingle` and `SelectMultiple` elements in Data Studio."],["It provides methods like `setLabel` and `setValue` to define the display text and underlying value of each option."],["These options are then added to `SelectSingle` or `SelectMultiple` components for user interaction within a Data Studio connector."],["Using `OptionBuilder` simplifies the process of creating interactive dropdown menus in your custom connectors."]]],[]]